+lilo (1:23.2-4) unstable; urgency=low
+
+ * Enable use of linux 3.x in liloconfig script.
+
+ -- Joachim Wiedorn <ad_debian@joonet.de> Sat, 14 Apr 2012 22:56:42 +0200
+
lilo (1:23.2-3) unstable; urgency=low
* Fix tense use in debconf templates (thanks to Ivan Masar).
--- /dev/null
+Package: lilo
+Subject: liloconfig for linux 3.x
+Author: Joachim Wiedorn <ad_debian at joonet.de>
+Forwarded: yes
+Last-Update: 2012-04-15
+
+Add support for linux 3.x in script liloconfig.
+---
+
+diff -urN s16/scripts/liloconfig s17/scripts/liloconfig
+--- s16/scripts/liloconfig 2011-04-09 17:08:01.000000000 +0200
++++ s17/scripts/liloconfig 2012-04-15 10:18:15.936797140 +0200
+@@ -2,7 +2,7 @@
+
+ # liloconfig - creating a new lilo.conf file
+ #
+-# Copyright 2011 Joachim Wiedorn <ad_debian@joonet.de>
++# Copyright 2011-2012 Joachim Wiedorn <ad_debian@joonet.de>
+ #
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+@@ -52,7 +52,7 @@
+ our $idpath = "/dev/disk/by-id";
+ our $uuidpath = "/dev/disk/by-uuid";
+ our $lblpath = "/dev/disk/by-label";
+-our $template = "/etc/lilo.conf_example";
++our $template = "/usr/share/doc/lilo/examples/lilo.example.conf.gz";
+
+ our $rootpart; # found root part
+ our $root_dev; # /dev/hdX9, /dev/sdX9, /dev/md/*
+@@ -456,7 +456,7 @@
+ my $nr2;
+
+ # search for kernel image files
+- my @vmlinuz = readpipe("/bin/ls -t -1 /boot/vmlinuz-2* 2>/dev/null");
++ my @vmlinuz = readpipe("/bin/ls -t -1 /boot/vmlinuz-* 2>/dev/null");
+
+ # append to new lilo.conf
+ open(MYFH_NEW, ">> $liloconfnew") or die "Cannot open file: $!";