Package Details: dracut-ukify 9-5

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.71
First Submitted: 2023-02-20 21:54 (UTC)
Last Updated: 2024-08-19 16:31 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Prototik commented on 2024-06-30 06:08 (UTC)

@aur_person23 sure, all available config files of dracut used in the initrd generation process for any variants, see man 5 dracut.conf for search paths.

But if you need to pass some flags only for some variants, you need to used ukify_variants as you stated.

aur_person23 commented on 2024-06-29 11:14 (UTC) (edited on 2024-06-29 11:18 (UTC) by aur_person23)

Quick question:

Does dracut-ukify automatically take existing flags from e.g.: /etc/dracut.conf.d/myflags.conf?

Or are you supposed to move those flags into dracut-ukify.conf like so:

ukify_variants=(
  [default]="--omit_dracutmodules+=" network nfs cifs " --add_drivers+=" i915 ""

?

Prototik commented on 2024-05-13 08:47 (UTC)

@qupfer that's leftover of previously broken systemd-ukify package, which didn't depends on python and so all of it broken. Nowadays this dep can be removed, yeah.

qupfer commented on 2024-03-15 14:37 (UTC)

hi, nothing wrong but just out of curiosity (because I can't see it): Why depend 'this' on python?

Prototik commented on 2024-03-10 08:51 (UTC)

@blinxwang fixed in 8, ty

blinxwang commented on 2024-03-08 21:10 (UTC) (edited on 2024-03-08 21:11 (UTC) by blinxwang)

Since version 7-2, 90-dracut-ukify-install.hook fails with the following error:

 (3/5) Updating linux images...
 /usr/bin/dracut-ukify: line 184: /usr/lib/modules/6.7.8-arch1-2/pkgbase: No such file or directory
 error: command failed to execute correctly

The issue seems to be the dracut-ukify script looking for the previous version of the linux package that was just updated (and thus no longer exists), but doesn't recognize the new version that was just installed.

Prototik commented on 2024-03-05 10:10 (UTC)

@ishanarora fixed, ty for report

@chaserhkj I've added per-variant overrides of cmdline in version 7, ty for suggestion.

ishanarora commented on 2023-12-30 02:33 (UTC)

BUG: removing a dkms module package doesn't update linux images.

Following should be included in 90-dracut-ukify-install.hook:

[Trigger]
Type = Path
Operation = Remove
Target = usr/src/*/dkms.conf

Additionally Target = usr/src/*/dkms.conf should be removed from 60-dracut-ukify-remove.hook.

Thanks for your work!

chaserhkj commented on 2023-10-11 21:35 (UTC)

Can we have some options in dracut-ukify.conf to append different ukify parameters for different variants? I want to add some special kernel boot parameters to a variant but found out that adding "--kernel-cmdline" to dracut via ukify_variants does not work. The flag seems to only override parameters that dracut initramfs needs from kernel cmdline.

Shished commented on 2023-08-14 16:21 (UTC)

Is it possible to enable dracut output messages?