From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Config Busybox
Date: Fri, 09 Dec 2005 18:38:27 -0500 [thread overview]
Message-ID: <1134171507.11589.25.camel@localhost> (raw)
In-Reply-To: <04B3F587-B959-4731-9352-31AB047594E6@kivasystems.com>
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
prev parent reply other threads:[~2005-12-09 23:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-09 16:55 [gentoo-embedded] Config Busybox Joshua ChaitinPollak
2005-12-09 23:38 ` Ned Ludd [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1134171507.11589.25.camel@localhost \
--to=solar@gentoo.org \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox