From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EkrpY-0006NF-W9 for garchives@archives.gentoo.org; Fri, 09 Dec 2005 23:39:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jB9NcWr5004539; Fri, 9 Dec 2005 23:38:32 GMT Received: from mail.epproach.net (mail.epproach.net [64.192.56.25]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jB9NcVfc025042 for ; Fri, 9 Dec 2005 23:38:31 GMT Received: (qmail 13403 invoked by uid 210); 9 Dec 2005 18:38:28 -0500 Received: from 64.192.53.34 by mail (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.84/1206. f-prot: 4.5.4/3.16.6. spamassassin: 3.0.4. perlscan: 1.25st. Clear:RC:1(64.192.53.34):. Processed in 0.025643 secs); 09 Dec 2005 23:38:28 -0000 Received: from unknown (HELO montgomery-34.epproach.net) (64.192.53.34) by 0 with SMTP; 9 Dec 2005 18:38:28 -0500 Subject: Re: [gentoo-embedded] Config Busybox From: Ned Ludd To: gentoo-embedded@lists.gentoo.org In-Reply-To: <04B3F587-B959-4731-9352-31AB047594E6@kivasystems.com> References: <04B3F587-B959-4731-9352-31AB047594E6@kivasystems.com> Content-Type: text/plain Organization: Gentoo Linux Date: Fri, 09 Dec 2005 18:38:27 -0500 Message-Id: <1134171507.11589.25.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: f76d002e-93a2-47c1-9c9e-174162b66380 X-Archives-Hash: 6ec27a9630e50c1d42e2f29171635a27 On Fri, 2005-12-09 at 11:55 -0500, Joshua ChaitinPollak wrote: > How do I configure the busybox ebuild? I can't seem to find the info > on the web and the ebuild isn't making much sense to me. Normally users configure busybox via the command line in a meuconfig mode much like the kernel itself. portage/emerge do not go interactive so we made a way for you to provide an additional configuration file for it if the gentoo defaults are not what you're after while using the ebuild. That option is USE='savedconfig' When using savedconfig we bypass the menuconfig and simply copy the config file in place where busybox would look for it. So lets say your using version 1.01.gentoo revision 0 you would do something like this. cd /usr/portage/*/busybox/ ebuild busybox-1.01.ebuid fetch clean unpack cd /var/tmp/portage/busybox-1.01/work/busybox-1.01 make menuconfig # save it mkdir -p /etc/busybox/ cp .config /etc/busybox/ # the above commands are pretty much done only once By default savedconfig looks for these files in this order and stops looking at the first match. /etc/busybox/busybox-1.01-r0.config /etc/busybox/busybox-1.01.config /etc/busybox/busybox.config If one exists it is used in place of any other USE options which the ebuild may of set (ie most all other USE flags become meaningless when savedconfig is enabled) Every time you merge it again in the future when saveconfig is set the ebuild load your config and build the applets and options you defined and save it to /etc/busybox/busybox-$PN-$PR.config file -- Ned Ludd Gentoo Linux -- gentoo-embedded@gentoo.org mailing list