>>>>> On Wed, 1 Jan 2014, Rich Freeman wrote: > On Wed, Jan 1, 2014 at 8:51 PM, Michael Orlitzky <m...@gentoo.org> > wrote:
>> I think a better solution here, since these files are *installed*, >> is to introduce a new local flag (e.g. unfreeblobs) for the kernel >> that would append to LICENSE by the mechanism described below. > Well, sure, any USE flag that controls the installation of the blobs > should append the appropriate string to LICENSE. However, that is a > separate (and also important) issue. The kernel does this already. kernel-2.eclass (basically) assigns: LICENSE="GPL-2 !deblob? ( freedist )" So with USE=deblob you get GPL-2 because only GPL-2 files will be installed on your system. (Of course, "freedist" is only a crude approximation of the actual firmware licenses. But this is a separate issue, see https://bugs.gentoo.org/show_bug.cgi?id=318841#c9). > Has anybody tested whether ACCEPT_LICENSE handles USE conditionals > correctly? If it is in PMS and it doesn't than that would be a > Portage bug, but we should probably be aware of what it does before > setting it all over the tree. Ack. It is specified in GLEP 23 and PMS, and Portage does handle it correctly. Ulrich
pgpT7iRKgvQPa.pgp
Description: PGP signature