Search Criteria
Package Details: pacman-hook-kernel-install 0.13.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pacman-hook-kernel-install.git (read-only, click to copy) |
---|---|
Package Base: | pacman-hook-kernel-install |
Description: | Pacman hooks for kernel-install. |
Upstream URL: | https://man.archlinux.org/man/kernel-install.8 |
Keywords: | kernel-install pacman pacman-hook |
Licenses: | GPL |
Submitter: | eNV25 |
Maintainer: | eNV25 |
Last Packager: | eNV25 |
Votes: | 16 |
Popularity: | 1.37 |
First Submitted: | 2021-06-20 19:17 (UTC) |
Last Updated: | 2024-02-23 18:11 (UTC) |
Dependencies (2)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR)
- systemd (systemd-gitAUR, systemd-chromiumosAUR, systemd-selinuxAUR, systemd-fmlAUR)
Required by (1)
- kernel-install-ukify (optional)
Latest Comments
yegorius commented on 2024-02-23 19:26 (UTC)
@eNV25 Thank you! It works now.
eNV25 commented on 2024-02-23 18:13 (UTC)
@yegorius I changed the number to 40.
yegorius commented on 2024-02-23 01:38 (UTC) (edited on 2024-02-23 01:38 (UTC) by yegorius)
Hello. I an using this hook with booster and I'm having a problem. During kernel update (or any other pacman action which triggers the remove hook) "kernel-install remove" deletes the modules.alias file from the new kernel directory, while Booster needs it to create an initrd. The particular hook execution sequence is like this:
60-depmod // creates modules.alias for the new kernel
60-kernel-install-remove // deletes modules.alias for the new kernel
90-booster-install // attempts to create the initrd but fails because it can't find modules.alias
The fix is very simple: we need to move 60-kernel-install-remove before the 60-depmod (e.g. 50-kernel-install-remove)
eNV25 commented on 2023-09-03 19:56 (UTC)
OK, done.
ezkha commented on 2023-09-03 17:54 (UTC)
Thanks for replying, I meant that a trigger for Booster for this hook should maybe be added, in case Booster updates like Dracut/mkinitcpio can. Also, I went with Booster + systemd-ukify, creating a simple pacman hook that calls a ukify script after Booster's hook, instead of kernel-install. I might write a kernel-install plugin for Booster in the future, or maybe ask its developer.
eNV25 commented on 2023-09-02 11:15 (UTC) (edited on 2023-09-02 11:16 (UTC) by eNV25)
This hook only calls the kernel-install command. To use it with booster you need a kernel-install hook that calls booster. See the kernel-install manual page for more information.
ezkha commented on 2023-09-01 22:18 (UTC) (edited on 2023-09-01 22:25 (UTC) by ezkha)
Hi, and thanks for this package.
Does this already supports Booster? Or is there no extra step required?
Edit 1:
I added
Target = usr/lib/booster/*
to both hooks (and had to disable checksum checking). I'll see if I'll have any pleasant surprises.