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 ebuild.sh (called from spawn in portage_exec ... called from the user with ebuild or emerge)? Kristian > Have fun. > > > -- > Ned Ludd <[EMAIL PROTECTED]> > -- gentoo-dev@gentoo.org mailing list