This already happens in quantal proper, in the pristine container:
$ sudo /etc/kernel/postinst.d/zz-update-grub 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
/usr/sbin/grub-probe: error: failed to get canonical path of none.
The installed version of /etc/kernel/postinst.d/zz-update-grub does not have the running-in-container check, unlike the one I get in precise and trusty:
grub-pc is version 2.00-7ubuntu11. I see that the container check was added in a precise SRU in bug 1060404, so this is really a duplicate of that bug.
This already happens in quantal proper, in the pristine container:
$ sudo /etc/kernel/ postinst. d/zz-update- grub 3.5.0-45-generic /boot/vmlinuz- 3.5.0-45- generic grub-probe: error: failed to get canonical path of none.
/usr/sbin/
The installed version of /etc/kernel/ postinst. d/zz-update- grub does not have the running- in-container check, unlike the one I get in precise and trusty:
$ dpkg -S /etc/kernel/ postinst. d/zz-update- grub postinst. d/zz-update- grub
grub-pc: /etc/kernel/
grub-pc is version 2.00-7ubuntu11. I see that the container check was added in a precise SRU in bug 1060404, so this is really a duplicate of that bug.