Takashi Iwai
ad608a878a
* iwlwifi: add Bz-gf FW for core91-69 release - Update aliases from 6.12 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=510
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
|