Bug#570046: Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-15 Thread Ben Hutchings
This bug also applies to the scripts that kernel-package uses in the generated packages. I suspect that the //g modifiers can generally be removed. To see which regexps are duplicated and might not match as intended, run: for file in kernel/pkg/*/{post,pre}{inst,rm}; do echo $file: ; grep

Bug#568823: kernel-package: See Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-14 Thread Manoj Srivastava
Hi, Thanks for your report. I agree that the /g modifier is a bug, since it shadows any attempt to use a pattern twice, and anchoring the patterns to the beginning is beneficial as well. One should note, though, that the do_bootloader variable has gone from the version of

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread paul . szabo
Dear Ben, kernel-package has an old version of the script templates. The templates used by linux-2.6 are in debian/templates/temp.image.plain. Where do I find that? apt-get source linux-2.6 Sorry, am confused. Is that the same as apt-get install linux-source-2.6.26 It is not. I now

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread maximilian attems
On Sat, Feb 06, 2010 at 10:20:13AM +1100, paul.sz...@sydney.edu.au wrote: Dear Ben, kernel-package has an old version of the script templates. The templates used by linux-2.6 are in debian/templates/temp.image.plain. Where do I find that? apt-get source linux-2.6 Sorry, am

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread maximilian attems
Dear Paul, On Sun, Feb 07, 2010 at 10:02:47PM +1100, paul.sz...@sydney.edu.au wrote: I now tried that (not with apt-get but manually). I guess I needed the files: .../pool/main/l/linux-2.6/linux-2.6_2.6.26.orig.tar.gz .../pool/main/l/linux-2.6/linux-2.6_2.6.26-21.diff.gz (please

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread paul . szabo
Dear Maks, ... saw your old patch and can do that later tomorrow. Thanks. Please also fix current Debian stable, do not make us wait until 2.6.32 trickles down. Should this bug somehow be given to kernel-package also (clone and reassign?): would you be able to do that? don't know

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread Ben Hutchings
On Mon, 2010-02-08 at 09:01 +1100, paul.sz...@sydney.edu.au wrote: Dear Maks, ... saw your old patch and can do that later tomorrow. Thanks. Please also fix current Debian stable, do not make us wait until 2.6.32 trickles down. Should this bug somehow be given to kernel-package also

Bug#568823: kernel-package: See Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread Paul Szabo
Package: kernel-package Version: 11.015 Severity: normal Tags: patch Please see bug#568317 for details, particularly: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568317#26 for explanation and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568317#36 for patch. Cheers, Paul Paul Szabo

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-07 Thread paul . szabo
Dear Ben, ... the date headers in linux-2.6 have not been updated ... I only whinged about headers; content in 2.6.26-21 is also in fact older than kernel-package. I do not know what you may have changed for bleeding-edge 2.6.32; and of course I want Debian stable to be updated (now or in the

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-05 Thread Ben Hutchings
On Fri, Feb 05, 2010 at 12:10:46PM +1100, paul.sz...@sydney.edu.au wrote: Dear Ben, kernel-package has an old version of the script templates. The templates used by linux-2.6 are in debian/templates/temp.image.plain. Where do I find that? apt-get source linux-2.6 or svn co

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-05 Thread paul . szabo
Dear Ben, kernel-package has an old version of the script templates. The templates used by linux-2.6 are in debian/templates/temp.image.plain. Where do I find that? apt-get source linux-2.6 Sorry, am confused. Is that the same as apt-get install linux-source-2.6.26 which would get me

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-04 Thread Niko Tyni
reassign 568317 linux-2.6 retitle 568317 linux-image-* postinst did not correctly run lilo thanks On Thu, Feb 04, 2010 at 04:49:23PM +1100, paul.sz...@sydney.edu.au wrote: This is not a bug in perl, works as documented in 'man perlretut'. Right. The issue is with the /g modifier, as shown

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-04 Thread paul . szabo
Niko Tyni wrote: Reassigning now. ... Thanks. ... you could probably follow up and explain what exactly was incorrect about running lilo. Looking at my /var/lib/dpkg/info/linux-image-*.postinst files, I see in the code reading and parsing $CONF_LOC = '/etc/kernel-img.conf': ...

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-04 Thread Ben Hutchings
The linux-image postinst is known to be in bad shape but we are slowly cleaning it up. If you can provide patches, that would be most helpful. Ben. -- Ben Hutchings In a hierarchy, every employee tends to rise to his level of incompetence. signature.asc Description: Digital signature

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-04 Thread paul . szabo
Dear Ben, ... If you can provide patches, that would be most helpful. See below. I now see that the sources of these files are in package kernel-package (I do not know how that relates to linux-2.6). I only patched the spurious /g modifiers and cleaned up the patterns e.g. to anchor at the

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-04 Thread Ben Hutchings
On Fri, Feb 05, 2010 at 10:54:33AM +1100, paul.sz...@sydney.edu.au wrote: Dear Ben, ... If you can provide patches, that would be most helpful. See below. I now see that the sources of these files are in package kernel-package (I do not know how that relates to linux-2.6). I only patched

Bug#568317: linux-image-* postinst did not correctly run lilo

2010-02-04 Thread paul . szabo
Dear Ben, kernel-package has an old version of the script templates. The templates used by linux-2.6 are in debian/templates/temp.image.plain. Where do I find that? I am using (working, building on) Debian lenny, building from linux-source-2.6.26-21.tar.bz2 . (Anyway, are not my suggested