kernel-firmware/list-license.sh
Takashi Iwai a4d7a4b63a - Update to version 20240903 (git commit 96af55bd3d0b):
* amdgpu: Revert sienna cichlid dmcub firmware update (bsc#1230007)
  * iwlwifi: add Bz FW for core89-58 release
  * rtl_nic: add firmware rtl8126a-3
  * linux-firmware: update firmware for MT7921 WiFi device
  * linux-firmware: update firmware for mediatek bluetooth chip (MT7921)

- Update to version 20240830 (git commit d6c600d46981):
  * amdgpu: update DMCUB to v0.0.232.0 for DCN314 and DCN351
  * qcom: vpu: restore compatibility with kernels before 6.6

OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=498
2024-09-04 15:33:30 +00:00

23 lines
440 B
Bash

#!/bin/sh
#
# Generate license file lists for each kernel-firmware topic
#
# usage: list-license.sh < licenses.list
#
while read first topic licenses; do
case "$first" in
\#*) continue;;
esac
test -z "$licenses" && continue
for l in $licenses; do
echo $l >> files-$topic.license
done
done
for l in files-*.license; do
f=${l%.license}
sort $l | uniq | sed -e's/^\(.*\)$/%license \1/g' >> $f
rm -f $l
done