← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 556653] Re: build fails in chrooted system

 

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



References