summarylogtreecommitdiffstats
path: root/linux-vanilla-selinux-54.install
diff options
context:
space:
mode:
authorKevin Wilms2020-11-08 19:47:26 +0100
committerKevin Wilms2020-11-08 19:47:26 +0100
commit97bf50029cfa8943ccb69c3403102b612a95bd11 (patch)
tree58f72f165a4ba7a9e2483d2c52ac70ab0cd1ea64 /linux-vanilla-selinux-54.install
downloadaur-97bf50029cfa8943ccb69c3403102b612a95bd11.tar.gz
Linux 5.4.75
Diffstat (limited to 'linux-vanilla-selinux-54.install')
-rw-r--r--linux-vanilla-selinux-54.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-vanilla-selinux-54.install b/linux-vanilla-selinux-54.install
new file mode 100644
index 00000000000..37ba3749460
--- /dev/null
+++ b/linux-vanilla-selinux-54.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
+}