dracut/0064-90crypt-module-setup.sh-prepend-luks-to-hostonly-cmd.patch
2012-01-23 13:53:40 +01:00

24 lines
879 B
Diff

From 5f282199c8362abce7e06adde909a24a47181008 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 23 Jan 2012 13:50:27 +0100
Subject: [PATCH] 90crypt/module-setup.sh: prepend "luks-" to hostonly cmdline
file
---
modules.d/90crypt/module-setup.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh
index a92c187..9dc55f5 100755
--- a/modules.d/90crypt/module-setup.sh
+++ b/modules.d/90crypt/module-setup.sh
@@ -20,7 +20,7 @@ check() {
break
done)
[[ ${ID_FS_UUID} ]] || continue
- echo " rd.luks.uuid=${ID_FS_UUID} " >> "${initdir}/etc/cmdline.d/90crypt.conf"
+ echo " rd.luks.uuid=luks-${ID_FS_UUID} " >> "${initdir}/etc/cmdline.d/90crypt.conf"
}
[[ $hostonly ]] || [[ $mount_needs ]] && {