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 |