Blame 0064-90crypt-module-setup.sh-prepend-luks-to-hostonly-cmd.patch

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