Takashi Iwai
31cec0f276
* amdgpu: Add VPE 6.1.3 microcode * amdgpu: add SDMA 6.1.2 microcode * amdgpu: Add support for PSP 14.0.4 * amdgpu: add GC 11.5.2 microcode * qcom: qcm6490: add ADSP and CDSP firmware * linux-firmware: Update firmware file for Intel Bluetooth Magnetor core * linux-firmware: Update firmware file for Intel BlazarU core * linux-firmware: Update firmware file for Intel Bluetooth Solar core - Temporary fix for the missing symlink installations: copy-firmware-fix-symlink-without-compress.patch - Update to version 20240911 (git commit 59def907425d): * rtl_bt: Update RTL8852B BT USB FW to 0x0447_9301 (bsc#1229272) - Update to version 20240910 (git commit 2a7b69a3fa30): * realtek: rt1320: Add patch firmware of MCU * i915: Update MTL DMC v2.23 * cirrus: cs35l56: Add firmware for Cirrus CS35L54 for some HP laptops OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=500
34 lines
603 B
Bash
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
|