index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | archiso/mkarchiso | 8 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index c2b6f24..482d934 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -187,13 +187,9 @@ _pacman () { _cleanup () { _msg_info "Cleaning up what we can on airootfs..." - # Delete initcpio image(s) + # Delete all files in /boot if [[ -d "${airootfs_dir}/boot" ]]; then - find "${airootfs_dir}/boot" -type f -name '*.img' -delete - fi - # Delete kernel(s) - if [[ -d "${airootfs_dir}/boot" ]]; then - find "${airootfs_dir}/boot" -type f -name 'vmlinuz*' -delete + find "${airootfs_dir}/boot" -mindepth 1 -delete fi # Delete pacman database sync cache files (*.tar.gz) if [[ -d "${airootfs_dir}/var/lib/pacman" ]]; then |