From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UkJOc-0007CV-Dd for mharc-grub-devel@gnu.org; Wed, 05 Jun 2013 15:29:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkJOZ-0007B6-CD for grub-devel@gnu.org; Wed, 05 Jun 2013 15:29:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkJOY-0003fa-7j for grub-devel@gnu.org; Wed, 05 Jun 2013 15:29:19 -0400 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]:54670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkJOX-0003fU-VA for grub-devel@gnu.org; Wed, 05 Jun 2013 15:29:18 -0400 Received: by mail-ee0-f50.google.com with SMTP id d49so599687eek.23 for ; Wed, 05 Jun 2013 12:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=0nmA3N1lQVIkD4R7WsphDXKtl3k4R5Vdr6SrkhIYiuc=; b=Ix3ezb+5RYaqo0nlv6RMQldfNhfNv/m+a5WKq2e2iMEaVqoLPMR5fr7CMCKS+r16Al Gpw61RjIO6O1qsZI0AG8xtfR7nz7Uwlqf9tTklAlfwrBpUp3Y0C7YvqHP3D8HzPeYfCi f3hB98MSwmnwfrgdXk2/PQXjBW8NRXkOGaoZBRTE1Qqzj09HFsRrS4JEDPkbZOsrc0bU duKMwU6Axfs1gUaKUEXCb0Q2YbNjk6wDGQ8idYybC0qfolPxM4zZMEdJsbawDQjcZUjV JmgmSlfRjd8TKSGG7Quof1UOBnb5ZIKwgXhXxZ6tMYC5cHYq6kd655sLEWlE5rB8HIzS 4hlw== X-Received: by 10.14.95.4 with SMTP id o4mr30251393eef.2.1370460556892; Wed, 05 Jun 2013 12:29:16 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id z52sm99482233eea.1.2013.06.05.12.29.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 12:29:16 -0700 (PDT) Message-ID: <51AF918A.4000007@gmail.com> Date: Wed, 05 Jun 2013 21:29:14 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [RFC] Support for UEFI ESP in os-prober References: <1348931070.2008.14.camel@opensuse.site> <20130531184843.235759e8@opensuse.site> <51A8CC08.8060303@gmail.com> <51A8D7E6.8030501@gmail.com> <51AF5FB8.6060101@kiilerich.com> <51AF73B2.5070109@gmail.com> <20130605215815.10b7954b@opensuse.site> <51AF86EE.2040905@gmail.com> <20130605230319.24d6323b@opensuse.site> In-Reply-To: <20130605230319.24d6323b@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2QQUOXQBMAOTPWDBLMBNT" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::232 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 19:29:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2QQUOXQBMAOTPWDBLMBNT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05.06.2013 21:03, Andrey Borzenkov wrote: > =D0=92 Wed, 05 Jun 2013 20:43:58 +0200 > Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: >=20 >> On 05.06.2013 19:58, Andrey Borzenkov wrote: >>> =D0=92 Wed, 05 Jun 2013 12:21:54 -0500 >>> Bruce Dubbs =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> >>>> Mads Kiilerich wrote: >>>>> On 05/31/2013 07:03 PM, Bruce Dubbs wrote: >>>>>> Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >>>>>> >>>>>>> I must say I'm generally disappointed with os-prober and have >>>>>>> ideas to move away from it. I'll start another topic for it. >>>>>> >>>>>> I agree. I would prefer adding an include command so grub.cfg cou= ld >>>>>> just do something like: >>>>>> >>>>>> include /boot/grub/grub.d/*.cfg >>>>>> >>>>>> and have an install procedure drop in one or more menu items inste= ad >>>>>> of every os install or update rewriting the entire grub.cfg every = time. >>>>> >>>>> http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ desc= ribes >>>>> such a configuration structure, and >>>>> http://pkgs.fedoraproject.org/cgit/grub2.git/plain/0362-blscfg-add-= blscfg-module-to-parse-Boot-Loader-Specif.patch >>>>> implements it as a grub command. >>>> >>>> Although that's a good start, it seems a little too specific. What = I=20 >>>> had in mind would be the equivalent to the source command in bash. >>> >>> grub already has "source" command. >>> >>>> F= or=20 >>>> example, >>>> >>>> if condition; then >>>> include (hd0,3)/grub/custom/themes/themeA.cfg >>>> else >>>> include (hd0,2)/boot/grub/themes/themeB.cfg >>>> fi >>>> >>>> # Get menuentries >>>> include /boot/grub/grub.d/*.cfg >>>> >>> >>> Implementing full-fledged globbing in grub is probably overkill; addi= ng >>> "source_dir" command looks more doable. Something like >>> >> We already have globbing. >=20 > Ehh .. you mean that >=20 > for i in /boot/grub/grub.d/*.cfg; do > source $i > done >=20 > already works? >=20 Yes, just make sure that regexp module is loaded. >> Trouble with this approach is that ->dir >> method may be slow or (especially on network systems) absent. It shoul= d >> not be relied upon unless absolutely necessary. >>> source_dir --suffix .cfg /boot/grub/grub.d=20 >>> >>> Any takers? :) >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> https://lists.gnu.org/mailman/listinfo/grub-devel >>> >> >> >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2QQUOXQBMAOTPWDBLMBNT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlGvkYoACgkQNak7dOguQgkzXgD+MmiLkWwbxTDtO2YWfb4EHRri tas1W7YZibpqsGsNNp4A/iRn6iNOA9mapxyNesiX23zSms6IXKILKyYKVANYwnf+ =iNFB -----END PGP SIGNATURE----- ------enig2QQUOXQBMAOTPWDBLMBNT--