Search Criteria
Package Details: dracut-ukify 9-7
Package Actions
Git Clone URL: | https://aur.archlinux.org/dracut-ukify.git (read-only, click to copy) |
---|---|
Package Base: | dracut-ukify |
Description: | Integration layer for dracut and systemd's ukify tool for Arch Linux |
Upstream URL: | https://aur.archlinux.org/packages/dracut-ukify |
Licenses: | MIT |
Conflicts: | dracut-hook-uefi, dracut-uefi-hook |
Provides: | dracut-hook |
Submitter: | Prototik |
Maintainer: | Prototik |
Last Packager: | Prototik |
Votes: | 10 |
Popularity: | 0.92 |
First Submitted: | 2023-02-20 21:54 (UTC) |
Last Updated: | 2024-12-11 12:33 (UTC) |
Dependencies (3)
- dracut (dracut-gitAUR)
- systemd-ukify (systemd-chromiumos-ukifyAUR, systemd-ukify-selinuxAUR, systemd-ukify-gitAUR, systemd-ukify-fmlAUR)
- sbsigntools (sbsigntools-gitAUR) (optional) – secureboot support
Required by (1)
- nvidia-dracut-hook (requires dracut-hook)
Latest Comments
1 2 3 4 Next › Last »
phush0 commented on 2024-12-13 10:10 (UTC)
be aware that the new systemd boot do not support lz4
Prototik commented on 2024-12-11 12:33 (UTC)
@ddd my bad, fixed, thanks
ddd commented on 2024-12-11 10:54 (UTC)
Wrong hash of dracut-ukify.conf after the latest change.
jcruz commented on 2024-08-19 11:58 (UTC)
Thanks for the pointers. I will test it out in a VM later. This information should be documented better in the Arch Wiki. The UKI article just links to the Dracut article in the Dracut subsection. And the Dracut article tells you to use the flags/options for Dracut to use it, but then tells you to use this package to get the pacman hooks, but it is not stated that you should not use dracut UKI generation then. Since the systemd-ukify details are in the UKI article, you won't know if you only look at the Dracut article.
Prototik commented on 2024-08-19 05:21 (UTC)
@dngray @jcruz you both got wrong assignment by using dracut's built-in uefi(ukify) mode. You don't need to pass any uefi-related options to the dracut, but generate plain old initrd image, which then will be included in the resulted uki image by systemd-ukify. To avoid this issue further I'll add
--no-uefi
flag to the internal dracut image generation process.TL;DR: remove uefi="yes" option from dracut config, and don't ever use
dracut --regenerate-all
with dracut-ukify.Shished commented on 2024-08-19 05:19 (UTC)
You should remove 'uefi=yes' from dracut.conf. This option make dracut generate UKIs on its own and it conflicts with dracut-ukify which uses ukify for that.
dngray commented on 2024-08-19 05:09 (UTC)
jcruz, you're not the only one I too was having this issue https://bbs.archlinux.org/viewtopic.php?id=292326 and have not been able to successfully build a UKI with dracut-ukify.
I made habit of making sure to do it with dracut directly after a kernel update to avoid it. Would be nice if this could be fixed, or we could know what we're doing wrong.
jcruz commented on 2024-08-18 20:36 (UTC) (edited on 2024-08-18 20:37 (UTC) by jcruz)
Hi,
I'm testing this on a VM and installed a fresh arch. My setup includes LUKS & LVM and 3 kernels: linux, linux-zen & linux-lts. I have a custom /etc/dracut.conf.d/custom.conf with the following:
From arch-chroot, when I run
dracut --regenerate-all -f
it generates the efi files and it works just fine after reboot. I'm using systemd-boot.In the etc/dracut-ukify.conf I changed the default kernel to be linux-zen and uncommented the ukify_variants. I also removed the
hostonly
flag from the custom.conf above.If I then run
dracut-ukify -a
to regenerate the efi and reboot I get an error about a magic number and can't decompress a file and it won't boot. I have to boot from the installation ISO and regenerate with pure dracut.I know dracut works, so I'm not sure why this script does something that breaks it.
Prototik commented on 2024-07-15 17:38 (UTC)
@android_aur sure, added in 9-3, thanks for suggestion!
1 2 3 4 Next › Last »