2625834549
No changes are being made to the individual files added here; they're 1:1 copies of the ones in redhat-rpm-config. Note the kernel-rpm-macros version - the latest c9s build is versioned after its parent SRPM which is redhat-rpm-config-184-1, so we need to make this one NVR-newer to allow for clean upgrades. The respective removals from redhat-rpm-config are tracked in #1959924. Resolves: #1959914
15 lines
336 B
Bash
15 lines
336 B
Bash
#!/bin/sh
|
|
#
|
|
# firmware.prov - Automatically extract any and all firmware dependencies from
|
|
# kernel object (.ko) files and add to RPM deps.
|
|
|
|
IFS=$'\n'
|
|
|
|
for module in $(grep -E '/lib/modules/.+\.ko$') $*;
|
|
do
|
|
for firmware in `/sbin/modinfo -F firmware $module`;
|
|
do
|
|
echo "firmware($firmware)"
|
|
done
|
|
done
|