Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/linux-pae/linux.install
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-09 17:58:30 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-09 17:58:30 +0000
commit39c4f1c2dd3d2e8883c13763fabf8a624986c900 (patch)
tree2a118a2f94c3c7e2f0198681d13e9aefc894fbbd /extra/linux-pae/linux.install
parent18ee399666b4393b5c64c932586c778b3c730cb2 (diff)
parentd08cdc7da4f4ec2751080a1745baef41da53214a (diff)
Merge branch 'master' into i486
Diffstat (limited to 'extra/linux-pae/linux.install')
-rw-r--r--extra/linux-pae/linux.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/linux-pae/linux.install b/extra/linux-pae/linux.install
new file mode 100644
index 00000000..37ba3749
--- /dev/null
+++ b/extra/linux-pae/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
+}