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 <[EMAIL PROTECTED]> Gentoo Linux -- [email protected] mailing list
