diff options
author | Kevin Wilms | 2020-11-09 17:07:25 +0100 |
---|---|---|
committer | Kevin Wilms | 2020-11-09 17:07:25 +0100 |
commit | 8c751f4e8631af15ab91009c44bee636583d3d1d (patch) | |
tree | d2f4aa8cb4cd4246c0c2235bb02780cfbaf6880b /linux-vanilla-selinux-414.install | |
download | aur-8c751f4e8631af15ab91009c44bee636583d3d1d.tar.gz |
Linux 4.14.204
Diffstat (limited to 'linux-vanilla-selinux-414.install')
-rw-r--r-- | linux-vanilla-selinux-414.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-vanilla-selinux-414.install b/linux-vanilla-selinux-414.install new file mode 100644 index 000000000000..37ba37494605 --- /dev/null +++ b/linux-vanilla-selinux-414.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 +} |