Gentoo Archives: gentoo-embedded

From: Kristian Benoit <kbenoit@×××××××.com>
To: gentoo-embedded@l.g.o
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-embedded] Interactive command
Date: Thu, 14 Jul 2005 05:15:12
Message-Id: 1121317999.5993.27.camel@localhost
In Reply to: Re: [gentoo-embedded] Interactive command by Ned Ludd
1 On Wed, 2005-07-13 at 20:02 -0400, Ned Ludd wrote:
2 > On Wed, 2005-07-13 at 18:44 -0400, Kristian Benoit wrote:
3 > > I'm trying to add a new command to ebuild (preconfig) for packages like
4 > > busybox that has to be configured prior to compile and that would be a
5 > > cannot really use USE as it probably have undreads of USE that does not
6 > > yet exist.
7 > >
8 > > That new command would be called between src_unpack and src_compile and
9 > > only if FEATURES contain preconfig.
10 >
11 > What you want already exists. Enable USE=savedconfig
12 > Then add an /etc/busybox/busybox.config
13 > Then merge busybox.
14
15 I know that this option exist, but I must either download busybox by
16 myself, make menuconfig by myself and copy it to the right location by
17 myself or ebuild unpack and do the rest by myself. It look pretty much
18 as a patch to me, cause portage cant handle packages that has to be user
19 configured before compile time.
20
21 What I want is "emerge busybox uclibc vanilla-sources nano". Should
22 unpack only the 3 first packages, show me busybox menuconfig, uclibc
23 menuconfig and vanilla-sources menuconfig and only then perform the rest
24 of the installation as usual (without re-unpacking the 3 packages). And
25 save the configs for futur use. So if my configs does not fit my need,
26 re-emerging busybox with USE=savedconfig should get me the busybox
27 menuconfig back using the previously configured ".config".
28
29 But anyway, the question is not whether the idea is good or not, but how
30 to get a menuconfig that works within ebuild.sh (called from spawn in
31 portage_exec ... called from the user with ebuild or emerge)?
32
33 Kristian
34
35 > Have fun.
36 >
37 >
38 > --
39 > Ned Ludd <solar@g.o>
40 >
41
42 --
43 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Interactive command Ned Ludd <solar@g.o>