diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-07-20 11:18:12 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-22 01:24:22 +0900 |
commit | c8578539debaedfbb4671e1954be8ebbd1307c6f (patch) | |
tree | 02f775177c72644294f52281b974fdbb2862003b /Makefile | |
parent | 3554a45297c0f6c5de5dfdba0d218b0eb9274207 (diff) | |
download | linux-c8578539debaedfbb4671e1954be8ebbd1307c6f.tar.gz linux-c8578539debaedfbb4671e1954be8ebbd1307c6f.tar.bz2 linux-c8578539debaedfbb4671e1954be8ebbd1307c6f.zip |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1489,7 +1489,7 @@ CLEAN_FILES += vmlinux.symvers modules-only.symvers \ # Directories & files removed with 'make mrproper' MRPROPER_FILES += include/config include/generated \ arch/$(SRCARCH)/include/generated .objdiff \ - debian snap tar-install \ + debian snap tar-install PKGBUILD pacman \ .config .config.old .version \ Module.symvers \ certs/signing_key.pem \ |