diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2024-01-03 15:44:43 +0100 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2024-01-03 15:44:43 +0100 |
| commit | 016fa9cc0e53ec2132118ce52261c0cfc382a37e (patch) | |
| tree | eb3e47f1d49699e5229427b3ad70ccbf2d548b54 /dracut | |
| parent | f6549b7b46c24fa3489fa9eb894c985af135964c (diff) | |
1
Diffstat (limited to 'dracut')
| -rw-r--r-- | dracut/dracut.conf.d/dracut.conf | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/dracut/dracut.conf.d/dracut.conf b/dracut/dracut.conf.d/dracut.conf index dc3d51a..0928074 100644 --- a/dracut/dracut.conf.d/dracut.conf +++ b/dracut/dracut.conf.d/dracut.conf @@ -5,7 +5,14 @@ hostonly="yes" # Choose compression program for the image (gzip is default) compress="xz" -# Unified Kernel Image -uki="yes" +uefi="yes" +# this goddamn thing expects a systemd efistub (USE=boot emerge systemd-utils) +# TODO use efistub of Linux's -kernel_cmdline="rd.luks.uuid=luks-[UUID of crypto_LUKS partition without brackets]" +# OpenRC does not care for /etc/crypttab, but dracut, being a Redhat's child (a therefore a systemd fanboy) will +# instead of adding a /etc/crypttab just for dracut, we specify LUKS name +# why this is not documented anywhere but the depths of forums - I have no goddamn clue; thanks, GlowHat +kernel_cmdline="rd.luks.name=<crypto_LUKS UUID>=root root=/dev/mapper/root rd.lvm=0 rd.md=0 rd.dm=0" + +uefi_secureboot_cert="/etc/secrets/efi/db.crt" +uefi_secureboot_key="/etc/secrets/efi/db.key" |
