* cnm: update chips&media wave521c firmware. * WHENCE: Add "Info:" tag to text that's clearly not part of the license * rtl_nic: add firmware rtl8125bp-2 * qcom: venus-5.4: update firmware binary for sc7180 and qcs615 * cirrus: cs35l56: Correct filenames of SSID 17aa3832 * cirrus: cs35l56: Add and update firmware for various Cirrus CS35L54 and CS35L56 laptops * cirrus: cs35l56: Correct SSID order for 103c8d01 103c8d08 10431f43 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=519
23 lines
440 B
Bash
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
|