Package Details: dracut-hook 0.4.1-1

Git Clone URL: https://aur.archlinux.org/dracut-hook.git (read-only, click to copy)
Package Base: dracut-hook
Description: Install/remove hooks for dracut
Upstream URL: https://dracut.wiki.kernel.org/index.php/Main_Page
Licenses: BSD
Submitter: kageurufu
Maintainer: kageurufu (quebin31)
Last Packager: kageurufu
Votes: 8
Popularity: 2.13
First Submitted: 2020-01-30 21:42
Last Updated: 2020-04-29 16:00

Latest Comments

tinywrkb commented on 2020-06-28 19:44

Maybe add Target = usr/lib/initcpio/* to 90-dracut-install.hook so systemd upgrade will trigger initramfs rebuild.

codicodi commented on 2020-04-27 23:50

It seems like the comparsion on line 7 in dracut-install is wrong. Its currently comparing against

'usr/lib/modules'+([^/])'/pkgbase'

while it should be

'usr/lib/modules/'+([^/])'/pkgbase'

Note: slash after "modules". This results in all kernels being rebuilt instead of the needed one.

xuanruiqi commented on 2020-04-21 13:20

Hmm, there's only one problem with this hook: it builds all initramfs's for each kernel I have installed, unlike mkinitcpio which builds only those for which a rebuild is required. Is there any way to fix this?

kageurufu commented on 2020-03-24 23:51

Sorry about the delay, I fixed that bug but only pushed to my github mirror, and forgot to push to the AUR as well.

Huge apologies everyone!

RusWolf commented on 2020-02-17 07:29

The error in the file /usr/share/libalpm/hooks/90-dracut-remove.hook.

Exec = /usr/local/bin/dracut-remove.sh

Necessary: Exec = / usr / share / libalpm / scripts / dracut-remove