summarylogtreecommitdiffstats
path: root/linux.install
diff options
context:
space:
mode:
authoralzeih2017-12-04 15:29:41 +1300
committeralzeih2017-12-04 19:02:30 +1300
commitd4077367135069e8c98cf5f84302c1bd02a3905f (patch)
treeefbbb59366bc16ea746a4e84129f1500469ce3d7 /linux.install
downloadaur-d4077367135069e8c98cf5f84302c1bd02a3905f.tar.gz
Initial Commit
Signed-off-by: alzeih <alzeih@users.noreply.github.com>
Diffstat (limited to 'linux.install')
-rw-r--r--linux.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux.install b/linux.install
new file mode 100644
index 000000000000..37ba37494605
--- /dev/null
+++ b/linux.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
+}