From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UkIgn-0004h9-U1 for mharc-grub-devel@gnu.org; Wed, 05 Jun 2013 14:44:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkIgl-0004gz-2K for grub-devel@gnu.org; Wed, 05 Jun 2013 14:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkIgj-0004dS-Vi for grub-devel@gnu.org; Wed, 05 Jun 2013 14:44:02 -0400 Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]:42724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkIgj-0004dF-PM for grub-devel@gnu.org; Wed, 05 Jun 2013 14:44:01 -0400 Received: by mail-ea0-f176.google.com with SMTP id o14so1422098eaj.35 for ; Wed, 05 Jun 2013 11:44:00 -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=1WSgDpG/gKltWQL2EODyN80vehxjrEjXGl9WROC7eXg=; b=zbPp8l4VxV/ii55FIRtd3c8REfl4JbkNv88616JWznf08NaTMPHUpCU3VP0dbr7En+ Ze64U9FSkZuofShim+zJhtN9TKnJPPJAAALgSkfiZ7VQKOtHTITFk8St3jb7tEVZjoEL s5fwxlTr/pDHA4KKnxwxQUB0NWglWYt4BQgde5470rOoq9odI0Tc7zuX61D1ZGlIRnWi nf9ZqdBYkqNjG2QLmgAvrKPm2vJ2xT89+PGQ0XPncO8ffOTh0ziznnTSNvohXaa4c0VX Ga8VBUykh+JLogCZgAlNavs9H9m+3C2bW23bD1BA+IvIM84Wr8d3nokRSrflAH6iEhEJ DUPg== X-Received: by 10.14.181.131 with SMTP id l3mr30294934eem.16.1370457840828; Wed, 05 Jun 2013 11:44:00 -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 l6sm99517780eef.12.2013.06.05.11.43.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 11:43:59 -0700 (PDT) Message-ID: <51AF86EE.2040905@gmail.com> Date: Wed, 05 Jun 2013 20:43:58 +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> In-Reply-To: <20130605215815.10b7954b@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2TNTJKTBSVVVMVMTCFGRB" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::230 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 18:44:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2TNTJKTBSVVVMVMTCFGRB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: >=20 >> 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 could= >>>> just do something like: >>>> >>>> include /boot/grub/grub.d/*.cfg >>>> >>>> and have an install procedure drop in one or more menu items instead= >>>> of every os install or update rewriting the entire grub.cfg every ti= me. >>> >>> http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ descri= bes >>> such a configuration structure, and >>> http://pkgs.fedoraproject.org/cgit/grub2.git/plain/0362-blscfg-add-bl= scfg-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 = >> had in mind would be the equivalent to the source command in bash. >=20 > grub already has "source" command. >=20 >> For= =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 >> >=20 > Implementing full-fledged globbing in grub is probably overkill; adding= > "source_dir" command looks more doable. Something like >=20 We already have globbing. Trouble with this approach is that ->dir method may be slow or (especially on network systems) absent. It should not be relied upon unless absolutely necessary. > source_dir --suffix .cfg /boot/grub/grub.d=20 >=20 > Any takers? :) >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2TNTJKTBSVVVMVMTCFGRB 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/ iF4EAREKAAYFAlGvhu4ACgkQNak7dOguQgm3NgEAtBDtcv1i0tftWX6fn5LF4cyv YHJTCRaFnFMki3lNUCUA/ifWitP8zqJxha1z+alj+7EbU+ZunJnSHUXi+4iDD0NY =aH4v -----END PGP SIGNATURE----- ------enig2TNTJKTBSVVVMVMTCFGRB--