From a7431fe3f1eb1de457298a43730f4214a49d8bc8 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sat, 24 May 2025 22:00:49 +0200
Subject: TF update nightly-build

Remove older builds an enable towelfire
---
 nightly_build.bash | 778 ++++++++++++++---------------------------------------
 1 file changed, 203 insertions(+), 575 deletions(-)

diff --git a/nightly_build.bash b/nightly_build.bash
index 340eff6..599ad79 100755
--- a/nightly_build.bash
+++ b/nightly_build.bash
@@ -69,15 +69,197 @@ rm -f $target/isos-failed.txt
 ## remove gfxdetect entries from grub.cfg (for non-gfxdetect-builds)
 #sed -i '/gfxdetect/,/^}/{d}' config/binary_grub/grub.cfg
 
+BUILD_TRIXIE=true
+BUILD_TRIXIE_EEE_I386=true
+BUILD_TRIXIE_EEE_AMD64=false
+BUILD_TRIXIE_AMD64=true
+BUILD_TRIXIE_I386=false
 BUILD_BOOKWORM=true
-BUILD_BULLSEYE=true
-BUILD_BUSTER=false
-BUILD_BUSTER_EXTRA_KDE=true
-BUILD_BUSTER_EXTRA_LXDE=true
-BUILD_STRETCH=false
-BUILD_JESSIE=false
-BUILD_JESSIE_SPECIAL=false
-BUILD_WHEEZY=false
+BUILD_BOOKWORM_EEE=true
+BUILD_BULLSEYE=true # only eeepc
+
+################### TOWELFIRE  ###################
+
+if $BUILD_TRIXIE; then
+git checkout auto/config
+DISTRO=trixie
+KDISTRO=towelfire
+rm -rf cache tmpfs/cache
+sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
+
+
+cat <<"EOF" >$target/readme-$KDISTRO.txt
+Towelfire Isos are pre releases.
+======================================
+based on debian trixie (testing for now)
+bugs are expected
+broken updates may happen
+
+i386 ships with bookworm kernel
+and may break completely
+EOF
+
+ln -s $target/readme-$KDISTRO.txt $next/readme-$KDISTRO.txt
+
+if $BUILD_TRIXIE_EEE_AMD64; then
+# eeepc4G amd64 with LXDE
+lb clean
+lb config -d $DISTRO -p "kanotix-eeepc4G firefox systemd-extra" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd --initramfs live-boot
+echo Kanotix towelfire-nightly Towelfire64 $d$v eeepc4G > config/chroot_local-includes/etc/kanotix-version
+lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
+check_iso
+mv kanotix64.iso $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.packages
+cp tmpfs/binary.log $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.log
+cd $target
+if [ ! -f kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso ]; then
+        echo "$KDISTRO amd64 eeepc4G failed" >>isos-failed.txt
+        cd -
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.log $next/kanotix64-towelfire-nightly-eeepc4G.log
+else
+        md5sum -b kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso > kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso.md5
+        zsyncmake kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso
+        cd -
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.packages $next/kanotix64-towelfire-nightly-eeepc4G.packages
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.log $next/kanotix64-towelfire-nightly-eeepc4G.log
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso $next/kanotix64-towelfire-nightly-eeepc4G.iso
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso.zsync $next/kanotix64-towelfire-nightly-eeepc4G.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix64-towelfire-nightly-${d}${v}-eeepc4G.iso.md5 > $next/kanotix64-towelfire-nightly-eeepc4G.iso.md5
+fi
+fi # end amd64 EEE
+
+if $BUILD_TRIXIE_AMD64; then
+# kde 64
+lb clean
+lb config -d $DISTRO -p "debpool kanotix-kde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd --initramfs live-boot
+echo Kanotix towelfire-nightly Towelfire64 $d$v KDE > config/chroot_local-includes/etc/kanotix-version
+lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
+check_iso
+#ls -hgo kanotix64.iso >>binary.log; rm -f kanotix64.iso
+mv kanotix64.iso $target/kanotix64-towelfire-nightly-${d}${v}-KDE.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix64-towelfire-nightly-${d}${v}-KDE.packages
+cp tmpfs/binary.log $target/kanotix64-towelfire-nightly-${d}${v}-KDE.log
+cd $target
+if [ ! -f kanotix64-towelfire-nightly-${d}${v}-KDE.iso ]; then
+        echo "$KDISTRO amd64 KDE failed" >>isos-failed.txt
+        cd -
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-KDE.log $next/kanotix64-towelfire-nightly-KDE.log
+else
+        md5sum -b kanotix64-towelfire-nightly-${d}${v}-KDE.iso > kanotix64-towelfire-nightly-${d}${v}-KDE.iso.md5
+        zsyncmake kanotix64-towelfire-nightly-${d}${v}-KDE.iso
+        cd -
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-KDE.packages $next/kanotix64-towelfire-nightly-KDE.packages
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-KDE.log $next/kanotix64-towelfire-nightly-KDE.log
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-KDE.iso $next/kanotix64-towelfire-nightly-KDE.iso
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix64-towelfire-nightly-KDE.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix64-towelfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix64-towelfire-nightly-KDE.iso.md5
+fi
+#
+# lxde 64
+lb clean
+lb config -d $DISTRO -p "debpool kanotix-lxde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd --initramfs live-boot
+echo Kanotix towelfire-nightly Towelfire64 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version
+lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
+check_iso
+#ls -hgo kanotix64.iso >>binary.log; rm -f kanotix64.iso
+mv kanotix64.iso $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.packages
+cp tmpfs/binary.log $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.log
+cd $target
+if [ ! -f kanotix64-towelfire-nightly-${d}${v}-LXDE.iso ]; then
+        echo "$KDISTRO amd64 LXDE failed" >>isos-failed.txt
+        cd -
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.log $next/kanotix64-towelfire-nightly-LXDE.log
+else
+        md5sum -b kanotix64-towelfire-nightly-${d}${v}-LXDE.iso > kanotix64-towelfire-nightly-${d}${v}-LXDE.iso.md5
+        zsyncmake kanotix64-towelfire-nightly-${d}${v}-LXDE.iso
+        cd -
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.packages $next/kanotix64-towelfire-nightly-LXDE.packages
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.log $next/kanotix64-towelfire-nightly-LXDE.log
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.iso $next/kanotix64-towelfire-nightly-LXDE.iso
+        ln -s $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix64-towelfire-nightly-LXDE.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix64-towelfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix64-towelfire-nightly-LXDE.iso.md5
+fi
+fi #end of amd64
+if $BUILD_TRIXIE_I386; then
+# kde 32
+lb clean
+lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
+echo Kanotix towelfire-nightly Towelfire32 $d$v KDE > config/chroot_local-includes/etc/kanotix-version
+lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
+check_iso
+mv kanotix32.iso $target/kanotix32-towelfire-nightly-${d}${v}-KDE.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix32-towelfire-nightly-${d}${v}-KDE.packages
+cp tmpfs/binary.log $target/kanotix32-towelfire-nightly-${d}${v}-KDE.log
+cd $target
+if [ ! -f kanotix32-towelfire-nightly-${d}${v}-KDE.iso ]; then
+        echo "$KDISTRO i386 KDE failed" >>isos-failed.txt
+        cd -
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-KDE.log $next/kanotix32-towelfire-nightly-KDE.log
+else
+        md5sum -b kanotix32-towelfire-nightly-${d}${v}-KDE.iso > kanotix32-towelfire-nightly-${d}${v}-KDE.iso.md5
+        zsyncmake kanotix32-towelfire-nightly-${d}${v}-KDE.iso
+        cd -
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-KDE.packages $next/kanotix32-towelfire-nightly-KDE.packages
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-KDE.log $next/kanotix32-towelfire-nightly-KDE.log
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-KDE.iso $next/kanotix32-towelfire-nightly-KDE.iso
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix32-towelfire-nightly-KDE.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix32-towelfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix32-towelfire-nightly-KDE.iso.md5
+fi
+
+# lxde 32
+lb clean
+lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
+echo Kanotix towelfire-nightly Towelfire32 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version
+lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
+check_iso
+mv kanotix32.iso $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.packages
+cp tmpfs/binary.log $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.log
+cd $target
+if [ ! -f kanotix32-towelfire-nightly-${d}${v}-LXDE.iso ]; then
+        echo "$KDISTRO i386 LXDE failed" >>isos-failed.txt
+        cd -
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.log $next/kanotix32-towelfire-nightly-LXDE.log
+else
+        md5sum -b kanotix32-towelfire-nightly-${d}${v}-LXDE.iso > kanotix32-towelfire-nightly-${d}${v}-LXDE.iso.md5
+        zsyncmake kanotix32-towelfire-nightly-${d}${v}-LXDE.iso
+        cd -
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.packages $next/kanotix32-towelfire-nightly-LXDE.packages
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.log $next/kanotix32-towelfire-nightly-LXDE.log
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.iso $next/kanotix32-towelfire-nightly-LXDE.iso
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix32-towelfire-nightly-LXDE.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix32-towelfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix32-towelfire-nightly-LXDE.iso.md5
+fi
+fi #end of trixie i386 kde lxde
+
+if $BUILD_TRIXIE_EEE_I386; then
+# eeepc4G with LXDE
+lb clean
+lb config -d $DISTRO -p "kanotix-eeepc4G netsurf-gtk" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
+echo Kanotix towelfire-nightly Towelfire32 $d$v eeepc4G > config/chroot_local-includes/etc/kanotix-version
+lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
+check_iso
+mv kanotix32.iso $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.packages
+cp tmpfs/binary.log $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.log
+cd $target
+if [ ! -f kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso ]; then
+        echo "$KDISTRO i386 eeepc4G failed" >>isos-failed.txt
+        cd -
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-towelfire-nightly-eeepc4G.log
+else
+        md5sum -b kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso > kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso.md5
+        zsyncmake kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso
+        cd -
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.packages $next/kanotix32-towelfire-nightly-eeepc4G.packages
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-towelfire-nightly-eeepc4G.log
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso $next/kanotix32-towelfire-nightly-eeepc4G.iso
+        ln -s $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso.zsync $next/kanotix32-towelfire-nightly-eeepc4G.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix32-towelfire-nightly-${d}${v}-eeepc4G.iso.md5 > $next/kanotix32-towelfire-nightly-eeepc4G.iso.md5
+fi
+fi #end of i386 eeepc
+fi # end of trixie build
 
 ################### SLOWFIRE  ###################
 
