diff --git a/kabi.attr b/kabi.attr index 85d30a2..2d81387 100644 --- a/kabi.attr +++ b/kabi.attr @@ -1,2 +1,2 @@ %__kabi_provides %{_rpmconfigdir}/kabi.sh -%__kabi_path ^/lib/modules/[1-9].*/symvers.gz$ +%__kabi_path ^(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.gz$ diff --git a/kabi.sh b/kabi.sh index 0afa5ad..59b2b86 100644 --- a/kabi.sh +++ b/kabi.sh @@ -7,7 +7,7 @@ IFS=$'\n' -for symvers in $(grep -E '/lib/modules/[1-9].*/symvers\.gz') "$@"; +for symvers in $(grep -E '(/boot/symvers-.*|/lib/modules/[1-9].*/symvers)\.gz') "$@"; do zcat $symvers | awk ' {print "kernel(" $2 ") = " $1 }' done