fix kernel version detection in config/scripts/
authorMichael Prokop <mika@grml.org>
Thu, 27 Oct 2011 21:23:40 +0000 (23:23 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 27 Oct 2011 21:23:43 +0000 (23:23 +0200)
commite0306d083dbd7787e3588f8214f5b46553208efa
treeb931593636e890358bffe0b0ecc206bbaad75cc1
parent5780f4d09448e7045556e03d3b6f4eb2b4d78bb7
fix kernel version detection in config/scripts/

It's bullshit to use /lib/modules for kernel version
detection. If a module is still present but the according
linux-image has been removed the config/scripts will fail
since they run depmod for non-existing kernel versions.
So use /boot/vmlinuz-* instead.

Related to issue1069
etc/grml/fai/config/scripts/GRMLBASE/16-depmod
etc/grml/fai/config/scripts/GRML_SMALL/98-clean-chroot