X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mk-basefile-big;h=337d80ad09b601a2f6716bb0e3d8b5a5c252f628;hb=d4f7a9349a08f60957ca544f3d68a9b97015f6b9;hp=eee1a4c5573d3ee0a0753987694d6d3c224bd459;hpb=ac4e0089e245c96a388b8fcdd92fc05da3399694;p=automated-distro-installer diff --git a/mk-basefile-big b/mk-basefile-big index eee1a4c..337d80a 100755 --- a/mk-basefile-big +++ b/mk-basefile-big @@ -58,6 +58,9 @@ case $distver in distro=trisquel classes="UBUNTU FLIDAS64 VOL_FLIDAS FLIDAS DESKTOP" ;; + stretch) + classes="DEBIAN STRETCH64 VOL_STRETCH STRETCH DESKTOP" +;; *) echo "$0: error: unknown DISTRO_CODENAME" usage 1 @@ -70,14 +73,13 @@ distro=trisquel t=/tmp/dirinstall -cleanup() { +errcatch-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