+++ /dev/null
-# rproxy configure options
-
-# Should webconfig be enabled?
-SERVICE=yes
-
-# SITES: filename containing site declarations
-SITES=/etc/rproxy/sites.csv
# now we unpack our master archive and replace all those conf files and scripts and things
echo 'Unpacking master config files..'
-dpkg -i /media/cdrom/simple-cdd/trc6500-master-files* # version-proof
+dpkg -i /media/cdrom/simple-cdd/trc6500-master-file* # version-proof
chown root /etc/cron.d/getswitchtemp
chown root /root/bin/get_switch_temperature
echo 'Files unpacked.'
# 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=$(pwd)
# Profiles to include on the CD
profiles="trc6500"
build_profiles="trc6500"
auto_profiles="trc6500"
-do_mirror="false"
+do_mirror="true"
+debian_mirror="ftp://integration2/debian"
profiles_udeb_dist="wheezy"
mirror_component="main"
mirror_tools="wget"
# 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.gz,${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_0.36+wheezy.1_all.deb"
-all_extras="${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_0.36+wheezy.1_all.deb, ${working_dir}/deb_build/trc6500-master-files*.deb"
+all_extras="${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_0.36+wheezy.1_all.deb, $(find ${working_dir}/.. -maxdepth 1 -name trc6500-master-file\*.deb|sort|tail -1)"
# added value
export SPLASHPNG="${working_dir}/splash-thales.png"