From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Remove package from system set in custom profile
Date: Thu, 16 Feb 2012 23:32:49 -0600 [thread overview]
Message-ID: <CADPrc801Gyh2mixYSUwYg3S1hWhnGZP0QE+HpaqN8oGOU9DwsQ@mail.gmail.com> (raw)
In-Reply-To: <pan.2012.02.17.04.43.20@cox.net>
On Thu, Feb 16, 2012 at 10:43 PM, Duncan <1i5t5.duncan@cox.net> wrote:
> Canek Peláez Valdés posted on Thu, 16 Feb 2012 19:26:22 -0600 as
> excerpted:
>
>> Hi; I'm trying to make a custom profile, and I need to remove a package
>> from the system set. Is there a way I can do this without editing
>> /usr/portage/profiles/base/packages?
>>
>> Sorry if this is the wrong place for asking such a question.
>
> FWIW, gentoo-dev is for development related questions. The right place
> would be the gentoo-user list. Not really right but better than the
> general gentoo-dev list would be the portage-devel list.
I would have that in mind next time.
> Never-the-less and not to send you away empty-handed, yes of course
> there's a way to override it locally. Gentoo wouldn't be gentoo
> otherwise. =:^)
>
> See the portage (5) manpage, in particular, a search on
> "/etc/portage/profile" in that manpage, plus the note under the packages
> file description (in the /etc/make.profile/ section) about removing
> packages from the system set.
>
> More specifically, here's my /etc/portage/profile/packages:
>
> # I don't need these
> -*sys-apps/busybox
> -*sys-apps/module-init-tools
>
> If the package is listed as a dependency somewhere as well, you may need
> to add an entry to packages.provided in the same dir, as well. For
> example, from mine (I build everything I need into the kernel,
> no kernel modules so no module-init-tools needed to load them, either):
>
> sys-apps/module-init-tools-9999
That's exactly what I needed. Thanks.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
prev parent reply other threads:[~2012-02-17 5:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 1:26 [gentoo-dev] Remove package from system set in custom profile Canek Peláez Valdés
2012-02-17 1:36 ` [gentoo-dev] " Canek Peláez Valdés
2012-02-17 4:43 ` Duncan
2012-02-17 5:32 ` Canek Peláez Valdés [this message]
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=CADPrc801Gyh2mixYSUwYg3S1hWhnGZP0QE+HpaqN8oGOU9DwsQ@mail.gmail.com \
--to=caneko@gmail.com \
--cc=gentoo-dev@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