diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-09 17:58:30 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-09 17:58:30 +0000 |
commit | 39c4f1c2dd3d2e8883c13763fabf8a624986c900 (patch) | |
tree | 2a118a2f94c3c7e2f0198681d13e9aefc894fbbd /extra/linux-pae/linux.install | |
parent | 18ee399666b4393b5c64c932586c778b3c730cb2 (diff) | |
parent | d08cdc7da4f4ec2751080a1745baef41da53214a (diff) | |
download | packages-39c4f1c2dd3d2e8883c13763fabf8a624986c900.tar.xz |
Merge branch 'master' into i486
Diffstat (limited to 'extra/linux-pae/linux.install')
-rw-r--r-- | extra/linux-pae/linux.install | 10 |
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 +} |