Gentoo Archives: gentoo-portage-dev

From: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
To: "gentoo-portage-dev@l.g.o" <gentoo-portage-dev@l.g.o>
Subject: Re: [gentoo-portage-dev] custom profiles?
Date: Wed, 11 Mar 2015 15:48:26
Message-Id: 1426088901.31989.31.camel@transmode.se
In Reply to: Re: [gentoo-portage-dev] custom profiles? by Zac Medico
1 On Sun, 2015-03-08 at 11:58 -0700, Zac Medico wrote:
2 > On 03/08/2015 10:01 AM, Joakim Tjernlund wrote:
3 > > On Sun, 2015-03-08 at 15:47 +0000, Joakim Tjernlund wrote:
4 > > >
5 > > > package.use/package.use.force is a bit different though:
6 > > > cat /etc/portage/package.use/qemu
7 > > > app-emulation/qemu vde -alsa -pulseaudio -bluetooth -opengl qemu_user_targets_x86_64 xattr virtfs
8 > > > static-
9 > > > user
10 > > >
11 > > > #Needed by static-user
12 > > > sys-libs/zlib static-libs
13 > > > dev-libs/glib static-libs
14 > > > sys-apps/attr static-libs
15 > > >
16 > > > Moving this to package.use/package.use.force does not respect -alsa, -pulseaudio, -opengl all
17 > > > flags which has a - on them, emerge wants to turn them on again.
18 > > >
19 > > > Am I missing something?
20 > > > Using portage 2.2.18
21 > >
22 > > Appears one have to use package.use.mask for that.
23 > > cat package.use.mask
24 > > app-emulation/qemu alsa pulseaudio bluetooth opengl
25 > > It would be handy if one could use the same syntax as in /etc/portage/package.use/qemu(-alsa -opengl etc.)
26 > >
27 > > Jocke
28 > >
29 >
30 > Yes, the inverted use.mask logic can be confusing if you are not familiar with it. The negative flags have a
31 > special meaning within the context of of portage's "incremental stacking" behavior, so they can still be
32 > useful, though not in the same way that you you attempted to use them.
33
34
35 So now I got to binary pkgs and profiles, the profile is typically part of ebuild src tree/overlay
36 and a system using only binary pkgs does not need ebuild sources. How does one manage profiles
37 is this case?
38 Just sync an empty /usr/portage tree(sans profile) or is the a better way?
39
40
41 Jocke
42
43 PS.
44 emerge --depclean refuses to clean a system which is lagging behind, would it be possible for
45 --depclean to go ahead anyway somehow? --dynamic-deps=n comes to mind.

Replies

Subject Author
Re: [gentoo-portage-dev] custom profiles? Zac Medico <zmedico@g.o>