@@ -90,8 +272,8 @@ sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
 
 
 cat <<"EOF" >$target/readme-$KDISTRO.txt
-Slowfire Isos are widely untested.
-==================================
+Slowfire Isos are based on bookworm.
+====================================
 amd64 Iso ship with acritoxinstaller(recommended) and calamares installer(for testing)
 refind is preinstalled using grub in acritoxinstaller is recommended.
 you can enable refind later in installation with # refind-install
@@ -201,7 +383,17 @@ else
         sed "s/${d}${v}-//" $target/kanotix32-slowfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix32-slowfire-nightly-LXDE.iso.md5
 fi
 
+fi # end of normal bookworm build
+
+if $BUILD_BOOKWORM_EEE; then
+
 # eeepc4G with LXDE
+git checkout auto/config
+DISTRO=bookworm
+KDISTRO=slowfire
+rm -rf cache tmpfs/cache
+sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
+
 lb clean
 lb config -d $DISTRO -p "kanotix-eeepc4G netsurf-gtk" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
 echo Kanotix slowfire-nightly Slowfire32 $d$v eeepc4G > config/chroot_local-includes/etc/kanotix-version
@@ -226,7 +418,7 @@ else
         sed "s/${d}${v}-//" $target/kanotix32-slowfire-nightly-${d}${v}-eeepc4G.iso.md5 > $next/kanotix32-slowfire-nightly-eeepc4G.iso.md5
 fi
 
