Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: rfc: locations of binaries and separate /usr
Date: Sun, 01 Jan 2012 17:56:06
In Reply to: Re: [gentoo-dev] Re: rfc: locations of binaries and separate /usr by Zac Medico
Zac Medico posted on Sun, 01 Jan 2012 02:15:49 -0800 as excerpted:

> I'm not sure if a USE flag for FEATURES setting would be necessary. If > we want to enforce a global policy, then I guess a QA warning would be > warranted.
I didn't state why I suggested that, but here's the reasoning: Unless I missed an update somewhere, USE flags are covered by PMS and thus available to be used in ebuilds, etc. AFAIK, portage FEATURES are just that, portage FEATURES, and thus are supposed to be opaque to ebuilds, which shouldn't need to care which PM is running or its features, as long as it's PMS compliant. Thus, the split between the FEATURES bit which the ebuild shouldn't need to know about (the user sets up the symlinks and sets the features and portage takes care of it managing the rest for existing versions without rewriting), and the USE flag, for where upstreams and/or ebuilds are actually rewritten with the possibility of both layouts (and later only the /usr locations) in mind and the ebuild installs to the targeted location based on the USE flag. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman