public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kristian Benoit <kbenoit@opersys.com>
To: gentoo-dev@lists.gentoo.org
Cc: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-embedded] Interactive command
Date: Thu, 14 Jul 2005 10:29:23 -0400	[thread overview]
Message-ID: <1121351363.5971.45.camel@localhost> (raw)
In-Reply-To: <1121342280.10953.20.camel@localhost>

On Thu, 2005-07-14 at 07:58 -0400, Ned Ludd wrote:
> On Thu, 2005-07-14 at 01:13 -0400, Kristian Benoit wrote:
> > 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
> 
> 
> > 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)?
> 
> Well portage is a non-interactive tool and it's staying that way.
> For what you want you will need to edit the busybox/-sources/uClibc 
> ebuild and manually add in a call to make menuconfig. 
> Or add something like this untested example to your 
> local /etc/portage/bashrc

I'm not trying to make it more interactive than it actually is.

stated from:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=6#doc_chap3

"Performing Configuration Actions

Some applications include instructions that configure the package
further on your system. These instructions can be interactive and are
therefore not automatically executed. To run these configuration steps,
which are enlisted in the ebuild's (optional) config() function, use
ebuild's config functionality:


Code Listing 11: Configuring a package


# ebuild path/to/ebuild config"

I'm trying to do the same as config does, but in as a preconfig that
would only be also called on user request.

My goal is actually mostly learning portage internal so it might never
do it's way into production and it might be fine like that.

Thanks for the bashrc tip, I did'nt know that.

Kristian

-- 
gentoo-dev@gentoo.org mailing list



  parent reply	other threads:[~2005-07-14 14:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13 22:44 [gentoo-dev] Interactive command Kristian Benoit
2005-07-13 23:49 ` Donnie Berkholz
2005-07-14 14:45   ` Kristian Benoit
2005-07-14  0:02 ` [gentoo-dev] Re: [gentoo-embedded] " Ned Ludd
2005-07-14  5:13   ` Kristian Benoit
2005-07-14  6:43     ` Patrick Lauer
2005-07-14 14:37       ` Kristian Benoit
2005-07-14 11:58     ` Ned Ludd
2005-07-14 12:37       ` Jason Stubbs
2005-07-14 14:56         ` Kristian Benoit
2005-07-16  9:20           ` Drake Wyrm
2005-08-23 13:41         ` Paul de Vrieze
2005-08-23 15:12           ` Jason Stubbs
2005-08-25 11:23             ` Paul de Vrieze
2005-07-14 14:29       ` Kristian Benoit [this message]
2005-07-14 16:01         ` Michael Cummings
2005-07-14 16:51           ` Kristian Benoit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1121351363.5971.45.camel@localhost \
    --to=kbenoit@opersys.com \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox