A working workaround (tested) would be to check for the kernel
existence, something like:
if [ -n "$NEWEST_KERNEL" ] && [ ${CURRENT_KERNEL} !=
${NEWEST_KERNEL} ]; then
# This can fail when dealing with a chroot see LP: #556653
if [ -e /boot/config-$CURRENT_KERNEL ]; then
update-initramfs -u -k $CURRENT_KERNEL || true
fi
fi
Ideally package should use KVERS and KVERSION within the environment wrt
kernel modules.
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/556653
Title:
build fails in chrooted system
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp