Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify UKI output path in dracut.conf #2619

Open
avidseeker opened this issue Feb 7, 2024 · 0 comments
Open

Specify UKI output path in dracut.conf #2619

avidseeker opened this issue Feb 7, 2024 · 0 comments
Labels
enhancement Issue adding new functionality

Comments

@avidseeker
Copy link

In mkinitcpio this is as simple as setting in /etc/mkinitcpio.d/linux.preset:

default_uki="/efi/EFI/Linux/new-uki-path.efi"

I couldn't find a similar option in dracut.

According to man dracut.conf

       uefi="{yes|no}"
           Instead of creating an initramfs image, dracut will create an UEFI executable, which can be executed by an UEFI BIOS (default=no). The default output filename is
           <EFI>/EFI/Linux/linux-$kernel$-<MACHINE_ID>-<BUILD_ID>.efi. <EFI> might be /efi, /boot or /boot/efi depending on where the ESP partition is mounted. The <BUILD_ID> is taken from BUILD_ID in /usr/lib/os-release or
           if it exists /etc/os-release and is left out, if BUILD_ID is non-existent or empty.

However, it doesn't specify how to change the default output filename.

@avidseeker avidseeker added the enhancement Issue adding new functionality label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue adding new functionality
Projects
None yet
Development

No branches or pull requests

1 participant