blob: cb31b981711570e36eeb73664806f90ece846ed5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
}
|