Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] grabfile_package: support -* in profile "packages" files (bug 610670)
Date: Thu, 23 Feb 2017 17:19:31
Message-Id: 2c713834-b3e1-c3e1-4ab3-769ba83f46a7@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] grabfile_package: support -* in profile "packages" files (bug 610670) by Joakim Tjernlund
1 On 02/23/2017 09:03 AM, Joakim Tjernlund wrote:
2 > On Thu, 2017-02-23 at 07:52 -0800, Brian Dolbec wrote:
3 >> On Thu, 23 Feb 2017 11:53:15 +0000
4 >> Joakim Tjernlund <Joakim.Tjernlund@××××××××.com> wrote:
5 >>
6 >>> On Thu, 2017-02-23 at 02:52 -0800, Zac Medico wrote:
7 >>>> Support -* in order to make it easier to create profiles for
8 >>>> minimal systems (especially those built entirely from binary
9 >>>> packages).
10 >>>
11 >>> Would be nice, but I don't get what the "packages" file is?
12 >>
13 >>
14 >> That would be the 'packages' file (list of required packages)that are
15 >> required for that specific profile. This patch would allow to
16 >> override that packages file to build an image that only contained the
17 >> minimum runtime pkgs required to perform the tasks it is suppose to.
18 >> The idea being you would not need gcc, automake, ... or even portage or
19 >> possibly python. The built image could of course be considered more
20 >> secure not having a compiler, etc... not to mention smaller.
21 >
22 > Many of the packages files in /usr/portage/profiles already contain -* so
23 > I guess this must be another packages file?
24 > in /etc/portage or possibly /usr/portage/packges/ ?
25 >
26 > Jocke
27 >
28
29 Here's an example:
30
31 https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/base/packages
32
33 Files like that define the @system set.
34 --
35 Thanks,
36 Zac