]> www.infradead.org Git - nvme.git/commit
kbuild: add script and target to generate pacman package
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 20 Jul 2024 09:18:12 +0000 (11:18 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 21 Jul 2024 16:24:22 +0000 (01:24 +0900)
commitc8578539debaedfbb4671e1954be8ebbd1307c6f
tree02f775177c72644294f52281b974fdbb2862003b
parent3554a45297c0f6c5de5dfdba0d218b0eb9274207
kbuild: add script and target to generate pacman package

pacman is the package manager used by Arch Linux and its derivates.
Creating native packages from the kernel tree has multiple advantages:

* The package triggers the correct hooks for initramfs generation and
  bootloader configuration
* Uninstallation is complete and also invokes the relevant hooks
* New UAPI headers can be installed without any manual bookkeeping

The PKGBUILD file is a modified version of the one used for the
downstream Arch Linux "linux" package.
Extra steps that should not be necessary for a development kernel have
been removed and an UAPI header package has been added.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
.gitignore
MAINTAINERS
Makefile
scripts/Makefile.package
scripts/package/PKGBUILD [new file with mode: 0644]