static usb ethnet addresses
[automated-distro-installer] / mk-basefile-big
index 370fd8b33e6aecac689641bfdc1b6340bc19e3c1..95d2e9f2cd51f1e9f086f5a29ed405be05ffffbd 100755 (executable)
@@ -73,14 +73,13 @@ distro=trisquel
 t=/tmp/dirinstall
 
 
-cleanup() {
+err-cleanup() {
   sed -i 's/^#LOGUSER=/LOGUSER=/' /etc/fai/fai.conf
   for d in proc var/lib/dpkg var/cache; do
   umount -R $t/$d ||:
   done
   rm -rf $t
 }
-_errcatch_cleanup=cleanup
 
 
 myfai-chboot default
@@ -101,7 +100,7 @@ rm -f $t/etc/hostname $t/etc/resolv.conf \
    $t/var/lib/apt/lists/*_* $t/usr/bin/qemu-*-static \
    $t/etc/udev/rules.d/70-persistent-net.rules
 echo | dd of=$t/etc/machine-id
-tar --one-file-system -C $t -cf - . | gzip > /a/bin/fai-basefiles/basefiles/${distver^^}64BIG.tar.gz
+tar --one-file-system -C $t -cf - . | zstd -9 > /a/bin/fai-basefiles/basefiles/${distver^^}64BIG.tar.zst
 
 
 cleanup