From a4bd60b2064d9d5c9a58c3c534c4773b35a46a8c Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sat, 27 Mar 2021 17:36:08 +0100
Subject: Speedfire build for eeepc iso

---
 nightly_build.bash | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/nightly_build.bash b/nightly_build.bash
index cf9faf0..5de8440 100755
--- a/nightly_build.bash
+++ b/nightly_build.bash
@@ -60,6 +60,7 @@ mkdir -p $target $next
 ## remove gfxdetect entries from grub.cfg (for non-gfxdetect-builds)
 #sed -i '/gfxdetect/,/^}/{d}' config/binary_grub/grub.cfg
 
+BUILD_BULLSEYE=true
 BUILD_BUSTER=true
 BUILD_BUSTER_EXTRA_KDE=true
 BUILD_BUSTER_EXTRA_LXDE=true
@@ -68,6 +69,39 @@ BUILD_JESSIE=false
 BUILD_JESSIE_SPECIAL=false
 BUILD_WHEEZY=false
 
+################### SPEEDFIRE  ###################
+
+if $BUILD_BULLSEYE; then
+git checkout auto/config
+DISTRO=bullseye
+rm -rf cache tmpfs/cache
+sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
+
+# eeepc4G with LXDE
+lb clean
+lb config -d $DISTRO -p "kanotix-eeepc4G midori" --bootloader grub2 --tmpfs true --tmpfs-options size=14G --apt-http-proxy "http://127.0.0.1:3142" --cache-packages false --gfxoverlays false -a i386 --initsystem systemd
+echo Kanotix speedfire-nightly Speedfire32 $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-speedfire-nightly-${d}${v}-eeepc4G.iso; cd ..
+cp tmpfs/binary.packages $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.packages
+cp tmpfs/binary.log $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.log
+cd $target
+if [ ! -f kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso ]; then
+        cd -
+        ln -s $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-speedfire-nightly-eeepc4G.log
+else
+        md5sum -b kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso > kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso.md5
+        zsyncmake kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso
+        cd -
+        ln -s $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.packages $next/kanotix32-speedfire-nightly-eeepc4G.packages
+        ln -s $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.log $next/kanotix32-speedfire-nightly-eeepc4G.log
+        ln -s $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso $next/kanotix32-speedfire-nightly-eeepc4G.iso
+        ln -s $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso.zsync $next/kanotix32-speedfire-nightly-eeepc4G.iso.zsync
+        sed "s/${d}${v}-//" $target/kanotix32-speedfire-nightly-${d}${v}-eeepc4G.iso.md5 > $next/kanotix32-speedfire-nightly-eeepc4G.iso.md5
+fi
+fi # end of bullseye build
+
 ################### SILVERFIRE ###################
 
 if $BUILD_BUSTER; then
-- 
cgit v1.0