grub-devel
[Top][All Lists]
Advanced

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

Re: [GRUB PARTUUID PATCH 2/2] Update grub script template files


From: Nick Vinson
Subject: Re: [GRUB PARTUUID PATCH 2/2] Update grub script template files
Date: Tue, 19 Jul 2016 07:16:43 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

My apologies.  It looks like most of my reply was cut-off when this
email was sent.  I'm pasting the missing part below.

Thanks,
Nicholas Vinson

> I found a minor error in my original patch for 10_linux.in.  I created the 
> patch
> below to fix it.  My apologies for not noticing it in the original
> submission.

On 07/19/2016 07:07 AM, Nicholas Vinson wrote:
> 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
> 



reply via email to

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