-fi # end of bookworm build
+fi # end of bookworm EEE build
 
 ################### SPEEDFIRE  ###################
 
@@ -261,570 +453,6 @@ else
 fi
 fi # end of bullseye build
 
-################### SILVERFIRE ###################
-
-if $BUILD_BUSTER; then
-git checkout auto/config
-DISTRO=buster
-rm -rf cache tmpfs/cache
-sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
-if $BUILD_BUSTER_EXTRA_KDE; then
-#
-# kde 64-extra
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master silverfire-extra firefox google-chrome android virtualbox wine-staging skypeforlinux" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire64 $d$v KDE-extra > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.packages
-cp tmpfs/binary.log $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.log
-cd $target
-if [ ! -f kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso ]; then
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.log $next/kanotix64-silverfire-nightly-KDE-extra.log
-else
-        md5sum -b kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso > kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso.md5
-        zsyncmake kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.packages $next/kanotix64-silverfire-nightly-KDE-extra.packages
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.log $next/kanotix64-silverfire-nightly-KDE-extra.log
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso $next/kanotix64-silverfire-nightly-KDE-extra.iso
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso.zsync $next/kanotix64-silverfire-nightly-KDE-extra.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-silverfire-nightly-${d}${v}-KDE-extra.iso.md5 > $next/kanotix64-silverfire-nightly-KDE-extra.iso.md5
-fi
-fi # end of kde extra
-
-if $BUILD_BUSTER_EXTRA_LXDE; then
-#
-# lxde 64-extra
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master silverfire-extra firefox google-chrome android virtualbox wine-staging skypeforlinux" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire64 $d$v LXDE-extra > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.packages
-cp tmpfs/binary.log $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.log
-cd $target
-if [ ! -f kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso ]; then
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.log $next/kanotix64-silverfire-nightly-LXDE-extra.log
-else
-        md5sum -b kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso > kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso.md5
-        zsyncmake kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.packages $next/kanotix64-silverfire-nightly-LXDE-extra.packages
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.log $next/kanotix64-silverfire-nightly-LXDE-extra.log
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso $next/kanotix64-silverfire-nightly-LXDE-extra.iso
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso.zsync $next/kanotix64-silverfire-nightly-LXDE-extra.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-silverfire-nightly-${d}${v}-LXDE-extra.iso.md5 > $next/kanotix64-silverfire-nightly-LXDE-extra.iso.md5
-fi
-fi # end of lxde extra
-#
-# lxde 64
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging skypeforlinux ndiswrapper" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire64 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix64-silverfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.log $next/kanotix64-silverfire-nightly-LXDE.log
-else
-        md5sum -b kanotix64-silverfire-nightly-${d}${v}-LXDE.iso > kanotix64-silverfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix64-silverfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.packages $next/kanotix64-silverfire-nightly-LXDE.packages
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.log $next/kanotix64-silverfire-nightly-LXDE.log
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.iso $next/kanotix64-silverfire-nightly-LXDE.iso
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix64-silverfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-silverfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix64-silverfire-nightly-LXDE.iso.md5
-fi
-#
-# lxde 32
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging ndiswrapper" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire32 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix32-silverfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.log $next/kanotix32-silverfire-nightly-LXDE.log
-else
-        md5sum -b kanotix32-silverfire-nightly-${d}${v}-LXDE.iso > kanotix32-silverfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix32-silverfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.packages $next/kanotix32-silverfire-nightly-LXDE.packages
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.log $next/kanotix32-silverfire-nightly-LXDE.log
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.iso $next/kanotix32-silverfire-nightly-LXDE.iso
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix32-silverfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-silverfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix32-silverfire-nightly-LXDE.iso.md5
-fi
-#
-# kde 64
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging skypeforlinux ndiswrapper" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire64 $d$v KDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-silverfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-silverfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix64-silverfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix64-silverfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE.log $next/kanotix64-silverfire-nightly-KDE.log
-else
-        md5sum -b kanotix64-silverfire-nightly-${d}${v}-KDE.iso > kanotix64-silverfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix64-silverfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE.packages $next/kanotix64-silverfire-nightly-KDE.packages
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE.log $next/kanotix64-silverfire-nightly-KDE.log
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE.iso $next/kanotix64-silverfire-nightly-KDE.iso
-        ln -s $target/kanotix64-silverfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix64-silverfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-silverfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix64-silverfire-nightly-KDE.iso.md5
-fi
-#
-# kde 32
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging ndiswrapper" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire32 $d$v KDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-silverfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-silverfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix32-silverfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix32-silverfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-KDE.log $next/kanotix32-silverfire-nightly-KDE.log
-else
-        md5sum -b kanotix32-silverfire-nightly-${d}${v}-KDE.iso > kanotix32-silverfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix32-silverfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-KDE.packages $next/kanotix32-silverfire-nightly-KDE.packages
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-KDE.log $next/kanotix32-silverfire-nightly-KDE.log
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-KDE.iso $next/kanotix32-silverfire-nightly-KDE.iso
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix32-silverfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-silverfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix32-silverfire-nightly-KDE.iso.md5
-fi
-#
-# eeepc4G with LXDE
-lb clean
-lb config -d $DISTRO -p "kanotix-eeepc4G midori ndiswrapper" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix silverfire-nightly Silverfire32 $d$v eeepc4G > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.packages
-cp tmpfs/binary.log $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.log
-cd $target
-if [ ! -f kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso ]; then
-        cd -
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-silverfire-nightly-eeepc4G.log
-else
-        md5sum -b kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso > kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso.md5
-        zsyncmake kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso
-        cd -
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.packages $next/kanotix32-silverfire-nightly-eeepc4G.packages
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-silverfire-nightly-eeepc4G.log
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso $next/kanotix32-silverfire-nightly-eeepc4G.iso
-        ln -s $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso.zsync $next/kanotix32-silverfire-nightly-eeepc4G.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-silverfire-nightly-${d}${v}-eeepc4G.iso.md5 > $next/kanotix32-silverfire-nightly-eeepc4G.iso.md5
-fi
-fi # end of buster build
-
-################### STEELFIRE ###################
-
-if $BUILD_STRETCH; then
-git checkout auto/config
-DISTRO=stretch
-rm -rf cache tmpfs/cache
-sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
-
-# lxde 64
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix steelfire-nightly Steelfire64 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix64-steelfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.log $next/kanotix64-steelfire-nightly-LXDE.log
-else
-        md5sum -b kanotix64-steelfire-nightly-${d}${v}-LXDE.iso > kanotix64-steelfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix64-steelfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.packages $next/kanotix64-steelfire-nightly-LXDE.packages
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.log $next/kanotix64-steelfire-nightly-LXDE.log
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.iso $next/kanotix64-steelfire-nightly-LXDE.iso
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix64-steelfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-steelfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix64-steelfire-nightly-LXDE.iso.md5
-fi
-#
-# lxde 32
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix steelfire-nightly Steelfire32 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix32-steelfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.log $next/kanotix32-steelfire-nightly-LXDE.log
-else
-        md5sum -b kanotix32-steelfire-nightly-${d}${v}-LXDE.iso > kanotix32-steelfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix32-steelfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.packages $next/kanotix32-steelfire-nightly-LXDE.packages
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.log $next/kanotix32-steelfire-nightly-LXDE.log
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.iso $next/kanotix32-steelfire-nightly-LXDE.iso
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix32-steelfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-steelfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix32-steelfire-nightly-LXDE.iso.md5
-fi
-#
-# kde 64
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix steelfire-nightly Steelfire64 $d$v KDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-steelfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-steelfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix64-steelfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix64-steelfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-KDE.log $next/kanotix64-steelfire-nightly-KDE.log
-else
-        md5sum -b kanotix64-steelfire-nightly-${d}${v}-KDE.iso > kanotix64-steelfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix64-steelfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-KDE.packages $next/kanotix64-steelfire-nightly-KDE.packages
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-KDE.log $next/kanotix64-steelfire-nightly-KDE.log
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-KDE.iso $next/kanotix64-steelfire-nightly-KDE.iso
-        ln -s $target/kanotix64-steelfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix64-steelfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-steelfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix64-steelfire-nightly-KDE.iso.md5
-fi
-#
-# kde 32
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix steelfire-nightly Steelfire32 $d$v KDE > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-steelfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-steelfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix32-steelfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix32-steelfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-KDE.log $next/kanotix32-steelfire-nightly-KDE.log
-else
-        md5sum -b kanotix32-steelfire-nightly-${d}${v}-KDE.iso > kanotix32-steelfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix32-steelfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-KDE.packages $next/kanotix32-steelfire-nightly-KDE.packages
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-KDE.log $next/kanotix32-steelfire-nightly-KDE.log
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-KDE.iso $next/kanotix32-steelfire-nightly-KDE.iso
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix32-steelfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-steelfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix32-steelfire-nightly-KDE.iso.md5
-fi
-#
-# eeepc4G with LXDE
-lb clean
-lb config -d $DISTRO -p "kanotix-eeepc4G midori" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix steelfire-nightly Steelfire32 $d$v eeepc4G > config/chroot_local-includes/etc/kanotix-version
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.packages
-cp tmpfs/binary.log $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.log
-cd $target
-if [ ! -f kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso ]; then
-        cd -
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-steelfire-nightly-eeepc4G.log
-else
-        md5sum -b kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso > kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso.md5
-        zsyncmake kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso
-        cd -
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.packages $next/kanotix32-steelfire-nightly-eeepc4G.packages
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-steelfire-nightly-eeepc4G.log
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso $next/kanotix32-steelfire-nightly-eeepc4G.iso
-        ln -s $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso.zsync $next/kanotix32-steelfire-nightly-eeepc4G.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-steelfire-nightly-${d}${v}-eeepc4G.iso.md5 > $next/kanotix32-steelfire-nightly-eeepc4G.iso.md5
-fi
-fi # end of stretch build
-
-################### SPITFIRE ###################
-
-if $BUILD_JESSIE; then
-git checkout auto/config
-DISTRO=jessie
-rm -rf cache tmpfs/cache
-sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
-
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging skypeforlinux" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix spitfire-nightly Spitfire64 $d$v KDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-spitfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-spitfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix64-spitfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix64-spitfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE.log $next/kanotix64-spitfire-nightly-KDE.log
-else
-        md5sum -b kanotix64-spitfire-nightly-${d}${v}-KDE.iso > kanotix64-spitfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix64-spitfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE.packages $next/kanotix64-spitfire-nightly-KDE.packages
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE.log $next/kanotix64-spitfire-nightly-KDE.log
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE.iso $next/kanotix64-spitfire-nightly-KDE.iso
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix64-spitfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-spitfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix64-spitfire-nightly-KDE.iso.md5
-fi
-
-lb clean
-lb config -d $DISTRO -p "kanotix-kde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix spitfire-nightly Spitfire32 $d$v KDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-spitfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-spitfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix32-spitfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix32-spitfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE.log $next/kanotix32-spitfire-nightly-KDE.log
-else
-        md5sum -b kanotix32-spitfire-nightly-${d}${v}-KDE.iso > kanotix32-spitfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix32-spitfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE.packages $next/kanotix32-spitfire-nightly-KDE.packages
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE.log $next/kanotix32-spitfire-nightly-KDE.log
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE.iso $next/kanotix32-spitfire-nightly-KDE.iso
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix32-spitfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-spitfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix32-spitfire-nightly-KDE.iso.md5
-fi
-
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging skypeforlinux" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix spitfire-nightly Spitfire64 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix64-spitfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.log $next/kanotix64-spitfire-nightly-LXDE.log
-else
-        md5sum -b kanotix64-spitfire-nightly-${d}${v}-LXDE.iso > kanotix64-spitfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix64-spitfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.packages $next/kanotix64-spitfire-nightly-LXDE.packages
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.log $next/kanotix64-spitfire-nightly-LXDE.log
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.iso $next/kanotix64-spitfire-nightly-LXDE.iso
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix64-spitfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-spitfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix64-spitfire-nightly-LXDE.iso.md5
-fi
-
-lb clean
-lb config -d $DISTRO -p "kanotix-lxde-master firefox wine-staging" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix spitfire-nightly Spitfire32 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix32-spitfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.log $next/kanotix32-spitfire-nightly-LXDE.log
-else
-        md5sum -b kanotix32-spitfire-nightly-${d}${v}-LXDE.iso > kanotix32-spitfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix32-spitfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.packages $next/kanotix32-spitfire-nightly-LXDE.packages
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.log $next/kanotix32-spitfire-nightly-LXDE.log
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.iso $next/kanotix32-spitfire-nightly-LXDE.iso
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix32-spitfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-spitfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix32-spitfire-nightly-LXDE.iso.md5
-fi
-
-## gfxdetect
-#git checkout config/binary_grub/grub.cfg
-
-if $BUILD_JESSIE_SPECIAL; then
-
-lb clean
-lb config -d $DISTRO -p "kanotix-master firefox wine-staging google-chrome skypeforlinux virtualbox android steam xbmc gfxdetect" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64 --initsystem systemd
-echo Kanotix spitfire-nightly Spitfire64 $d$v KDE-special > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.packages
-cp tmpfs/binary.log $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.log
-cd $target
-if [ ! -f kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso ]; then
-        cd -
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.log $next/kanotix64-spitfire-nightly-KDE-special.log
-else
-        md5sum -b kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso > kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso.md5
-        zsyncmake kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso
-        cd -
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.packages $next/kanotix64-spitfire-nightly-KDE-special.packages
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.log $next/kanotix64-spitfire-nightly-KDE-special.log
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso $next/kanotix64-spitfire-nightly-KDE-special.iso
-        ln -s $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso.zsync $next/kanotix64-spitfire-nightly-KDE-special.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-spitfire-nightly-${d}${v}-KDE-special.iso.md5 > $next/kanotix64-spitfire-nightly-KDE-special.iso.md5
-fi
-
-lb clean
-lb config -d $DISTRO -p "kanotix-master firefox wine-staging google-chrome virtualbox android steam xbmc gfxdetect" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
-echo Kanotix spitfire-nightly Spitfire32 $d$v KDE-special > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.packages
-cp tmpfs/binary.log $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.log
-cd $target
-if [ ! -f kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso ]; then
-        cd -
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.log $next/kanotix32-spitfire-nightly-KDE-special.log
-else
-        md5sum -b kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso > kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso.md5
-        zsyncmake kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso
-        cd -
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.packages $next/kanotix32-spitfire-nightly-KDE-special.packages
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.log $next/kanotix32-spitfire-nightly-KDE-special.log
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso $next/kanotix32-spitfire-nightly-KDE-special.iso
-        ln -s $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso.zsync $next/kanotix32-spitfire-nightly-KDE-special.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-spitfire-nightly-${d}${v}-KDE-special.iso.md5 > $next/kanotix32-spitfire-nightly-KDE-special.iso.md5
-fi
-fi # end of jessie special build
-fi # end of jessie build
-
-################### Dragonfire ###################
-
-if $BUILD_WHEEZY; then
-git checkout auto/config
-DISTRO=wheezy
-rm -rf cache tmpfs/cache
-sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
-
-lb clean
-lb config -d wheezy -p "kanotix-kde-master firefox" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64
-echo Kanotix dragonfire-nightly Dragonfire64 $d$v KDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix64-dragonfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.log $next/kanotix64-dragonfire-nightly-KDE.log
-else
-        md5sum -b kanotix64-dragonfire-nightly-${d}${v}-KDE.iso > kanotix64-dragonfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix64-dragonfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.packages $next/kanotix64-dragonfire-nightly-KDE.packages
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.log $next/kanotix64-dragonfire-nightly-KDE.log
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.iso $next/kanotix64-dragonfire-nightly-KDE.iso
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix64-dragonfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-dragonfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix64-dragonfire-nightly-KDE.iso.md5
-fi
-
-lb clean
-lb config -d wheezy -p "kanotix-kde-master firefox" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386
-echo Kanotix dragonfire-nightly Dragonfire32 $d$v KDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.packages
-cp tmpfs/binary.log $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.log
-cd $target
-if [ ! -f kanotix32-dragonfire-nightly-${d}${v}-KDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.log $next/kanotix32-dragonfire-nightly-KDE.log
-else
-        md5sum -b kanotix32-dragonfire-nightly-${d}${v}-KDE.iso > kanotix32-dragonfire-nightly-${d}${v}-KDE.iso.md5
-        zsyncmake kanotix32-dragonfire-nightly-${d}${v}-KDE.iso
-        cd -
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.packages $next/kanotix32-dragonfire-nightly-KDE.packages
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.log $next/kanotix32-dragonfire-nightly-KDE.log
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.iso $next/kanotix32-dragonfire-nightly-KDE.iso
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.iso.zsync $next/kanotix32-dragonfire-nightly-KDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-dragonfire-nightly-${d}${v}-KDE.iso.md5 > $next/kanotix32-dragonfire-nightly-KDE.iso.md5
-fi
-
-lb clean
-lb config -d wheezy -p "kanotix-lxde-master firefox" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a amd64
-echo Kanotix dragonfire-nightly Dragonfire64 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix64.iso
-check_iso
-mv kanotix64.iso $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.log $next/kanotix64-dragonfire-nightly-LXDE.log
-else
-        md5sum -b kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso > kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.packages $next/kanotix64-dragonfire-nightly-LXDE.packages
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.log $next/kanotix64-dragonfire-nightly-LXDE.log
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso $next/kanotix64-dragonfire-nightly-LXDE.iso
-        ln -s $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix64-dragonfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix64-dragonfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix64-dragonfire-nightly-LXDE.iso.md5
-fi
-
-lb clean
-lb config -d wheezy -p "kanotix-lxde-master firefox" --bootloader grub2 --tmpfs true --tmpfs-options size=16G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386
-echo Kanotix dragonfire-nightly Dragonfire32 $d$v LXDE > config/chroot_local-includes/etc/kanotix-version 
-lb build; cd tmpfs; ./isohybrid-acritox kanotix32.iso
-check_iso
-mv kanotix32.iso $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso; cd ..
-cp tmpfs/binary.packages $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.packages
-cp tmpfs/binary.log $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.log
-cd $target
-if [ ! -f kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso ]; then
-        cd -
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.log $next/kanotix32-dragonfire-nightly-LXDE.log
-else
-        md5sum -b kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso > kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso.md5
-        zsyncmake kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso
-        cd -
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.packages $next/kanotix32-dragonfire-nightly-LXDE.packages
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.log $next/kanotix32-dragonfire-nightly-LXDE.log
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso $next/kanotix32-dragonfire-nightly-LXDE.iso
-        ln -s $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso.zsync $next/kanotix32-dragonfire-nightly-LXDE.iso.zsync
-        sed "s/${d}${v}-//" $target/kanotix32-dragonfire-nightly-${d}${v}-LXDE.iso.md5 > $next/kanotix32-dragonfire-nightly-LXDE.iso.md5
-fi
-fi # end of wheezy build
 
 git checkout auto/config
 
-- 
cgit v1.0