public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Config Busybox
@ 2005-12-09 16:55 Joshua ChaitinPollak
  2005-12-09 23:38 ` Ned Ludd
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua ChaitinPollak @ 2005-12-09 16:55 UTC (permalink / raw
  To: gentoo-embedded

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.

-- 
Joshua ChaitinPollak
Software Engineer
Kiva Systems


-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] Config Busybox
  2005-12-09 16:55 [gentoo-embedded] Config Busybox Joshua ChaitinPollak
@ 2005-12-09 23:38 ` Ned Ludd
  0 siblings, 0 replies; 2+ messages in thread
From: Ned Ludd @ 2005-12-09 23:38 UTC (permalink / raw
  To: gentoo-embedded

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/<dest> 
# 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 <solar@gentoo.org>
Gentoo Linux

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-09 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-09 16:55 [gentoo-embedded] Config Busybox Joshua ChaitinPollak
2005-12-09 23:38 ` Ned Ludd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox