From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OYbRN-0007c3-OW for mharc-grub-devel@gnu.org; Tue, 13 Jul 2010 05:06:13 -0400 Received: from [140.186.70.92] (port=44760 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYbRF-0007YA-Rf for grub-devel@gnu.org; Tue, 13 Jul 2010 05:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYbR9-0006w9-G6 for grub-devel@gnu.org; Tue, 13 Jul 2010 05:06:05 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:46745) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYbR9-0006w1-AS for grub-devel@gnu.org; Tue, 13 Jul 2010 05:05:59 -0400 Received: by bwz9 with SMTP id 9so3749922bwz.0 for ; Tue, 13 Jul 2010 02:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=XHcAikHuAWzlTg1qmS1INxKft0ttsNOGbo/v5OgkQho=; b=vNuhcc8INlwTilmIIjYVyOmX8v8zeSZF7TRU7vYqJ0TKVO6BClFFms4emkDGVB8Xgg EWPUJAjyFVUVoYuBHLPp67iWsOfhvMiSoukNHCBwZHWvWwqDAgmCfkChfd21uE2jnyjr 9Ls4B30mA51ym3+tSmzoA1eidYinp7mueibN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=Sx94GJ4h2qjDR8KJqCYEZsGiNcu/KvIsy2I71UVPFBJjsvqMlcFDroP3oTcFyKkRm5 gBGrGN9/9sqZpG6cHBmJdXossyjZDWhXPYumT1++xoUrBxjHNLfrfkMCgffbqpR/jvjf EAJi8v74L8oetCSwdcsSs/4N/UD0mDAb6DrPA= Received: by 10.204.176.144 with SMTP id be16mr6184564bkb.53.1279011958549; Tue, 13 Jul 2010 02:05:58 -0700 (PDT) Received: from debian.bg45.phnet (vpn-global-dhcp3-158.ethz.ch [129.132.210.158]) by mx.google.com with ESMTPS id 24sm22782170bkr.19.2010.07.13.02.05.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Jul 2010 02:05:57 -0700 (PDT) Message-ID: <4C3C2C73.5010700@gmail.com> Date: Tue, 13 Jul 2010 11:05:55 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org References: <20100202200622.28744.65677.reportbug@tux64.internal.ucko.debian.net> <20100713011203.GA1008@riva.ucam.org> <20100713011353.GA1088@riva.ucam.org> In-Reply-To: <20100713011353.GA1088@riva.ucam.org> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig7451713543D668B24416221A" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub-common: wrongly sorts 2.6.32-trunk ahead of 2.6.32-1 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Tue, 13 Jul 2010 09:06:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7451713543D668B24416221A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/13/2010 03:13 AM, Colin Watson wrote: > On Tue, Jul 13, 2010 at 02:12:03AM +0100, Colin Watson wrote: > =20 >> On Tue, Feb 02, 2010 at 03:06:22PM -0500, Aaron M. Ucko wrote: >> =20 >>> --- /usr/lib/grub/grub-mkconfig_lib 2010-01-28 11:05:49.000000000 -05= 00 >>> +++ /home/amu/tmp/grub-mkconfig_lib 2010-02-02 14:38:27.000000000 -05= 00 >>> @@ -163,8 +163,9 @@ >>> =20 >>> version_test_gt () >>> { >>> - local a=3D`echo $1 | sed -e "s/[^-]*-//;s/[._-]\(pre\|rc\|test\|gi= t\|old\)/~\1/g"` >>> - local b=3D`echo $2 | sed -e "s/[^-]*-//;s/[._-]\(pre\|rc\|test\|gi= t\|old\)/~\1/g"` >>> + local sedexp=3D"s/[^-]*-//;s/[._-]\(pre\|rc\|test\|git\|old\|trunk= \)/~\1/g" >>> + local a=3D`echo $1 | sed -e "$sedexp"` >>> + local b=3D`echo $2 | sed -e "$sedexp"` >>> local cmp=3Dgt >>> if [ "x$b" =3D "x" ] ; then >>> return 0 >>> >>> Could you please do so? >>> =20 >> This patch looks reasonable to me (although sorry that I'm late in >> paying attention to it). grub-devel, any objections? >> =20 > Err, please disregard this. Apparently the \(pre\|rc\|test\|git\|old\)= > stuff was already a Debian-specific patch (I guess it is a bit too much= > hardcoded magic for upstream, really). > > =20 Ok. Please disregard my previous reply > Sorry for the noise, > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig7451713543D668B24416221A 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.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAkw8LHQACgkQNak7dOguQgm+TAD+KGbIzH+fqgmXQ8iUBoIMlW+t 2xrJfTGMIjmpikJ3sH0A/37qMCp0TJDR9dRbLbUyd1Js/br35c6gSE8omJWMtrng =1ECi -----END PGP SIGNATURE----- --------------enig7451713543D668B24416221A--