summarylogtreecommitdiffstats
path: root/linux.install
diff options
context:
space:
mode:
Diffstat (limited to 'linux.install')
-rw-r--r--linux.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.install b/linux.install
index f7258757298..0e50c2bfe7b 100644
--- a/linux.install
+++ b/linux.install
@@ -11,3 +11,8 @@ post_upgrade() {
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
+}