alarm-clockworkpi-uconsole/pkgs/linux-clockworkpi-git/linux-clockworkpi-git.install
2025-03-28 21:30:58 -04:00

10 lines
313 B
Text

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."
fi
}
post_remove() {
rm -f boot/initramfs-linux-clockworkpi-git.img
rm -f boot/initramfs-linux-clockworkpi-git-fallback.img
}