1 |
On Fri, 2005-12-09 at 11:55 -0500, Joshua ChaitinPollak wrote: |
2 |
> How do I configure the busybox ebuild? I can't seem to find the info |
3 |
> on the web and the ebuild isn't making much sense to me. |
4 |
|
5 |
|
6 |
Normally users configure busybox via the command line in a meuconfig |
7 |
mode much like the kernel itself. portage/emerge do not go interactive |
8 |
so we made a way for you to provide an additional configuration file for |
9 |
it if the gentoo defaults are not what you're after while using the |
10 |
ebuild. That option is USE='savedconfig' When using savedconfig we |
11 |
bypass the menuconfig and simply copy the config file in place where |
12 |
busybox would look for it. |
13 |
|
14 |
So lets say your using version 1.01.gentoo revision 0 you would do |
15 |
something like this. |
16 |
|
17 |
cd /usr/portage/*/busybox/ |
18 |
ebuild busybox-1.01.ebuid fetch clean unpack |
19 |
cd /var/tmp/portage/busybox-1.01/work/busybox-1.01 |
20 |
make menuconfig |
21 |
# save it |
22 |
mkdir -p /etc/busybox/ |
23 |
cp .config /etc/busybox/<dest> |
24 |
# the above commands are pretty much done only once |
25 |
|
26 |
By default savedconfig looks for these files in this order and stops |
27 |
looking at the first match. |
28 |
|
29 |
/etc/busybox/busybox-1.01-r0.config |
30 |
/etc/busybox/busybox-1.01.config |
31 |
/etc/busybox/busybox.config |
32 |
|
33 |
If one exists it is used in place of any other USE options which the |
34 |
ebuild may of set (ie most all other USE flags become meaningless when |
35 |
savedconfig is enabled) |
36 |
|
37 |
Every time you merge it again in the future when saveconfig is set the |
38 |
ebuild load your config and build the applets and options you defined |
39 |
and save it to /etc/busybox/busybox-$PN-$PR.config file |
40 |
|
41 |
|
42 |
|
43 |
-- |
44 |
Ned Ludd <solar@g.o> |
45 |
Gentoo Linux |
46 |
|
47 |
-- |
48 |
gentoo-embedded@g.o mailing list |