Skip to content

kbuild: unify the install.sh script usage

Greg Kroah-Hartman linux-arch linux-arm-kernel linux-ia64 linux-kbuild linux-m68k linux-parisc linux-riscv linux-s390 linux-sh linuxppc-dev lkml sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 39 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20kbuild: move x86 install script to scripts/install.sharch/x86/boot/Makefile scripts/install.sh+1 -11 reply
2/20kbuild: scripts/install.sh: properly quote all variablesscripts/install.sh+8 -81 reply
3/20kbuild: scripts/install.sh: provide a "install" functionscripts/install.sh+15 -111 reply
4/20kbuild: scripts/install.sh: call sync before calling the bootloader installerscripts/install.sh+1 -11 reply
5/20kbuild: scripts/install.sh: prepare for arch-specific bootloadersscripts/install.sh+12 -71 reply
6/20kbuild: scripts/install.sh: handle compressed/uncompressed kernel imagesscripts/install.sh+12 -21 reply
7/20kbuild: scripts/install.sh: allow for the version numberscripts/install.sh+13 -23 replies
8/20kbuild: riscv: use common install scriptarch/riscv/boot/Makefile arch/riscv/boot/install.sh scripts/install.sh+4 -631 reply
9/20kbuild: arm64: use common install scriptarch/arm64/boot/Makefile arch/arm64/boot/install.sh+2 -623 replies
10/20kbuild: arm: use common install scriptarch/arm/boot/Makefile arch/arm/boot/install.sh scripts/install.sh+12 -701 reply
11/20kbuild: ia64: use common install scriptarch/ia64/Makefile arch/ia64/install.sh scripts/install.sh+8 -422 replies
12/20kbuild: m68k: use common install scriptarch/m68k/Makefile arch/m68k/install.sh scripts/install.sh+2 -542 replies
13/20kbuild: nds32: convert to use the common install scriptsarch/nds32/boot/Makefile+2 -21 reply
14/20kbuild: nios2: use common install scriptarch/nios2/boot/Makefile arch/nios2/boot/install.sh scripts/install.sh+2 -541 reply
15/20kbuild: parisc: use common install scriptarch/parisc/Makefile arch/parisc/boot/Makefile arch/parisc/boot/install.sh +2 more+4 -1343 replies
16/20kbuild: powerpc: use common install scriptarch/powerpc/boot/Makefile arch/powerpc/boot/install.sh scripts/install.sh+15 -581 reply
17/20kbuild: s390: use common install scriptarch/s390/boot/Makefile arch/s390/boot/install.sh+1 -312 replies
18/20kbuild: sh: remove unused install scriptarch/sh/boot/compressed/install.sh+0 -563 replies
19/20kbuild: sparc: use common install scriptarch/sparc/boot/Makefile arch/sparc/boot/install.sh scripts/install.sh+2 -521 reply
20/20kbuild: scripts/install.sh: update documentationscripts/install.sh+26 -71 reply

Reviews trailers per patch

11 of 20 patches have a Reviewed-by or Acked-by.

PatchGeert UytterhoevenHeiko CarstensCatalin MarinasSergei TrofimovichKees Cook
1/20R-b
2/20
3/20
4/20
5/20R-b
6/20
7/20
8/20R-b
9/20A-b R-b
10/20R-b
11/20R-b R-b
12/20A-b R-b
13/20
14/20R-b
15/20
16/20
17/20A-b R-b
18/20R-b
19/20R-b
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 00/20] kbuild: unify the install.sh script usage

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

Signature · 1 line
2.31.1