v0.5.18: add crypt + systemd-cryptsetup + ask-password agent to initramfs
v0.5.17 boot stuck at dracut-initqueue waiting for LUKS device that never unlocks. Plymouth removal also dropped the dracut machinery that prompts user for LUKS passphrase. Pure-text systemd-tty-ask- password-agent works in real root but isn't bundled into initramfs. Fix: dracut.conf.d/99-veilor-no-plymouth.conf: add_dracutmodules+=" crypt systemd-cryptsetup " install_items+=" /usr/bin/systemd-tty-ask-password-agent " Result: dracut bundles systemd-cryptsetup + ask-password binary into initramfs. cryptsetup-generator creates unit at boot, ask-password- agent prompts on tty1 in text mode "Please enter passphrase for...:". sendkey-friendly + works on real hardware.
This commit is contained in:
parent
8ebe3a9713
commit
2be5692c74
1 changed files with 6 additions and 0 deletions
|
|
@ -555,6 +555,12 @@ bash $REPO/scripts/kde-theme-apply.sh
|
||||||
mkdir -p /etc/dracut.conf.d
|
mkdir -p /etc/dracut.conf.d
|
||||||
cat > /etc/dracut.conf.d/99-veilor-no-plymouth.conf << 'EOF'
|
cat > /etc/dracut.conf.d/99-veilor-no-plymouth.conf << 'EOF'
|
||||||
omit_dracutmodules+=" plymouth "
|
omit_dracutmodules+=" plymouth "
|
||||||
|
# Ensure systemd-cryptsetup module + systemd-ask-password agent are
|
||||||
|
# included so LUKS prompt appears on tty1 (text mode) when plymouth
|
||||||
|
# is omitted. Without these, dracut loops on devexists waiting for
|
||||||
|
# an unlock that never happens.
|
||||||
|
add_dracutmodules+=" crypt systemd-cryptsetup "
|
||||||
|
install_items+=" /usr/bin/systemd-tty-ask-password-agent "
|
||||||
EOF
|
EOF
|
||||||
# Regenerate initramfs for the installed kernel(s).
|
# Regenerate initramfs for the installed kernel(s).
|
||||||
for kver in /lib/modules/*/; do
|
for kver in /lib/modules/*/; do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue