lkml.org 
[lkml]   [2021]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/20] kbuild: unify the install.sh script usage
Date
Almost every architecture has copied the "install.sh" script that
originally came with i386, and modified it in very tiny ways. This
patch series unifies all of these scripts into one single script to
allow people to understand how to correctly install a kernel, and fixes
up some issues regarding trying to install a kernel to a path with
spaces in it.

Note that not all architectures actually seem to have any type of way to
install a kernel, they must rely on external scripts or tools which
feels odd as everything should be included here in the main repository.
I'll work on trying to figure out the missing architecture issues
afterward.

Note the cc: list here is crazy, due to touching arch-specific code in a
number of different arches in the same patch series. I've cc:ed
individual arch maintainers on this 00/20 patch, and on their individual
arch-specific patch as well, but not the whole thing.

thanks,

greg k-h

Greg Kroah-Hartman (20):
kbuild: move x86 install script to scripts/install.sh
kbuild: scripts/install.sh: properly quote all variables
kbuild: scripts/install.sh: provide a "install" function
kbuild: scripts/install.sh: call sync before calling the bootloader
installer
kbuild: scripts/install.sh: prepare for arch-specific bootloaders
kbuild: scripts/install.sh: handle compressed/uncompressed kernel
images
kbuild: scripts/install.sh: allow for the version number
kbuild: riscv: use common install script
kbuild: arm64: use common install script
kbuild: arm: use common install script
kbuild: ia64: use common install script
kbuild: m68k: use common install script
kbuild: nds32: convert to use the common install scripts
kbuild: nios2: use common install script
kbuild: parisc: use common install script
kbuild: powerpc: use common install script
kbuild: s390: use common install script
kbuild: sh: remove unused install script
kbuild: sparc: use common install script
kbuild: scripts/install.sh: update documentation

arch/arm/boot/Makefile | 6 +-
arch/arm/boot/install.sh | 66 --------------
arch/arm64/boot/Makefile | 4 +-
arch/arm64/boot/install.sh | 60 -------------
arch/ia64/Makefile | 2 +-
arch/ia64/install.sh | 40 ---------
arch/m68k/Makefile | 2 +-
arch/m68k/install.sh | 52 -----------
arch/nds32/boot/Makefile | 4 +-
arch/nios2/boot/Makefile | 2 +-
arch/nios2/boot/install.sh | 52 -----------
arch/parisc/Makefile | 4 +-
arch/parisc/boot/Makefile | 2 +-
arch/parisc/boot/install.sh | 65 --------------
arch/parisc/install.sh | 66 --------------
arch/powerpc/boot/Makefile | 4 +-
arch/powerpc/boot/install.sh | 55 ------------
arch/riscv/boot/Makefile | 4 +-
arch/riscv/boot/install.sh | 60 -------------
arch/s390/boot/Makefile | 2 +-
arch/s390/boot/install.sh | 30 -------
arch/sh/boot/compressed/install.sh | 56 ------------
arch/sparc/boot/Makefile | 2 +-
arch/sparc/boot/install.sh | 50 -----------
arch/x86/boot/Makefile | 2 +-
arch/x86/boot/install.sh | 59 -------------
scripts/install.sh | 136 +++++++++++++++++++++++++++++
27 files changed, 156 insertions(+), 731 deletions(-)
delete mode 100644 arch/arm/boot/install.sh
delete mode 100644 arch/arm64/boot/install.sh
delete mode 100644 arch/ia64/install.sh
delete mode 100644 arch/m68k/install.sh
delete mode 100644 arch/nios2/boot/install.sh
delete mode 100644 arch/parisc/boot/install.sh
delete mode 100644 arch/parisc/install.sh
delete mode 100644 arch/powerpc/boot/install.sh
delete mode 100644 arch/riscv/boot/install.sh
delete mode 100644 arch/s390/boot/install.sh
delete mode 100644 arch/sh/boot/compressed/install.sh
delete mode 100644 arch/sparc/boot/install.sh
delete mode 100644 arch/x86/boot/install.sh
create mode 100644 scripts/install.sh


base-commit: e49d033bddf5b565044e2abe4241353959bc9120
--
2.31.1

\
 
 \ /
  Last update: 2021-04-07 07:34    [W:0.809 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site