commit 7d24a066434de0564605c8fee42721718312ed9d
parent 2651ccd45d98dfec95566b39021aaefb3055f701
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date: Sun, 24 Nov 2019 14:13:15 +0100
do not remove whole /var in the iso, only bootstrap log and var cache
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mkiso.sh b/mkiso.sh
@@ -22,7 +22,7 @@ chpasswd -R $(pwd)/iso_dir <<EOF
root:toor
EOF
-rm -r iso_dir/var/*
+rm -r iso_dir/var/cache/apt/* iso_dir/var/log/*
xorriso -as mkisofs \
-r -V 'CUSTOM_ISO_AMD64' \
@@ -34,5 +34,3 @@ xorriso -as mkisofs \
-no-emul-boot \
iso_dir \
2>&1 | grep -vi 'WARNING.*Symlinks'
- #-e boot/grub/efi.img \
- #-c isolinux/boot.cat \