Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iLNDL-0004Ya-07 for mharc-grub-devel@gnu.org; Fri, 18 Oct 2019 04:02:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34610) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLNDA-0004G9-RT for grub-devel@gnu.org; Fri, 18 Oct 2019 04:02:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLND5-0006tR-RI for grub-devel@gnu.org; Fri, 18 Oct 2019 04:02:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34164) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLND5-0006s2-IL for grub-devel@gnu.org; Fri, 18 Oct 2019 04:02:07 -0400 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A7E3111A22 for ; Fri, 18 Oct 2019 08:02:06 +0000 (UTC) Received: by mail-wr1-f72.google.com with SMTP id w10so2211187wrl.5 for ; Fri, 18 Oct 2019 01:02:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UiU6qhhezBtwIrlOvPcQWjm3kUEaWXg3GgeTqYe+7L8=; b=VxMLmb7E9Sy7q4Prsosftm67I/xkfLGYZUZw6jA2v0iKMNP/heWaMovcJGYFfIko7u 5ripnW5mmtkx1wOc71BVkkWm3MusL8JeQUS3grl304Ug2fkIQF2NIbxbTcklCb5nWyxx 54NjTdrTH+KdafSnZXQPqHn/F5ybythYFzbN1EBaaRmvSFAg3cR0KQKhIzPEe+4EZjP6 PCequE+ssai7s71xrO4qod1LxH8m5Ys0O9EOcygkBorcUmVWYewm1o5l1oAGoqvddclO uAC9BiimnruSNIy1lQlZkBoiNyEBYfCm/7AntBW2xM2VNdr6JWTYgPjOTY6pEmn6Ynys EliQ== X-Gm-Message-State: APjAAAWvTyp9N9MFMQ8GWhAqObLwM+MHaGMD3YiW+i6Mb5bXrvHJ5SEC HKezos96SZbeQYZub5HW0AFbtqdqhkY4POSPJo5qwV3yJ/cm/vM4bfwbukHXf67MXhNM5YC+v/u 8157JOn9qxMw= X-Received: by 2002:a1c:a651:: with SMTP id p78mr6483730wme.53.1571385725377; Fri, 18 Oct 2019 01:02:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQ5DGBstph8G1b2UUWHYCJlV/WD/KFnZLIwgB/xm2+KbZE+dtQrHmmX96vK0hkd8xxfnAzQA== X-Received: by 2002:a1c:a651:: with SMTP id p78mr6483699wme.53.1571385725106; Fri, 18 Oct 2019 01:02:05 -0700 (PDT) Received: from [192.168.1.13] ([90.168.169.92]) by smtp.gmail.com with ESMTPSA id q22sm4264343wmj.5.2019.10.18.01.02.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2019 01:02:04 -0700 (PDT) Subject: Re: [PATCH v2] Add GRUB_DISABLE_UUID From: Javier Martinez Canillas To: Nicholas Vinson , Daniel Kiper Cc: grub-devel@gnu.org, Peter Jones , Vladimir Serbinenko References: <20190930145912.20375-1-javierm@redhat.com> <20191002120955.5qkvrjqsnpmmwcyy@tomti.i.net-space.pl> <85453966-4f9d-39c0-ccb7-310dfd23d537@gmail.com> <422ba861-a9fc-2f0e-751b-b23326491ce9@redhat.com> Message-ID: <63f76dbd-4b5b-6e48-c9ff-1deecf341d4c@redhat.com> Date: Fri, 18 Oct 2019 10:02:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <422ba861-a9fc-2f0e-751b-b23326491ce9@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2019 08:02:19 -0000 Hello Daniel and Nicolas, On 10/4/19 12:57 PM, Javier Martinez Canillas wrote: > 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. > Any comments on this? >> 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, > Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat