Comment # 1 on bug 1190210 from
I'm using

Version:        470.63.01
[...[
Source4:        pci_ids-%{version}
[...]
Source12:       my-find-supplements
[...]
%define pci_id_file %_sourcedir/pci_ids-%version
[...]
%define __kmp_supplements %_sourcedir/my-find-supplements %pci_id_file
[...]
chmod 755 %_sourcedir/my-find-supplements*

in kmp specfile.
(https://build.opensuse.org/package/view_file/X11:Drivers:Video/nvidia-gfxG05/nvidia-gfxG05.spec?expand=1)

my-find-supplements
--------------------------

#!/bin/bash

PCI_ID_FILE=$1
shift

tmp=$(mktemp)
trap 'rm -f "$tmp"' EXIT

/usr/lib/rpm/find-supplements.ksyms "$@" >"$tmp"
# the system script currently only generates modalias(...) lines, but allow
# other dependencies just in case
grep -v '^modalias(' "$tmp"

# determine the kernel flavor
krel=$(sed -rn 's/modalias\(([^:]*):.*/\1/p; T; q' "$tmp")
if test -z "$krel"; then
        exit
fi

# and create our own list of modalias supplements
for id in $(cat ${PCI_ID_FILE} | cut -d " " -f 1|sed 's/0x//g'); do
        echo "modalias(${krel}:pci:v000010DEd0000${id}sv*sd*bc03sc0[02]i00*)"
done


You are receiving this mail because: