SUSE specific kernel provides/requires scripts --- scripts/find-provides.ksyms.orig 2013-07-12 14:08:40.000000000 +0000 +++ scripts/find-provides.ksyms 2013-07-12 14:08:54.000000000 +0000 @@ -0,0 +1,17 @@ +#! /bin/bash + +IFS=$'\n' + +while read f; do + test -e "$f" || continue + case "$f" in + *.debug) + ;; + */boot/vmlinu[xz]-*) + flavor=${f##*/vmlinu[xz]-} + flavor=${flavor%.gz} + echo "kernel-uname-r = $flavor" + ;; + esac +done \ +| sort -u --- scripts/find-requires.ksyms.orig 2013-07-12 14:08:45.000000000 +0000 +++ scripts/find-requires.ksyms 2013-07-12 14:08:33.000000000 +0000 @@ -0,0 +1,15 @@ +#! /bin/bash + +IFS=$'\n' + +while read f; do + test -e "$f" || continue + case "$f" in + */lib/modules/*/*.ko | */lib/modules/*/*.ko.gz) + flavor=${f#*/lib/modules/} + flavor=${flavor%%/*} + echo "kernel-uname-r = $flavor" + ;; + esac +done \ +| sort -u --- scripts/Makefile.am +++ scripts/Makefile.am @@ -15,6 +15,7 @@ rpmdb_loadcvt rpm.daily rpm.log rpm.supp rpm2cpio.sh \ tcl.req tgpg vpkg-provides.sh \ find-requires.php find-provides.php \ + find-requires.ksyms find-provides.ksyms \ find-php-provides find-php-requires \ mono-find-requires mono-find-provides \ ocaml-find-requires.sh ocaml-find-provides.sh \ @@ -30,6 +31,7 @@ check-buildroot check-rpaths check-rpaths-worker \ find-lang.sh \ perl.prov perl.req perldeps.pl pythondeps.sh osgideps.pl \ + find-requires.ksyms find-provides.ksyms \ mono-find-requires mono-find-provides \ pkgconfigdeps.sh libtooldeps.sh \ ocaml-find-requires.sh ocaml-find-provides.sh \