Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iflw5-0001T3-5n for mharc-grub-devel@gnu.org; Fri, 13 Dec 2019 09:28:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37013) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iflvy-0001RI-UU for grub-devel@gnu.org; Fri, 13 Dec 2019 09:28:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iflvx-0000Sy-Rv for grub-devel@gnu.org; Fri, 13 Dec 2019 09:28:46 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:50052 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iflvx-0000Rk-NM for grub-devel@gnu.org; Fri, 13 Dec 2019 09:28:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576247324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7zo6h8eKdLpaPXskpCXM0m/N7hJKN+vtKN6rbPr/G3w=; b=dKhFj88iHXR3g90YRajqkBycONw/7uesYvEPx454XnwT3njr9yOkzaVZFTxS1uwjMKToxE WwcUrmJ8EdMv5xSKv1kjHwQLzJWc4i47BQpqa06WSmv32ukMDd1NdCZcgKN5jXJGK0J4sH SYobtvA65c2O8LOr0PK6e2RrnZsR6fQ= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-37-qlCCxLk5MFCFxzf4aDlQZg-1; Fri, 13 Dec 2019 09:28:41 -0500 Received: by mail-wr1-f72.google.com with SMTP id f10so2652864wro.14 for ; Fri, 13 Dec 2019 06:28:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7zo6h8eKdLpaPXskpCXM0m/N7hJKN+vtKN6rbPr/G3w=; b=Dua7vzBc75cJcjOgJbiOBuP2yx3zB7XA8R31N2Bv3syA+UPmdiiFY7XLkbeQvJClX+ xztwO4jVn3JWiykcSLywd1i5cMvhlQQUl0in4rmX/BzsKh01wHBf0DUQVOuZKvyK6wHl VTtxK1oyE4hJivV69ROyyn+Sv1An3YVw6TJqBMuvYM4m2e9ZlgUFcP+XjjEH9ZSfDaH6 DqZuQ3wvd8i0LbC8OzyBr32uwX1Xfl+p+POgG6X4iPj5UY7+HUw1QoJ2xUJbTMysrddo CK9AugM1U/whLrkMYaxaLdhjDUAIbJI6ldlTXsGwmfTyfy9BFsMDDZnabQNCJXBSXZyR 4BOg== X-Gm-Message-State: APjAAAUtPnGNI9oyqCK/2hcNpcAufqUkwdoEfLYGPqfMxPVm/ErrdG56 A0kD9KyF+ERmpO7p84cOzGGVtagNXhoyjgdYfDOvT86fqyJvasuXOQ5tSuoIJQw52eekREQhpmX sA1RhkkZk3k8= X-Received: by 2002:a05:600c:a:: with SMTP id g10mr13561844wmc.69.1576247320841; Fri, 13 Dec 2019 06:28:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyyyHidx59H++vZi936X0+el03d41ihdycLufO8Y7qlhSsLgOnYgezisK2DFvxErW+L4eaHxw== X-Received: by 2002:a05:600c:a:: with SMTP id g10mr13561818wmc.69.1576247320586; Fri, 13 Dec 2019 06:28:40 -0800 (PST) Received: from [192.168.1.14] ([90.168.169.92]) by smtp.gmail.com with ESMTPSA id q11sm10116739wrp.24.2019.12.13.06.28.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Dec 2019 06:28:39 -0800 (PST) Subject: Re: [PATCH v5 4/5] normal/main: Search for specific config files for netboot To: Daniel Kiper Cc: Vladimir 'phcoder' Serbinenko , The development of GRUB 2 , Daniel Kiper , Paulo Flabiano Smorigo References: <20191029141612.29488-1-javierm@redhat.com> <20191029141612.29488-5-javierm@redhat.com> <8509c8d0-69f7-f207-e73b-47e666ebc7be@redhat.com> <20191129154635.77b4gp2nyq3gfhq3@tomti.i.net-space.pl> From: Javier Martinez Canillas Message-ID: <929b625e-8849-a364-3339-ffca1858ca55@redhat.com> Date: Fri, 13 Dec 2019 15:28:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191129154635.77b4gp2nyq3gfhq3@tomti.i.net-space.pl> Content-Language: en-US X-MC-Unique: qlCCxLk5MFCFxzf4aDlQZg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 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, 13 Dec 2019 14:28:48 -0000 On 11/29/19 4:46 PM, Daniel Kiper wrote: > On Wed, Oct 30, 2019 at 06:02:35PM +0100, Javier Martinez Canillas wrote: >> On 10/30/19 2:45 PM, Vladimir 'phcoder' Serbinenko wrote: >>> We had a discussion with Daniel and agreed on following: >>> 1) we accept the feature >> >> Great, thanks. >> >>> 2) we want to have an option to specify grub config file. And if this >>> option is present, the scanning would be disabled >> >> Sure, you mentioned that this should be a DHCP option. Which option were >> you thinking that could be used for this? > > We took closer look at DHCP RFC and it seems to us that it is more > complicated than we expected. So, let's do this differently. Please add Yes, I also took a closer look at the RFC and didn't see how what you proposed could be done. > a variable which can be used to disable this feature. However, it should > be noted in the GRUB doc that this variable has to be set in early > config file. > I don't know if that could work, since this logic is to fetch the config file where this variable could be set (or a load_env command invoked to load these from an env file). Another option is to have this feature under a configure flag that will be disabled by default. Then distros that want the feature can enable it. > Daniel > Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat