summaryrefslogtreecommitdiff
path: root/share/hooks/0140-remove-backup-files.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'share/hooks/0140-remove-backup-files.chroot')
-rwxr-xr-xshare/hooks/0140-remove-backup-files.chroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hooks/0140-remove-backup-files.chroot b/share/hooks/0140-remove-backup-files.chroot
index 6058f1eb2..6e0a69055 100755
--- a/share/hooks/0140-remove-backup-files.chroot
+++ b/share/hooks/0140-remove-backup-files.chroot
@@ -3,6 +3,9 @@
set -e
# Remove backup files
+rm -f /boot/*.bak
+rm -f /boot/*.old-dkms
+
rm -f /etc/apt/trusted.gpg~
rm -f /etc/passwd-