Package Details: dracut-uefi-hook 6-1

Git Clone URL: https://aur.archlinux.org/dracut-uefi-hook.git (read-only, click to copy)
Package Base: dracut-uefi-hook
Description: Install/update/removal hooks for dracut unifed uefi image generation
Upstream URL: https://aur.archlinux.org/packages/dracut-uefi-hook/
Licenses: MIT
Conflicts: dracut-hook-uefi
Provides: dracut-hook
Submitter: Prototik
Maintainer: Prototik
Last Packager: Prototik
Votes: 10
Popularity: 0.150593
First Submitted: 2021-08-19 20:26 (UTC)
Last Updated: 2023-02-05 12:16 (UTC)

Latest Comments

Moo-Crumpus commented on 2022-06-17 10:39 (UTC)

Like

for i in *.conf; do [ -f "$i" ] || break ... done

Moo-Crumpus commented on 2022-06-15 09:31 (UTC)

Cool. Ask me, if you need help testing.

Prototik commented on 2022-06-15 08:52 (UTC)

@Moo-Crumpus thanks for your feedback!

So, dracut's alternative to fallback images is hostonly=no I think.

Actually i have some concept in mind to add additional "variants" for each kernel. Then fallback-like (in general, any flags can be passed for each variant) images can be easily achieved via config file, but it need some time to prototype and test such feature.

Moo-Crumpus commented on 2022-06-15 08:08 (UTC)

I love this hook. Any chance to add fallback options to it? Like create an uefi image for a fallback kernel with it's own kernel cmd line.

Prototik commented on 2021-12-03 11:54 (UTC)

@Hanabishi nice catch, thank you!

Hanabishi commented on 2021-12-03 11:12 (UTC) (edited on 2021-12-03 11:12 (UTC) by Hanabishi)

Maybe the package should have strict binutils dependency? Because it's optional for dracut, but required to run --uefi.

Prototik commented on 2021-10-21 00:38 (UTC)

About upstream url: there is no dedicated upstream for this project, I used AUR's git for this purpose. So I can only set upstream url to AUR page itself.

I'll add conflict in the next update, thanks.

deimosian commented on 2021-10-21 00:34 (UTC)

Wow, that was fast! Confirmed it is fixed, thanks!

If I might make a couple general suggestions: It would be nice to have an upstream URL to a git repo, and it might be wise to add a conflict with the (in my opinion inferior) dracut-hook-uefi package.

Prototik commented on 2021-10-20 23:59 (UTC)

@deimosian thanks for the report! Fixed in 3-1, please give a try!

deimosian commented on 2021-10-20 23:11 (UTC) (edited on 2021-10-20 23:13 (UTC) by deimosian)

Incompatible with https://archlinux.org/packages/community/any/kernel-modules-hook/

:: Running post-transaction hooks...
(1/5) Restoring Linux kernel modules...
++ uname -r
+ KVER=5.10.72-1-lts
+ test -e /usr/lib/modules/backup/5.10.72-1-lts
+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/5.10.72-1-lts /usr/lib/modules/
+ rm -rf /usr/lib/modules/backup
(2/5) Triggering wallpaper regeneration...
(3/5) Arming ConditionNeedsUpdate...
(4/5) Updating module dependencies...
(5/5) Updating linux images...
/usr/share/libalpm/scripts/dracut-uefi-install: line 46: /usr/lib/modules/5.10.72-1-lts/pkgbase
/usr/lib/modules/5.10.73-1-lts/pkgbase
/usr/lib/modules/5.10.75-1-lts/pkgbase: No such file or directory
error: command failed to execute correctly