grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query about GRUB_ENABLE_CRYPTODISK


From: Barry Jackson
Subject: Re: Query about GRUB_ENABLE_CRYPTODISK
Date: Wed, 10 Dec 2014 20:48:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 10/12/14 03:25, Andrei Borzenkov wrote:


Does patch below help?

From: Andrei Borzenkov <address@hidden>
Subject: [PATCH] do not emit cryptomount without crypto UUID

---
  util/grub-mkconfig_lib.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in
index 29ef865..60b31ca 100644
--- a/util/grub-mkconfig_lib.in
+++ b/util/grub-mkconfig_lib.in
@@ -145,7 +145,7 @@ prepare_grub_to_access_device ()
    done

    if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then
-      for uuid in "`"${grub_probe}" --device $@ --target=cryptodisk_uuid`"; do
+      for uuid in `"${grub_probe}" --device $@ --target=cryptodisk_uuid`; do
          echo "cryptomount -u $uuid"
        done
    fi


Yes that fixes it. Thanks :)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]