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
On Wed, 2005-07-13 at 20:02 -0400, Ned Ludd wrote:
> On Wed, 2005-07-13 at 18:44 -0400, Kristian Benoit wrote: > > I'm trying to add a new command to ebuild (preconfig) for packages like > > busybox that has to be configured prior to compile and that would be a > > cannot really use USE as it probably have undreads of USE that does not > > yet exist. > > > > That new command would be called between src_unpack and src_compile and > > only if FEATURES contain preconfig. > > What you want already exists. Enable USE=savedconfig > Then add an /etc/busybox/busybox.config > Then merge busybox.
I know that this option exist, but I must either download busybox by myself, make menuconfig by myself and copy it to the right location by myself or ebuild unpack and do the rest by myself. It look pretty much as a patch to me, cause portage cant handle packages that has to be user configured before compile time. What I want is "emerge busybox uclibc vanilla-sources nano". Should unpack only the 3 first packages, show me busybox menuconfig, uclibc menuconfig and vanilla-sources menuconfig and only then perform the rest of the installation as usual (without re-unpacking the 3 packages). And save the configs for futur use. So if my configs does not fit my need, re-emerging busybox with USE=savedconfig should get me the busybox menuconfig back using the previously configured ".config". But anyway, the question is not whether the idea is good or not, but how to get a menuconfig that works within (called from spawn in portage_exec ... called from the user with ebuild or emerge)? Kristian
> Have fun. > > > -- > Ned Ludd <solar@g.o> >
-- gentoo-embedded@g.o mailing list


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