Gentoo Archives: gentoo-portage-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-portage-dev@l.g.o" <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:03:33
Message-Id: 1487869402.4467.1.camel@infinera.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] grabfile_package: support -* in profile "packages" files (bug 610670) by Brian Dolbec
1 On Thu, 2017-02-23 at 07:52 -0800, Brian Dolbec wrote:
2 > On Thu, 23 Feb 2017 11:53:15 +0000
3 > Joakim Tjernlund <Joakim.Tjernlund@××××××××.com> wrote:
4 >
5 > > On Thu, 2017-02-23 at 02:52 -0800, Zac Medico wrote:
6 > > > Support -* in order to make it easier to create profiles for
7 > > > minimal systems (especially those built entirely from binary
8 > > > packages).
9 > >
10 > > Would be nice, but I don't get what the "packages" file is?
11 >
12 >
13 > That would be the 'packages' file (list of required packages)that are
14 > required for that specific profile. This patch would allow to
15 > override that packages file to build an image that only contained the
16 > minimum runtime pkgs required to perform the tasks it is suppose to.
17 > The idea being you would not need gcc, automake, ... or even portage or
18 > possibly python. The built image could of course be considered more
19 > secure not having a compiler, etc... not to mention smaller.
20
21 Many of the packages files in /usr/portage/profiles already contain -* so
22 I guess this must be another packages file?
23 in /etc/portage or possibly /usr/portage/packges/ ?
24
25 Jocke

Replies