BTS

Message3982

Author jordanm
Recipients jordanm
Date 2011-10-18.19:44:06
Content
In the script /etc/grml/fai/grml/grml_cleanup_chroot, the latest kernel version is detected by 
looking in the /lib/modules/ and reverse sorting the entries by locale. This hits a bug when 
directories that are not associated with a specific kernel version are placed in /lib/modules. I 
patched this file to look at /boot/vmlinuz-* rather than /lib/modules. My patch does expect the 
kernel image to start with vmlinuz, but this should be a safe assumption as this is they way 
kernel-package will name the file. Like the original method, it is locale dependent. 

I am attaching the patch.
Files
File name Uploaded
kernel-ver.patch jordanm, 2011-10-18.19:44:06
History
Date User Action Args
2011-10-18 19:44:06jordanmsetrecipients: + jordanm
2011-10-18 19:44:06jordanmsetmessageid: <1318967046.53.0.153555880138.issue1069@bts.grml.org>
2011-10-18 19:44:06jordanmlinkissue1069 messages
2011-10-18 19:44:06jordanmcreate