Package Details: dracut-ukify 9-4

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: 9
Popularity: 0.66
First Submitted: 2023-02-20 21:54 (UTC)
Last Updated: 2024-07-16 07:24 (UTC)

Latest Comments

1 2 3 Next › Last »

Prototik commented on 2024-07-15 17:38 (UTC)

@android_aur sure, added in 9-3, thanks for suggestion!

android_aur commented on 2024-07-15 06:41 (UTC) (edited on 2024-07-15 06:42 (UTC) by android_aur)

Awesome package! Thanks.

Would it be possible to add Target = usr/lib/firmware/* as an install [Trigger]? So that my UKI gets rebuild on linux-firmware package updates? The script I was previously using had this in it's install.hook.

aur_person23 commented on 2024-06-30 09:25 (UTC) (edited on 2024-06-30 09:26 (UTC) by aur_person23)

@Prototik THX!

I ment a note along the lines of that dracut-ukify will use flags from /etc/dracut.conf.d/* and that ukify_variants=() is just for flag overrides in different variants.

Since at least to me it was not clear if I had to manually copy the contents of /etc/dracut.conf.d/* into

ukify_variants=(
  [default]="mycopyiedflags"
)

or not.

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

@aur_person23

Also a small note that dracut-ukify does not(?) take existing kernel parameters from /etc/kernel/cmdline?

It's kinda systemd' kernel-install specific, but I don't see a reason why we can not use it too, so dracut-ukify 9-1 now using it if nothing provided via dracut-ukify.conf. Moreover, it will search for /etc/kernel/cmdline, /usr/lib/kernel/cmdline and /proc/cmdline, and use first one found.

Would it be possible to add a short note/comment in dracut-ukify.conf to help other users?

What kind of note do you offer?

aur_person23 commented on 2024-06-30 06:38 (UTC) (edited on 2024-06-30 06:40 (UTC) by aur_person23)

@Prototik Thank you for your help!

Would it be possible to add a short note/comment in dracut-ukify.conf to help other users?


Also a small note that dracut-ukify does not(?) take existing kernel parameters from /etc/kernel/cmdline?

I could only get dracut-ukify working after manually copying my kernel parameters to ukify_global_args+=(--cmdline "root=/dev/sda1 quiet")

(I just assumed that would look at /etc/kernel/cmdline because the project I was previous using - kernel-install-for-dracut [AUR] - did)

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