Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2018-07-19 15:51:36 +0200
committerMiroslav Benes <mbenes@suse.cz>2018-07-19 15:51:36 +0200
commitcac78a6ad2bdd2076b780e15a61d7c474793e9b7 (patch)
tree20f9c10b19c7c5ebed94bc3900557223102549ce
parentdba2721d23ff880bf2c850889cd2579ee8d8cc27 (diff)
Rename .spec and .changes files from kernel-livepatch to kgraft-patch
Someone/something might get confused otherwise. Signed-off-by: Miroslav Benes <mbenes@suse.cz>
-rw-r--r--rpm/kgraft-patch.spec (renamed from rpm/kernel-livepatch.spec)0
-rwxr-xr-xscripts/register-patches.sh4
-rwxr-xr-xscripts/tar-up.sh8
3 files changed, 6 insertions, 6 deletions
diff --git a/rpm/kernel-livepatch.spec b/rpm/kgraft-patch.spec
index ec0951b..ec0951b 100644
--- a/rpm/kernel-livepatch.spec
+++ b/rpm/kgraft-patch.spec
diff --git a/scripts/register-patches.sh b/scripts/register-patches.sh
index 42b56d7..f25665c 100755
--- a/scripts/register-patches.sh
+++ b/scripts/register-patches.sh
@@ -35,7 +35,7 @@
#
#
# Usage:
-# register-patches.sh livepatch_main.c kernel-livepatch.spec
+# register-patches.sh livepatch_main.c kgraft-patch.spec
#
# This will properly substitute a number of placeholders in-place.
#
@@ -262,7 +262,7 @@ s%\s*@@KLP_PATCHES_CLEANUP_CALLS@@;\?%$KLP_PATCHES_CLEANUP_CALLS%;
s%\s*@@KLP_PATCHES_CLEANUP_CALLS@@;\?%$KLP_PATCHES_CLEANUP_CALLS%;
EOF
-# Finish kernel-livepatch.spec:
+# Finish kgraft-patch.spec:
## Enumerate the per subpatch source *.tar.bz2.
## Note: Start with Source5
S=6
diff --git a/scripts/tar-up.sh b/scripts/tar-up.sh
index e5d3762..991b4f0 100755
--- a/scripts/tar-up.sh
+++ b/scripts/tar-up.sh
@@ -74,8 +74,8 @@ source $(dirname $0)/release-version.sh
install -m 644 livepatch_main.c $build_dir
install -m 644 shadow.h $build_dir
-install -m 644 rpm/kernel-livepatch.spec $build_dir/kernel-livepatch-"$RELEASE".spec
-scripts/register-patches.sh $build_dir/livepatch_main.c $build_dir/kernel-livepatch-"$RELEASE".spec
+install -m 644 rpm/kgraft-patch.spec $build_dir/kgraft-patch-"$RELEASE".spec
+scripts/register-patches.sh $build_dir/livepatch_main.c $build_dir/kgraft-patch-"$RELEASE".spec
install -m 644 rpm/config.sh $build_dir/config.sh
# create new Makefile in $build_dir
@@ -97,8 +97,8 @@ sed -i \
e echo -n 'Source timestamp: '; cat $build_dir/$tsfile
d
}" \
- $build_dir/kernel-livepatch-"$RELEASE".spec
+ $build_dir/kgraft-patch-"$RELEASE".spec
# changelog
-changelog=$build_dir/kernel-livepatch-"$RELEASE".changes
+changelog=$build_dir/kgraft-patch-"$RELEASE".changes
scripts/gitlog2changes.pl HEAD -- > "$changelog"