summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts/linux-lts.install
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-13 10:20:20 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-13 12:23:51 +0100
commit4a2230863a0d51ce1d7ee851357a2fec6be19b6b (patch)
treef498b78af5bbfe05039267ff2508f090e1cb25ae /libre/linux-libre-lts/linux-lts.install
parent61f22b34316cf9e7627f7c6e71c1494008b66a18 (diff)
downloadabslibre-4a2230863a0d51ce1d7ee851357a2fec6be19b6b.tar.gz
abslibre-4a2230863a0d51ce1d7ee851357a2fec6be19b6b.tar.bz2
abslibre-4a2230863a0d51ce1d7ee851357a2fec6be19b6b.zip
libre/linux-libre-lts: updated to 4.14.18_gnu
Diffstat (limited to 'libre/linux-libre-lts/linux-lts.install')
-rw-r--r--libre/linux-libre-lts/linux-lts.install10
1 files changed, 10 insertions, 0 deletions
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
+}