I know that I asked you to report this problem but now that I recall the use case for the code I don't think it's a bug.
If you don't pass the -k parameter to update-initramfs, it uses the latest kernel by default. In the following code, the initramfs is always called for the latest kernel, however if you're installing the driver after booting from an older kernel (which therefore is your current kernel), the initramfs for this kernel will be updated too. ALTERNATIVE=$(readlink /etc/alternatives/gl_conf) if [ "$ALTERNATIVE" = "/usr/lib/nvidia-current/ld.so.conf" ]; then # Update initramfs so that the blacklist ends up in the initramfs update-initramfs -u if [ -n "$NEWEST_KERNEL" ] && [ ${CURRENT_KERNEL} != ${NEWEST_KERNEL} ]; then update-initramfs -u -k $CURRENT_KERNEL fi fi -- build fails in chrooted system https://bugs.launchpad.net/bugs/556653 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers-173 in ubuntu. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp