change version
[debian6500.git] / simple-cdd / simple-cdd.conf
index ac0a14274d92f224bdbf8855ebfddf4f0e1e3378..18ed8c7dc57b5be234df023ba0b8563e9e6d5b6d 100644 (file)
@@ -2,17 +2,21 @@
 
 # normally we should use the built-in simple_cdd_dir but I have doubts.. Let's use this.
 # you'll probably want to change that
-working_dir="/home/trc6500/cdd-attempt"
+#working_dir="/home/trc6500/cdd-attempt"
+working_dir=$(pwd)
 
 # Profiles to include on the CD
 profiles="trc6500"
 build_profiles="trc6500"
 auto_profiles="trc6500"
 
-do_mirror="false"
-profiles_udeb_dist="wheezy"
-mirror_component="main"
-mirror_tools="wget"
+do_mirror="true"
+#debian_mirror="ftp://integration2/debian"
+debian_mirror="ftp://ftp.fr.debian.org/debian/"
+profiles_udeb_dist="bookworm"
+mirror_component="main non-free-firmware"
+export NONFREE=1
+#mirror_tools="wget"
 # default for mirror_tools is "wget reprepro". However, if we use reprepro, build-simple-cdd doesn't read the local_packages option, because it assumes reprepro has already built those into the mirror. But we're not building the mirror here, so we never actually get them. If we disable reprepro, it will actually look into local_packages.
 # Note that all this was because we were using the previously-built mirror in ./tmp instead of being connected to a repository like we'd normally do. If you don't do that just delete those things.
 
@@ -20,9 +24,10 @@ mirror_tools="wget"
 local_packages="${working_dir}/local_packages"
 
 # we'll unpack that during install
-# for now, this includes : master.tar, myrc.local, TRC6500.pub, local_packages/firmware-bnx2
+# for now, this includes : myrc.local, TRC6500.pub, local_packages/firmware-bnx2, and the deb package with all the master files
 # additionally, the bnx2 firmware is there because it resists being added to local_packages for some odd reason. So we'll install it by hand.
-all_extras="${working_dir}/master.tar,${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_0.36+wheezy.1_all.deb"
+#all_extras="${working_dir}/master.tar.gz,${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_20230210-5_all.deb"
+all_extras="${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_20230210-5_all.deb, $(find ${working_dir}/.. -maxdepth 1 -name trc6500-master-file\*.deb|sort|tail -1)"
 
 # added value
 export SPLASHPNG="${working_dir}/splash-thales.png"