Accepting request 613118 from home:michals
- openSUSE releases also preserve kabi (boo#1095148). OBS-URL: https://build.opensuse.org/request/show/613118 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=467
This commit is contained in:
parent
29ba0a0748
commit
317af7f805
@ -38,7 +38,7 @@
|
||||
+++ ./fileattrs/kmp.attr 2017-12-01 15:46:28.172720497 +0000
|
||||
@@ -0,0 +1,4 @@
|
||||
+%__kmp_provides %{_rpmconfigdir}/find-provides.ksyms --opensuse 0%{?is_opensuse}
|
||||
+%__kmp_requires %{_rpmconfigdir}/find-requires.ksyms --opensuse 0%{?is_opensuse}
|
||||
+%__kmp_requires %{_rpmconfigdir}/find-requires.ksyms --suse-release 0%{?sle_version}
|
||||
+%__kmp_supplements %{_rpmconfigdir}/find-supplements.ksyms
|
||||
+%__kmp_path ^/lib/modules/[^/]*/(updates|extra)/.*\.ko(\.gz)?
|
||||
--- ./fileattrs/perl.attr.orig 2017-08-10 08:08:07.113108701 +0000
|
||||
|
@ -107,16 +107,16 @@
|
||||
+
|
||||
+IFS=$'\n'
|
||||
+
|
||||
+is_opensuse=false
|
||||
+is_tumbleweed=false
|
||||
+
|
||||
+if test "$1" = "--opensuse"; then
|
||||
+ if test "$2" -gt 0; then
|
||||
+ is_opensuse=true
|
||||
+if test "$1" = "--suse-release"; then
|
||||
+ if test "$2" -eq 0; then
|
||||
+ is_tumbleweed=true
|
||||
+ fi
|
||||
+ shift 2
|
||||
+fi
|
||||
+
|
||||
+if ! $is_opensuse && ! test -e /sbin/modprobe; then
|
||||
+if ! $is_tumbleweed && ! test -e /sbin/modprobe; then
|
||||
+ cat > /dev/null
|
||||
+ exit 0
|
||||
+fi
|
||||
@ -124,7 +124,7 @@
|
||||
+for f in $(grep -E '/lib/modules/.+\.ko$' | grep -v '/lib/modules/[^/]*/kernel/'); do
|
||||
+ flavor=${f#*/lib/modules/}
|
||||
+ flavor=${flavor%%/*}
|
||||
+ if $is_opensuse; then
|
||||
+ if $is_tumbleweed; then
|
||||
+ echo "kernel-uname-r = $flavor"
|
||||
+ continue
|
||||
+ fi
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 10:48:49 UTC 2018 - msuchanek@suse.com
|
||||
|
||||
- openSUSE releases also preserve kabi (boo#1095148).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 7 16:36:45 CEST 2018 - mls@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user