core/linux/linux.install

11 lines
289 B
Plaintext
Raw Normal View History

2011-08-08 17:00:07 +08:00
post_upgrade() {
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."
2011-08-08 17:00:07 +08:00
fi
}
post_remove() {
2018-04-27 02:54:41 +08:00
rm -f boot/initramfs-%PKGBASE%.img
rm -f boot/initramfs-%PKGBASE%-fallback.img
2013-05-21 01:35:28 +08:00
}