public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Savchenko <bircoph@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Profile listings
Date: Mon, 15 Jun 2015 02:12:18 +0300	[thread overview]
Message-ID: <20150615021218.442abc3967649188f0233b94@gentoo.org> (raw)
In-Reply-To: <loom.20150614T204438-759@post.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2211 bytes --]

On Sun, 14 Jun 2015 19:22:14 +0000 (UTC) James wrote:
> Hello
> 
> Background:
> As a minimalist I'm trying to ferret out the differences in some of the more
> minimal profiles versus potential embedded profiles, across several
> different architectures: (arm32, arm64 x63_32 x86_64 ppc etc). I am also
> quite curious to find a tool that will clearly list the complete set of 
> packages a given (eselected) profile will yield and the best ways to
> customize that list of minimal (critical) packages.
> 
> 
> 
> So in /etc/portage/profiles, we have lots of good information. For example
> the 'base' dir currently lists 77 packages found in most profiles (?). The
> '/usr/portage/profiles/arch.list' dir lists not only the recognized arches
> but  also "Prefix Keywords". I'm not exactly sure how all of this profile 
> stuff works; who decides what's (packages) in and out, package_masks etc etc.
> 
> 
> So my questions related to how does gentoo actually determines the exact
> list of programs that are minimally installed, with the specific 
> arch and the profile selected? In previous times, I just put USE='-*' in the
> make.conf file and built upwards from there.

Profile do all the stuff that can be done or overridden
in /etc/portage, but they define some sane "default" sets of
settings for common profiles.

USE="-*" will override all USE settings in your profile. As you were
already warned, this may break stuff: e.g. expected
functionality will not be available or package will refuse to build
if it needs at least one of USE flags set (e.g. alternative foo
providers). So you must test things very carefully with USE="-*".

A set of default packages is defined in the "packages" file of each
profile. Profiles usually have "parent" file which lists parent
profiles: they are inherited, but may be overridden here and there
in a child profile. 

If you want an absolutely minimal system, after you have set it up
you may remove some packages even from the @system set. E.g. if
you're sure you don't need man or ssh, remove corresponding
packages. Just be careful here since it is easy to brick your
system here.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-06-14 23:12 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 19:22 [gentoo-user] Profile listings James
2015-06-14 20:40 ` Andreas K. Huettel
2015-06-14 22:21   ` [gentoo-user] " James
2015-06-14 23:38     ` Andreas K. Huettel
2015-06-15  4:27       ` James
2015-06-14 23:12 ` Andrew Savchenko [this message]
2015-06-15  4:37   ` James
2015-06-15 12:15     ` Martin Vaeth
2015-06-15 15:25       ` James
2015-06-16 17:42       ` James
2015-06-16 20:26         ` Neil Bothwick
2015-06-17  8:18           ` Martin Vaeth
2015-06-17 16:11           ` James
2015-06-18  7:05             ` Martin Vaeth
2015-06-18 15:21               ` James
2015-06-18 17:33                 ` Martin Vaeth
2015-06-18 18:44                   ` James
2015-06-18 19:59                     ` Martin Vaeth
2015-06-19 19:46                       ` James
2015-06-21  3:29                         ` Jonathan Callen
2015-06-21 16:17                           ` James
2015-06-19  2:27                     ` Bruce Schultz
2015-06-19 19:56                       ` James
2015-06-19 20:38                         ` Neil Bothwick
2015-06-20  2:51                           ` James
2015-06-21 16:09                           ` James
2015-06-21 17:49                             ` Neil Bothwick
2015-06-21 20:02                               ` Alan McKinnon
2015-06-21 23:53                                 ` Peter Humphrey
2015-06-22 13:38                                   ` James
2015-06-22 14:47                                     ` Martin Vaeth

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=20150615021218.442abc3967649188f0233b94@gentoo.org \
    --to=bircoph@gentoo.org \
    --cc=gentoo-user@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