From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5DEeLgr007470 for ; Mon, 13 Jun 2005 14:40:21 GMT Received: from smtp1.stealer.net ([82.165.37.24]) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1Dhq7N-0002TX-9e for gentoo-dev@lists.gentoo.org; Mon, 13 Jun 2005 14:40:49 +0000 Received: from sven by smtp1.stealer.net with local id 1Dhq7M-0005GV-Qu for gentoo-dev@gentoo.org from sender swegener@gentoo.org; Mon, 13 Jun 2005 14:40:48 +0000 Date: Mon, 13 Jun 2005 16:40:48 +0200 From: Sven Wegener To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] use.force support Message-ID: <20050613144048.GB4585@lightning.stealer.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline User-Agent: Mutt/1.5.8i X-Archives-Salt: d79e7514-aeee-4df4-a135-744c6754a8ca X-Archives-Hash: 4ecf2215c55135b04cb39197c2a12e95 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D"foo" emerge --info | grep ^USE=3D USE=3D"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=3D"ppc" and USE=3D"ppc-macos" but the ppc-macos flag can be removed by using USE=3D"-ppc-macos" in the environment. Or selinux profiles, to force the selinux flag to be turned on. Comments? Cheers, Sven --=20 Sven Wegener Gentoo Linux Developer http://www.gentoo.org/ --l76fUT7nc3MelDdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCrZrvAXomK8S72HoRAqI0AKCKe2nMF+H3a/QdUgR3uYGMqTkFgwCbBkVR vEqGo6kh0HJmsU7MWThPx6Q= =YPWe -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI-- -- gentoo-dev@gentoo.org mailing list