From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qmp2k-0001Cg-4C for garchives@archives.gentoo.org; Fri, 29 Jul 2011 15:32:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1094B21C27B; Fri, 29 Jul 2011 15:31:50 +0000 (UTC) Received: from mail1.nippynetworks.com (mail1.nippynetworks.com [91.220.24.129]) by pigeon.gentoo.org (Postfix) with ESMTP id 6596F21C1FE for ; Fri, 29 Jul 2011 15:31:37 +0000 (UTC) Received: from localhost (mail1.nippynetworks.com [127.0.0.1]) by mail1.nippynetworks.com (Postfix) with ESMTP id 7D41C3402F2 for ; Fri, 29 Jul 2011 16:31:36 +0100 (BST) X-Virus-Scanned: amavisd-new at nippynetworks.com Received: from mail1.nippynetworks.com ([127.0.0.1]) by localhost (mail1.nippynetworks.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qJXpRmUm28+b for ; Fri, 29 Jul 2011 16:31:36 +0100 (BST) Received: from Ed-Wildgooses-MacBook-Pro.local (office.nippynetworks.com [212.69.49.94]) (Authenticated sender: edward@wildgooses.com) by mail1.nippynetworks.com (Postfix) with ESMTPSA id 3E67C3402D5 for ; Fri, 29 Jul 2011 16:31:36 +0100 (BST) Message-ID: <4E32D257.5060002@wildgooses.com> Date: Fri, 29 Jul 2011 16:31:35 +0100 From: Ed W User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] busybox config with openrc References: In-Reply-To: X-TagToolbar-Keys: D20110729163135806 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 87947eaf3437c75c9707c18d1b53655b On 28/07/2011 07:57, Alon Bar-Lev wrote: > On Thu, Jul 28, 2011 at 8:06 AM, Mike Frysinger wrote: >> On Wed, Jul 27, 2011 at 11:36, Alon Bar-Lev wrote: >>> Of course you need to hack the init configuration, as baselayout won't >>> work with busybox's init >> >> i'm not sure i follow. there's no reason that i know of that you cant >> configure busybox's init to work fine with openrc. openrc itself >> doesnt require sysvinit ... just *some* init to execute its soft >> runlevels. >> -mike > > Right. > So as far as I know you cannot install baselayout, and need to write > your own busybox format inittab. > But I may be wrong. I'm using Baselayout2 + OpenRc + Uclibc (latest) here with no special support required. I am currently using udev, but if you examine the Alpine distribution you can find a great example on a fully featured mdev installation I build my basic image using something like: export ROOT=/some/tmp/dir export EMERGE_FLAGS="-vk --newuse --quiet-build" emerge ${EMERGE_FLAGS} baselayout || die "emerge failed" emerge -t ${EMERGE_FLAGS} uclibc busybox e2fsprogs udev || die "emerge failed" A few tweaks on that and you have a bootable image... Note you want a fairly recent busybox because I made a few feature requests to support some of the less common command line options, which of course openrc loves to use... Good luck Ed W