Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-08-20 18:00:50 +0200
committerMichal Marek <mmarek@suse.cz>2014-08-20 18:00:50 +0200
commit4e5859f8f5f629923b83dbea5a67c187f841f711 (patch)
tree1b3210957243c37a4754457616e0c341fca94762
parent7a6e5f759f4894273d14ff5f1fa5f2d3bbfd2e6f (diff)
parente56149824579ea8ba189adf95d6064d53ac89ca5 (diff)
Merge branch 'packaging'
-rwxr-xr-xrpm/compress-vmlinux.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpm/compress-vmlinux.sh b/rpm/compress-vmlinux.sh
index 840ae6ee7f..f5afa33d50 100755
--- a/rpm/compress-vmlinux.sh
+++ b/rpm/compress-vmlinux.sh
@@ -2,6 +2,11 @@
set -x
+# Once the brp script is reasonably widespread, we will remove the specfile
+# hack and this script
+if test -x /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux; then
+ exit 0
+fi
vmlinux=$1
if test -e "$vmlinux" -a -e "$vmlinux.gz"; then
# Deliberately not using gzip -n; the vmlinux image has a predictable