Bug#422580: implement proper sorting of linux images
Robert Millan
rmh at aybabtu.com
Wed May 9 19:18:08 UTC 2007
Proper sorting of linux images requires more sophisticated logic than the
sort command can provide. For example, we need to assert that foo.old is
older than foo, but foo.bar is newer, etc.
This brought me to implementing an inefficient (but simple) sorting algorithm
for 10_linux.in. Seems to work for our (Debian's) needs. Do you have any
comments or suggestions?
--
Robert Millan
My spam trap is honeypot at aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_sort.diff
Type: text/x-diff
Size: 1740 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070509/3147c0df/linux_sort.bin
More information about the Pkg-grub-devel
mailing list