Package Details: pacman-hook-kernel-install 0.13.0-1

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: 20
Popularity: 0.28
First Submitted: 2021-06-20 19:17 (UTC)
Last Updated: 2024-02-23 18:11 (UTC)

Latest Comments

1 2 Next › Last »

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

    echo >&2 +kernel-install "$@" "$kver" "$kimage"

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.

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.