[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210407053419.449796-1-gregkh@linuxfoundation.org>
Date: Wed, 7 Apr 2021 07:33:59 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>
Cc: linux-kbuild@...r.kernel.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"David S. Miller" <davem@...emloft.net>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Albert Ou <aou@...s.berkeley.edu>,
Borislav Petkov <bp@...en8.de>,
Catalin Marinas <catalin.marinas@....com>,
Christian Borntraeger <borntraeger@...ibm.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Greentime Hu <green.hu@...il.com>,
Heiko Carstens <hca@...ux.ibm.com>,
Helge Deller <deller@....de>, Ingo Molnar <mingo@...hat.com>,
Ley Foon Tan <ley.foon.tan@...el.com>,
Michael Ellerman <mpe@...erman.id.au>,
Nick Hu <nickhu@...estech.com>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Rich Felker <dalias@...c.org>,
Russell King <linux@...linux.org.uk>,
Thomas Gleixner <tglx@...utronix.de>,
Vasily Gorbik <gor@...ux.ibm.com>,
Vincent Chen <deanbo422@...il.com>,
Will Deacon <will@...nel.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>, x86@...nel.org
Subject: [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
--
2.31.1
Powered by blists - more mailing lists