grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2] Add GRUB_DISABLE_UUID


From: Javier Martinez Canillas
Subject: Re: [PATCH v2] Add GRUB_DISABLE_UUID
Date: Fri, 4 Oct 2019 12:57:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

Hello Nicolas,

Thanks a lot for the feedback.

On 10/3/19 4:29 AM, Nicholas Vinson wrote:

[snip]

>>>
>>> +if [ "x${GRUB_DISABLE_UUID}" = "xtrue" ]; then
>>> +  if [ "x${GRUB_DISABLE_LINUX_UUID}" != "xfalse" ]; then
>>> +    GRUB_DISABLE_LINUX_UUID="true"
>>> +  fi
>>> +  if [ "x${GRUB_DISABLE_LINUX_PARTUUID}" != "xfalse" ]; then
>>> +    GRUB_DISABLE_LINUX_PARTUUID="true"
>>> +  fi
>>> +fi
> 
> I don't think this logic is exactly consistent with 
> 51be3372ec8ba07ef68a409956ea0eefa89fe7c5.  That commit assumes any value
> other than 'true' is false.  It also sets the default values for 

I'm not sure how we could make it more consistent with the mentioned commit
while only setting it to 'true' if the user haven't explicitly set the var
as Dan asked in the previous version of the patch.

> GRUB_DISABLE_LINUX_PARTUUID in 10_linux.in and 20_linux_xen.in.
>

This isn't an issue since that's only when GRUB_DISABLE_LINUX_PARTUUID
hasn't been set, but it will be set to 'true' if GRUB_DISABLE_UUID=true.

> Both minor issues, but I do wonder if they should be addressed.
>
> Thanks,
> Nicholas Vinson
> 

Best regards,
-- 
Javier Martinez Canillas
Software Engineer - Desktop Hardware Enablement
Red Hat



reply via email to

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