public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] use.force support
@ 2005-06-13 14:40 Sven Wegener
  2005-06-13 16:47 ` Harald van Dijk
                   ` (4 more replies)
  0 siblings, 5 replies; 36+ messages in thread
From: Sven Wegener @ 2005-06-13 14:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]

Hi all!

We just had a short discussion over in #gentoo-portage and the idea of
an use.force file for profiles came up. It allows us to force some USE
flags to be turned on for a profile. It's not possible to disable this
flag by make.conf, the environment or package.use. But we would not be
Gentoo, if we don't leave a backdoor. You can disable the flag by
putting -flag in /etc/portage/profile/use.force if you really need to.
Same goes for sub-profiles that need to disable this flag.

This use.force support might be used as an replacement for some
USE_EXPANDs like ELIBC and KERNEL because they are prone to break if the
USE_EXPANDed variable is also set in the environment. Like this:

sven@luna ~ $ KERNEL="foo" emerge --info | grep ^USE=
USE="x86 ... userland_GNU kernel_foo elibc_glibc"

I gues use.force has some other places where it is useful. Like the
default-darwin profiles which use ARCH="ppc" and USE="ppc-macos" but the
ppc-macos flag can be removed by using USE="-ppc-macos" in the
environment. Or selinux profiles, to force the selinux flag to be turned
on.

Comments?

Cheers,
Sven

-- 
Sven Wegener
Gentoo Linux Developer
http://www.gentoo.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2005-06-19 15:37 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 14:40 [gentoo-dev] use.force support Sven Wegener
2005-06-13 16:47 ` Harald van Dijk
2005-06-13 18:23   ` Sven Wegener
2005-06-14  5:42     ` Harald van Dijk
2005-06-13 18:28 ` Simon Stelling
2005-06-13 19:56   ` Dan Meltzer
2005-06-13 20:40     ` Kito
2005-06-13 20:54       ` Sven Wegener
2005-06-14 22:34         ` Sami Näätänen
2005-06-13 22:43           ` Sven Wegener
2005-06-14  2:17           ` Kumba
2005-06-13 20:50     ` Sven Wegener
2005-06-13 21:08       ` Alec Warner
2005-06-13 21:27         ` Diego 'Flameeyes' Pettenò
2005-06-13 22:12           ` Mike Frysinger
2005-06-14 14:02             ` Jan Kundrát
2005-06-13 21:38         ` Sven Wegener
2005-06-14 17:46           ` Alec Warner
2005-06-14 17:54             ` Diego 'Flameeyes' Pettenò
2005-06-15  1:16             ` Sven Wegener
2005-06-13 22:56 ` Ned Ludd
2005-06-13 23:29   ` Mike Frysinger
2005-06-15  1:26   ` Sven Wegener
2005-06-15  2:50     ` Donnie Berkholz
2005-06-15  9:03       ` [gentoo-dev] " Duncan
2005-06-15 23:17         ` Georgi Georgiev
2005-06-16  6:04           ` [gentoo-dev] " Duncan
2005-06-15 11:43       ` [gentoo-dev] " Sven Wegener
2005-06-20  0:32         ` Jason Stubbs
2005-06-15 13:52       ` Chris Gianelloni
2005-06-14  2:43 ` Jason Wever
2005-06-14  9:21   ` Diego 'Flameeyes' Pettenò
2005-06-16 13:30   ` Herbie Hopkins
2005-06-15 10:16 ` Thomas de Grenier de Latour
2005-06-15 11:53   ` Sven Wegener
2005-06-15 13:51     ` Alec Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox