From 4a2230863a0d51ce1d7ee851357a2fec6be19b6b Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 13 Feb 2018 10:20:20 +0100 Subject: libre/linux-libre-lts: updated to 4.14.18_gnu --- libre/linux-libre-lts/linux-lts.install | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libre/linux-libre-lts/linux-lts.install (limited to 'libre/linux-libre-lts/linux-lts.install') diff --git a/libre/linux-libre-lts/linux-lts.install b/libre/linux-libre-lts/linux-lts.install new file mode 100644 index 000000000..37ba37494 --- /dev/null +++ b/libre/linux-libre-lts/linux-lts.install @@ -0,0 +1,10 @@ +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-%PKGBASE%.img + rm -f boot/initramfs-%PKGBASE%-fallback.img +} -- cgit v1.2.3