kernel-firmware/get_supplements.sh
Takashi Iwai 8a572afe4d - Update to version 20250120 (git commit a6cc74725558):
* amdgpu: update psp 13.0.10 firmware
  * amdgpu: update gc 11.0.3 firmware
  * amdgpu: update psp 13.0.8 firmware
  * amdgpu: update psp 13.0.5 firmware
  * amdgpu: update vcn 4.0.0 firmware
  * amdgpu: update psp 13.0.0 firmware
  * amdgpu: update gc 11.0.0 firmware
  * amdgpu: update beige goby firmware
  * amdgpu: update dimgrey cavefish firmware
  * amdgpu: update navy flounder firmware
  * amdgpu: update sienna cichlid firmware
  * amdgpu: update navi14 firmware
  * amdgpu: update smu 14.0.3 firmware
  * amdgpu: update psp 14.0.3 firmware
  * amdgpu: update gc 12.0.1 firmware
  * amdgpu: update navi12 firmware
  * amdgpu: update smu 14.0.2 firmware
  * amdgpu: update psp 14.0.2 firmware
  * amdgpu: update gc 12.0.0 firmware
  * amdgpu: update gc 9.4.3 firmware
  * amdgpu: update navi10 firmware
  * amdgpu: update vcn 4.0.4 firmware
  * amdgpu: update psp 13.0.7 firmware
  * amdgpu: update gc 11.0.2 firmware
  * amdgpu: update yellow carp firmware
  * qcom: correct licence information for SA8775P binaries
  * qcom: update SLPI firmware for RB5 board
  * amdgpu: DMCUB updates for various AMDGPU ASICs
  * qcom: add DSP firmware for SA8775p platform

OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=523
2025-01-21 12:33:12 +00:00

34 lines
603 B
Bash

#!/bin/sh
#
# Generate modalias Supplements lines for the given kernel-firmware topic
#
target=$1
modules=""
sorted_modules () {
for m in $*; do
m=$(echo $m | sed -e's/-/_/g')
echo $m
done | sort | uniq
}
while read first topic mods; do
if [ "$topic" = "$target" ]; then
first=${first%:}
if [ -z "$mods" ]; then
modules="$modules $first"
else
modules="$modules $mods"
fi
fi
done < topics.list
smodules=$(sorted_modules $modules)
for m in $smodules; do
grep '^'$m':' aliases.list | sed -e's/^.*: \(.*\)$/Supplements: modalias(\1)/g'
done | sort | uniq
exit 0