From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SOWz2-0000bB-Qk for mharc-grub-devel@gnu.org; Sun, 29 Apr 2012 12:28:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOWyz-0000ag-UC for grub-devel@gnu.org; Sun, 29 Apr 2012 12:28:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOWyy-0008VK-4U for grub-devel@gnu.org; Sun, 29 Apr 2012 12:28:21 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:57381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOWyx-0008V7-RR for grub-devel@gnu.org; Sun, 29 Apr 2012 12:28:20 -0400 Received: by wibhm17 with SMTP id hm17so1741869wib.0 for ; Sun, 29 Apr 2012 09:28:17 -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=l5N48Di4np9II7Zte2fP5aCi8LXgZ/bcgPpf6ERxyx0=; b=KTHqQLfZCwZziExZdFMPh2QX2N0sgo7e9Wy559l/b1Nx/90d4eezzqb0x48noT/uPj MANNmZ5Lh+3TEBtWG0ItoGxbjih8CumEtbj0twC3JZxejLPblK4/+AcLguuUnmXC/JON rqACl40NmFamxOe1/vS1cXOPMHHVRrEPXcCMEaoyFJB/eXTP4iQWsV3n+lw2mtKS9fHr 1mvuAaXBFt3Is6m9ptgx2V4PbZ71azCG6WfN+aMf4HNBH3LzXAvFnOhOOAL8GBqN3NFb IPpSEonMoZ5yJxPun0LH31ewBRdrwvfxOfhXgaxBBoMITxl5u4R8eUi8FANXaLsgGpVO Fkow== Received: by 10.180.24.7 with SMTP id q7mr22370093wif.11.1335716897771; Sun, 29 Apr 2012 09:28:17 -0700 (PDT) Received: from debian.x201.phnet (226-72.76-83.cust.bluewin.ch. [83.76.72.226]) by mx.google.com with ESMTPS id ca3sm21904595wib.6.2012.04.29.09.28.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Apr 2012 09:28:16 -0700 (PDT) Message-ID: <4F9D6C1C.6040202@gmail.com> Date: Sun, 29 Apr 2012 18:28:12 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] Increase flexibility of kernel naming, allow non-versioned kernels. References: <4F9CC7A0.3090406@gentoo.org> In-Reply-To: <4F9CC7A0.3090406@gentoo.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig5B32F8B84807751D72281162" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 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: Sun, 29 Apr 2012 16:28:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5B32F8B84807751D72281162 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 29.04.2012 06:46, Mike Gilbert wrote: > I am relaying a patch by Robin Johnson, one of the core infrastructure > staff at Gentoo Linux. In the process of building some Gentoo servers > utilizing GRUB 2, he has made some changes to 10_linux that should make= > grub-mkconfig "out of the box" for additional users. > > I did a little work to clean up the indentation and wrote a proper > changelog. Credit should go to him. > > Here is his description: > > Increase flexibility of kernel naming, allow non-versioned kernels. > The block that tried to find the kernels was getting unweidly long, as > was not > easily customizable by users or distributors. Refactor to introduce a n= ew > variable, GRUB_KERNEL_GLOB, that allows complete control over the namin= g > used > to search for kernel binaries. It was well structured and its length is solely due to distros using multiple names. We can't make it shorter and this patch surely didn't. Also it looks like it actually degraded compatibility on POSIX systems. I don't consider that being able to customise the kernel naming is of any advantage. Saying otherwise is like saying "let's make location of /etc/passwd customizable". Some objects just have to be named as given. I don't see any advantage to renaming kernels, especially given that you can change versionstring as you see fit. > Add 'bzImage' to the list of default names to support more distribution= > naming > variants. > > Adjust the default set of globs to look for unversioned kernels before > versioned kernels, to find symlinked kernel names. Additionally empty version would probably result in some quirks not addressed in this patch. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig5B32F8B84807751D72281162 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 Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk+dbBwACgkQNak7dOguQgk5GgEAu+vCGvpatEYTG6jFwwH9wwD3 x+mpMj77m7V45pcY7yYA/3Uj7Ct3P12DZE4051fTxrp/+FJZ4wsCk0l4X41u6Upk =Ou7L -----END PGP SIGNATURE----- --------------enig5B32F8B84807751D72281162--