On 03/06/2015 02:15 AM, Joakim Tjernlund wrote:
> I am trying to define a custom profile in one of our overlay(managed via 
> layman)
> This profile should inherit one of /usr/portage/profiles/ and
> then I want to add custom USE flags, mask, keywords packages etc, then 
> eselect this new profile.
> 
> I cannot work out how to do this, any pointers?
> portage: 2.2.18
> 
>  Jocke
> 

Set "profile-formats = portage-2" in metadata/layout.conf of your
overlay. The is documented in the "portage" man page. It allows you to
specify a profile from another repository in the "parent" file of you
profile. For example, gentoo:default/linux/amd64/13.0/desktop in your
"parent" file will cause your overlay's profile to inherit from that
gentoo profile. If you list your profiles in profiles/profiles.desc in
you overlay, then eselect profile will see them.
-- 
Thanks,
Zac

Reply via email to