Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2017-12-06 12:14:17 +0100
committerMiroslav Benes <mbenes@suse.cz>2017-12-08 13:03:34 +0100
commit92e9bdb0e3439237295e4e3e78d521a601ec659c (patch)
tree45e94f7315ee72007e27ba9b01a3b42bca207cfc
parentf842fd53a604965a864d3827ab90c691b44cb9a6 (diff)
Revert "scripts: Generate ExclusiveArch in spec file dynamically"
This reverts commit 95ed856ea8f99b4e48d7d324278b3628d2ac2fa2. SLE15 will support ppc64le arch from the beginning.
-rw-r--r--rpm/kernel-livepatch.spec2
-rwxr-xr-xscripts/tar-up.sh8
2 files changed, 1 insertions, 9 deletions
diff --git a/rpm/kernel-livepatch.spec b/rpm/kernel-livepatch.spec
index 707d657..b28a240 100644
--- a/rpm/kernel-livepatch.spec
+++ b/rpm/kernel-livepatch.spec
@@ -33,7 +33,7 @@ Source5: shadow.c
Source6: shadow.h
@@KLP_PATCHES_SOURCES@@
BuildRequires: kernel-syms kernel-livepatch-tools-devel libelf-devel
-ExclusiveArch: @@EXCARCH@@
+ExclusiveArch: ppc64le x86_64
%klp_module_package
%description
diff --git a/scripts/tar-up.sh b/scripts/tar-up.sh
index 5577afc..48113ca 100755
--- a/scripts/tar-up.sh
+++ b/scripts/tar-up.sh
@@ -92,20 +92,12 @@ if test -n "$branch"; then
echo "GIT Branch: $branch" >>$build_dir/$tsfile
fi
-# ExclusiveArch
-if [[ $RELEASE == SLE12-SP3* ]]; then
- excarch='ppc64le x86_64'
-else
- excarch='x86_64'
-fi
-
sed -i \
-e "s/@@RELEASE@@/$RELEASE/g" \
-e "/@@SOURCE_TIMESTAMP@@/ {
e echo -n 'Source timestamp: '; cat $build_dir/$tsfile
d
}" \
- -e "s/@@EXCARCH@@/$excarch/" \
$build_dir/kernel-livepatch-"$RELEASE".spec
# changelog