Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-11-03 14:59:46 +0100
committerMichal Marek <mmarek@suse.cz>2014-11-03 17:18:43 +0100
commitaa7f1cb28d8fd8be59160e837645866064711519 (patch)
treef9828985aa1e21e5770592fad05183f0d76851a3
parent600de9d1b7e8d37eb86a58011159f32eb7aedd2f (diff)
Add config.sh script
This tells the automatic builder which IBS project to use.
-rw-r--r--rpm/config.sh1
-rw-r--r--rpm/kgraft-patch.spec1
-rwxr-xr-xscripts/tar-up.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/rpm/config.sh b/rpm/config.sh
new file mode 100644
index 0000000..e3ca9f5
--- /dev/null
+++ b/rpm/config.sh
@@ -0,0 +1 @@
+IBS_PROJECT=SUSE:SLE-12:GA
diff --git a/rpm/kgraft-patch.spec b/rpm/kgraft-patch.spec
index 91047c3..6f20285 100644
--- a/rpm/kgraft-patch.spec
+++ b/rpm/kgraft-patch.spec
@@ -27,6 +27,7 @@ Group: System/Kernel
Source0: uname_patch.tar.bz2
Source1: Makefile
Source2: kgr_patch_main.c
+Source3: config.sh
BuildRequires: kernel-syms kgraft-devel
ExclusiveArch: s390x x86_64
%kgraft_module_package
diff --git a/scripts/tar-up.sh b/scripts/tar-up.sh
index c13e33f..2b2b906 100755
--- a/scripts/tar-up.sh
+++ b/scripts/tar-up.sh
@@ -50,6 +50,7 @@ install -m 644 kgr_patch_main.c $build_dir
install -m 644 Makefile $build_dir
install -m 644 rpm/kgraft-patch.spec $build_dir/kgraft-patch-"$RELEASE".spec
install -m 644 rpm/kgraft-patch.changes $build_dir/kgraft-patch-"$RELEASE".changes
+install -m 644 rpm/config.sh $build_dir/config.sh
sed -i "s/@@RELEASE@@/$RELEASE/g" $build_dir/kgr_patch_main.c \
$build_dir/kgraft-patch-"$RELEASE".spec