From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: "gentoo-portage-dev@lists.gentoo.org"
<gentoo-portage-dev@lists.gentoo.org>
Subject: Re: [gentoo-portage-dev] custom profiles?
Date: Sun, 8 Mar 2015 15:47:49 +0000 [thread overview]
Message-ID: <1425829669.22708.214.camel@transmode.se> (raw)
In-Reply-To: <54FB5D04.3090102@gentoo.org>
On Sat, 2015-03-07 at 12:18 -0800, Zac Medico wrote:
> 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, I did the above and got my own profile :)
I can get package.accept_keywords work the same as my keyword installed at
/etc/portage/package.keywords.
package.use/package.use.force is a bit different though:
cat /etc/portage/package.use/qemu
app-emulation/qemu vde -alsa -pulseaudio -bluetooth -opengl qemu_user_targets_x86_64 xattr virtfs static-user
#Needed by static-user
sys-libs/zlib static-libs
dev-libs/glib static-libs
sys-apps/attr static-libs
Moving this to package.use/package.use.force does not respect -alsa, -pulseaudio, -opengl all
flags which has a - on them, emerge wants to turn them on again.
Am I missing something?
Using portage 2.2.18
Jocke
next prev parent reply other threads:[~2015-03-08 15:47 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 10:15 [gentoo-portage-dev] custom profiles? Joakim Tjernlund
2015-03-07 20:18 ` Zac Medico
2015-03-08 15:47 ` Joakim Tjernlund [this message]
2015-03-08 17:01 ` Joakim Tjernlund
2015-03-08 18:58 ` Zac Medico
2015-03-11 15:48 ` Joakim Tjernlund
2015-03-11 17:56 ` Zac Medico
2015-03-11 20:16 ` Joakim Tjernlund
2015-03-11 20:27 ` Brian Dolbec
2015-03-11 20:48 ` Zac Medico
2015-03-11 21:02 ` Joakim Tjernlund
2015-03-11 22:14 ` Joakim Tjernlund
2015-03-11 22:27 ` Zac Medico
2015-03-11 20:43 ` Zac Medico
2015-03-12 21:43 ` Joakim Tjernlund
2015-03-13 0:51 ` Zac Medico
2015-03-13 7:51 ` Joakim Tjernlund
2015-03-13 12:08 ` Joakim Tjernlund
2015-03-13 17:51 ` Zac Medico
2015-03-14 12:55 ` Joakim Tjernlund
2015-03-14 17:58 ` Zac Medico
2015-03-14 18:35 ` Joakim Tjernlund
2015-03-14 18:51 ` Zac Medico
2015-03-14 16:12 ` Joakim Tjernlund
2015-03-14 18:08 ` Zac Medico
2015-03-14 18:41 ` Joakim Tjernlund
2015-03-14 18:57 ` Zac Medico
2015-03-14 19:30 ` Joakim Tjernlund
2015-03-14 21:02 ` Zac Medico
2015-03-15 16:37 ` Joakim Tjernlund
2015-03-16 16:31 ` Joakim Tjernlund
2015-03-16 18:12 ` Zac Medico
2015-04-01 21:00 ` Joakim Tjernlund
2015-04-01 21:28 ` Zac Medico
2015-04-01 21:43 ` Joakim Tjernlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1425829669.22708.214.camel@transmode.se \
--to=joakim.tjernlund@transmode.se \
--cc=gentoo-portage-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox