You need to sign in or sign up before continuing.
kbuild: factor out the common installation code into scripts/install.sh
Many architectures have similar install.sh scripts.
The first half is really generic; it verifies that the kernel image
and System.map exist, then executes ~/bin/${INSTALLKERNEL} or
/sbin/${INSTALLKERNEL} if available.
The second half is kind of arch-specific; it copies the kernel image
and System.map to the destination, but the code is slightly different.
Factor out the generic part into scripts/install.sh.
Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: NNicolas Schier <n.schier@avm.de>
Showing
arch/arm/boot/install.sh
100644 → 100755
arch/arm64/boot/install.sh
100644 → 100755
arch/ia64/install.sh
100644 → 100755
arch/m68k/install.sh
100644 → 100755
arch/nios2/boot/install.sh
100644 → 100755
arch/parisc/install.sh
100644 → 100755
arch/powerpc/boot/install.sh
100644 → 100755
arch/riscv/boot/install.sh
100644 → 100755
arch/s390/boot/install.sh
100644 → 100755
arch/sparc/boot/install.sh
100644 → 100755
arch/x86/boot/install.sh
100644 → 100755
scripts/install.sh
0 → 100755
想要评论请 注册 或 登录