Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] custom profiles?
Date: Sat, 07 Mar 2015 20:18:17
Message-Id: 54FB5D04.3090102@gentoo.org
In Reply to: [gentoo-portage-dev] custom profiles? by Joakim Tjernlund
1 On 03/06/2015 02:15 AM, Joakim Tjernlund wrote:
2 > I am trying to define a custom profile in one of our overlay(managed via layman)
3 > This profile should inherit one of /usr/portage/profiles/ and
4 > then I want to add custom USE flags, mask, keywords packages etc, then eselect this new profile.
5 >
6 > I cannot work out how to do this, any pointers?
7 > portage: 2.2.18
8 >
9 > Jocke
10 >
11
12 Set "profile-formats = portage-2" in metadata/layout.conf of your
13 overlay. The is documented in the "portage" man page. It allows you to
14 specify a profile from another repository in the "parent" file of you
15 profile. For example, gentoo:default/linux/amd64/13.0/desktop in your
16 "parent" file will cause your overlay's profile to inherit from that
17 gentoo profile. If you list your profiles in profiles/profiles.desc in
18 you overlay, then eselect profile will see them.
19 --
20 Thanks,
21 Zac

Replies

Subject Author
Re: [gentoo-portage-dev] custom profiles? Joakim Tjernlund <joakim.tjernlund@×××××××××.se>