Re: [OS-BUILD PATCHv7 0/3] redhat: Keep track of SPDX-License-Identifier tags in the code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vitaly Kuznetsov on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2648#note_1539233445

OK, if we take Linux-libre as a source of truth, we may not have much to care
about. I did the following:

1) Get all affected files from linux-libre log and check if they have a proper
SPDX with kspdx.py. Filter the rest:

```
$ cat linux-libre-6.5-gnu.log | grep ':' | grep -v "VGX:Y61 sensor support" |
cut -f 1 -d ':' | sort -u | while read fname; do kspdx.py -i -d NONE $fname;
done | grep NONE > /tmp/nospdx

$ wc -l /tmp/nospdx
158 /tmp/nospdx

```

2) Filter out all files which have old style (non-SPDX) license identifier:

```
$ cat /tmp/nospdx | cut -f 1 -d ':' | while read fname; do if ! grep "This
program is free software\|Permission is hereby granted\|Permission to use,
copy, modify\|This file is free software\|General Public License\|GNU General
Public" $fname > /dev/null; then echo $fname; fi; done

arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi
arch/arm/boot/dts/ti/omap/am437x-l4.dtsi
Documentation/ABI/testing/sysfs-driver-ge-achc
Documentation/admin-guide/btmrvl.rst
Documentation/arch/arm/ixp4xx.rst
Documentation/arch/arm/keystone/knav-qmss.rst
Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt
Documentation/dontdiff
Documentation/sound/alsa-configuration.rst
drivers/net/appletalk/cops_ffdrv.h
drivers/net/appletalk/cops_ltdrv.h
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
drivers/net/wireless/intersil/orinoco/fw.c
drivers/staging/media/atomisp/TODO
README
scripts/package/builddeb
scripts/package/mkspec
scripts/package/snapcraft.template

```

Manually check the result
```
arch/arm/boot/dts/ti/omap/am33xx-l4.dtsi
arch/arm/boot/dts/ti/omap/am437x-l4.dtsi
```
No license specified but these are device trees, not firmware.

```
Documentation/ABI/testing/sysfs-driver-ge-achc
Documentation/admin-guide/btmrvl.rst
Documentation/arch/arm/ixp4xx.rst
Documentation/arch/arm/keystone/knav-qmss.rst
Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt
Documentation/dontdiff
Documentation/sound/alsa-configuration.rst
```
No license specified but nothing worrisome, just docs mentioning firmware
binaries.

```
drivers/net/appletalk/cops_ffdrv.h
drivers/net/appletalk/cops_ltdrv.h
```
We already know about these but even Fedora doesn't enable
CONFIG_COPS/CONFIG_COPS_DAYNA

```
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
```
Looks like 3-Clause BSD License.

```
drivers/net/wireless/intersil/orinoco/fw.c
```
Says "See copyright notice in main.c". main.c mentions MPL1.1 license.

```
drivers/staging/media/atomisp/TODO
README
```
Can be ignored I guess.

```
scripts/package/builddeb
scripts/package/mkspec
scripts/package/snapcraft.template
```
Nothing to worry about.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux