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