static usb ethnet addresses
[automated-distro-installer] / mk-basefile-big
index 337d80ad09b601a2f6716bb0e3d8b5a5c252f628..95d2e9f2cd51f1e9f086f5a29ed405be05ffffbd 100755 (executable)
@@ -73,7 +73,7 @@ distro=trisquel
 t=/tmp/dirinstall
 
 
-errcatch-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 ||:
@@ -100,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