From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cWJ3V-0003RG-MY for mharc-grub-devel@gnu.org; Wed, 25 Jan 2017 03:35:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWJ3T-0003Qu-3x for grub-devel@gnu.org; Wed, 25 Jan 2017 03:35:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWJ3O-0004mE-Rk for grub-devel@gnu.org; Wed, 25 Jan 2017 03:35:47 -0500 Received: from smtp.nue.novell.com ([195.135.221.5]:48969) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWJ3O-0004lX-Ie for grub-devel@gnu.org; Wed, 25 Jan 2017 03:35:42 -0500 Received: from nwb-ext-pat.microfocus.com ([10.120.13.103]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Wed, 25 Jan 2017 09:35:40 +0100 Received: from linux-9gqx.suse.de (nwb-a10-snat.microfocus.com [10.120.13.201]) by nwb-ext-pat.microfocus.com with ESMTP (TLS encrypted); Wed, 25 Jan 2017 08:35:24 +0000 Date: Wed, 25 Jan 2017 16:35:17 +0800 From: Michael Chang To: The development of GNU GRUB Subject: Re: [PATCH 4/4] Allow protocol to be separated from host with a semicolon Message-ID: <20170125083517.GD16351@linux-9gqx.suse.de> Mail-Followup-To: The development of GNU GRUB References: <20170124003601.24612-1-mjg59@coreos.com> <20170124003601.24612-5-mjg59@coreos.com> <411c7ef8-85a2-afd8-7446-0fd8d3d98616@gmail.com> <20170125061847.GB16351@linux-9gqx.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 195.135.221.5 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 08:35:48 -0000 On Tue, Jan 24, 2017 at 10:21:22PM -0800, Matthew Garrett wrote: > On Tue, Jan 24, 2017 at 10:18 PM, Michael Chang wrote: > > On Tue, Jan 24, 2017 at 12:50:37PM -0800, Matthew Garrett wrote: > >> The DHCP server will return a string in the boot_file field. If you > >> want to indicate that this file should be obtained over http, the > >> easiest way to handle this is to provide a boot file in the form > >> (http,host)filename. Unfortunately dnsmasq uses commas to tokenise its > >> configuration parameters and there appears to be no way to override > >> that, which makes it impossible to provide a boot file in this form. > >> Allowing the use of an alternative character avoids this problem. > > > > To my understanding, you can (and have to) use the url form in boot-file and > > specify vendor-class-identifier to "HTTPClient" to let the UEFI firmware knows > > this as a response to HTTP boot request and handle that boot-file accordingly, > > then continue with that url loaded and run as NBP. > > We're passing the bootfile to grub in order to obtain further > configuration, so the firmware isn't relevant here. I mean that firmware may not be involved for now but it may be helpful someday to carry that very same config booted by firmware as is. And firmware did have implications to $prefix, if it's not been set, the value would be the booted device and path pass by firmware. To keep from ABI conflicts in modules loaded from elsewhere, you should not change it (in that further configration) unless you know the modules will always be compatible in new $prefix location. Thanks, Michael > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel