Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-08-20 17:36:52 +0200
committerMichal Marek <mmarek@suse.cz>2014-08-20 17:38:12 +0200
commite56149824579ea8ba189adf95d6064d53ac89ca5 (patch)
treeaa79a6ae73eb9220c265814cfeb00b3fedb87527
parent0134440a7040b5584e828c53e8d10dd2e515dccd (diff)
rpm/compress-vmlinux.sh: Do not duplicate the job of brp-99-compress-vmlinux
-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