From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dsw5R-0000lo-VR for garchives@archives.gentoo.org; Thu, 14 Jul 2005 05:16:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6E5G2nG030411; Thu, 14 Jul 2005 05:16:02 GMT Received: from www.opersys.com (opersys.com [64.40.108.71]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6E5DvB0010230; Thu, 14 Jul 2005 05:13:57 GMT Received: from [10.10.10.6] (dsl-135-6.aei.ca [66.36.135.6]) by www.opersys.com (8.9.3/8.9.3) with ESMTP id WAA29726; Wed, 13 Jul 2005 22:52:28 -0700 Subject: [gentoo-dev] Re: [gentoo-embedded] Interactive command From: Kristian Benoit To: gentoo-embedded@lists.gentoo.org Cc: gentoo-dev@lists.gentoo.org In-Reply-To: <1121299361.19172.3.camel@localhost> References: <1121294641.16275.40.camel@localhost> <1121299361.19172.3.camel@localhost> Content-Type: text/plain Date: Thu, 14 Jul 2005 01:13:19 -0400 Message-Id: <1121317999.5993.27.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5990b551-bbcd-4d8d-bd6b-f3622efe869d X-Archives-Hash: acc49adee137c1bb46dc1e43d20232bb 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 > -- gentoo-dev@gentoo.org mailing list