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: | 24 |
Popularity: | 0.55 |
First Submitted: | 2021-06-20 19:17 (UTC) |
Last Updated: | 2024-02-23 18:11 (UTC) |
Dependencies (2)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-gitAUR, systemd-selinuxAUR)
Required by (1)
- kernel-install-ukify (optional)
Latest Comments
1 2 Next › Last »
debnath commented on 2025-02-20 08:46 (UTC) (edited on 2025-02-20 11:26 (UTC) by debnath)
@eNV25 The
kernel-install.sh
script can be significantly simplified by usingkernel-install add-all
.add-all
was introduced in systemd v255. See: https://github.com/systemd/systemd/releases/tag/v255The
kernel-install list
command was also introduced in systemd v255, which can also be used to simplify thekernel-install.sh
script.debnath commented on 2024-10-19 14:08 (UTC)
@cvlc I think either the "+" should be removed, or at least there should be a space after the "+", keeping it consistent with other such output lines.
cvlc commented on 2024-10-19 13:56 (UTC)
@eNV25 https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/master/libalpm/hooks/90-mkinitcpio-install.hook?ref_type=heads
@debnath https://github.com/systemd/systemd/issues/33976
debnath commented on 2024-10-19 13:04 (UTC)
@eNV25, can you remove the "+" in https://aur.archlinux.org/cgit/aur.git/tree/kernel-install.sh?h=pacman-hook-kernel-install#n36
I think the "+" before
kernel-install
is unnecessary.eNV25 commented on 2024-10-19 12:12 (UTC)
@cvlc I don't know which hook you are talking about.
cvlc commented on 2024-10-14 13:29 (UTC)
Hi,
Should
Target = boot/*-ucode.img
in both hooks be changed to monitor files in /usr/lib/firmware/*
like the mkinitcpio hook does ?PS: the hook prints out
Removing kernel and initrd from $BOOT... (kernel-install)
without interpreting $BOOT.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.
1 2 Next › Last »