[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GRUB PARTUUID PATCH 2/2] Update grub script template files
From: |
Nicholas Vinson |
Subject: |
Re: [GRUB PARTUUID PATCH 2/2] Update grub script template files |
Date: |
Tue, 19 Jul 2016 07:07:05 -0700 |
Thanks,
Nicholas Vinson
Signed-off-by: Nicholas Vinson <address@hidden>
---
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
index 5a78513..dc9bab0 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -224,11 +224,11 @@ while [ "x$list" != "x" ] ; do
elif test -z "${initramfs}" ; then
# "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's
# no initrd or builtin initramfs, it can't work here. However, if
# GRUB_DEVICE_PARTUUID is not empty we can use that here if
# GRUD_DISABLE_LINUX_UUID is not set to true.
- if [ "x${GRUB_DISABLE_LINUX_UUID}" != "xtrue" ]
+ if [ "x${GRUB_DISABLE_LINUX_UUID}" != "xtrue" ] \
&& [ "x${GRUB_DEVICE_PARTUUID}" != "x" ]; then
linux_root_device_thisversion="PARTUUID=${GRUB_DEVICE_PARTUUID}"
else
linux_root_device_thisversion=${GRUB_DEVICE}
fi
- Re: [GRUB PARTUUID PATCH 2/2] Update grub script template files,
Nicholas Vinson <=