Blame SOURCES/depmodconf

f68389
#!/bin/bash
f68389
kver=${2%%-*}
f68389
find $3 -name '*.ko' | sed 's|^.*/\([^/]*\)\.ko$|\1|' | sort -u | \
f68389
while read -r module; do
f68389
	echo "override $module $kver-* weak-updates/$1"
f68389
done