Bug#494158: [grub2] update-grub: uses wrong ordering algorithm (sorts 1.2.3-foo before 1.2.3.1-foo)
Robert Millan
rmh at aybabtu.com
Sat Aug 9 17:50:43 UTC 2008
On Sat, Aug 09, 2008 at 05:16:21PM +0200, Felix Zielcke wrote:
>
> So for lenny we just use the one you already made, with one little
> change I suggest:
>
> a=`echo $a | sed -e "s/~test/~atest/"`
> b=`echo $b | sed -e "s/~test/~atest/"`
I'm not very concerned with distinguishing priorities other than what goes
before and after the empty string. I'd rather just put all those known
suffixes below the empty string and not care about their relative weights,
for the sake of simplicity.
So if there are no objections, I'd like to check in the patch I sent (with
the greedy 'g' as you suggest) and upload that.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
More information about the Pkg-grub-devel
mailing list