post_upgrade() { if [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" = "i686" ]; then if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." fi fi } post_remove() { rm -f boot/initramfs-linux-libre-lts.img rm -f boot/initramfs-linux-libre-lts-fallback.img }