summarylogtreecommitdiffstats
path: root/linux-vanilla-selinux-419.install
diff options
context:
space:
mode:
authorKevin Wilms2020-11-08 21:52:20 +0100
committerKevin Wilms2020-11-08 21:52:20 +0100
commit6143bc6a9fefdfbbba6638b2ff59e35809eb1a20 (patch)
tree2221fd9b344a58ab762d6488aac479f099cb588d /linux-vanilla-selinux-419.install
downloadaur-6143bc6a9fefdfbbba6638b2ff59e35809eb1a20.tar.gz
Linux 4.19.155
Diffstat (limited to 'linux-vanilla-selinux-419.install')
-rw-r--r--linux-vanilla-selinux-419.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-vanilla-selinux-419.install b/linux-vanilla-selinux-419.install
new file mode 100644
index 00000000000..37ba3749460
--- /dev/null
+++ b/linux-vanilla-selinux-419.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
+}