[PATCH 01/20] kbuild: move x86 install script to scripts/install.sh

From: Greg Kroah-Hartman
Date: Wed Apr 07 2021 - 01:34:43 EST


To unify the different architecture kernel installation scripts, start
out with the one they all were based on, the x86 script. Move it from
arch/x86/boot/ into scripts/ so that all architectures can call it in
the future.

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: x86@xxxxxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
arch/x86/boot/Makefile | 2 +-
{arch/x86/boot => scripts}/install.sh | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename {arch/x86/boot => scripts}/install.sh (100%)

diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
index fe605205b4ce..17c7718c1a4a 100644
--- a/arch/x86/boot/Makefile
+++ b/arch/x86/boot/Makefile
@@ -157,5 +157,5 @@ bzlilo:
if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi

install:
- sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
+ sh $(srctree)/scripts/install.sh $(KERNELRELEASE) $(obj)/bzImage \
System.map "$(INSTALL_PATH)"
diff --git a/arch/x86/boot/install.sh b/scripts/install.sh
similarity index 100%
rename from arch/x86/boot/install.sh
rename to scripts/install.sh
--
2.31.1