/usr/share/live/build/hooks/0110-remove-backup-files.hook.chroot is in live-build 4.0.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh
set -e
# Remove backup files
rm -f /boot/*.bak
rm -f /boot/*.old-dkms
rm -f /etc/apt/sources.list~
rm -f /etc/apt/trusted.gpg~
rm -f /etc/passwd-
rm -f /etc/group-
rm -f /etc/shadow-
rm -f /etc/gshadow-
rm -f /var/cache/debconf/*-old
rm -f /var/lib/dpkg/*-old
|