diff options
author | Kevin Wilms | 2020-12-20 14:51:08 +0100 |
---|---|---|
committer | Kevin Wilms | 2020-12-20 14:51:08 +0100 |
commit | e86efae618cdf7b9a2fb15b76cc69337d25de28b (patch) | |
tree | ec16dee0fb55594d0e596630cbe81c2b7385adb5 /linux-vanilla-selinux-59.install | |
download | aur-e86efae618cdf7b9a2fb15b76cc69337d25de28b.tar.gz |
Linux 5.9.15
Diffstat (limited to 'linux-vanilla-selinux-59.install')
-rw-r--r-- | linux-vanilla-selinux-59.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-vanilla-selinux-59.install b/linux-vanilla-selinux-59.install new file mode 100644 index 000000000000..37ba37494605 --- /dev/null +++ b/linux-vanilla-selinux-59.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 +} |