correct trc6500 master file
authorLaurent Mazet <laurent.mazet@thalesgroup.com>
Mon, 14 Sep 2015 18:09:05 +0000 (20:09 +0200)
committerLaurent Mazet <laurent.mazet@thalesgroup.com>
Mon, 14 Sep 2015 18:09:05 +0000 (20:09 +0200)
master/etc/default/rproxy [deleted file]
master/etc/rproxy/sites.csv [deleted file]
simple-cdd/local_packages/webconfig_1.16.0-1_all.deb
simple-cdd/profiles/trc6500.postinst
simple-cdd/simple-cdd.conf

diff --git a/master/etc/default/rproxy b/master/etc/default/rproxy
deleted file mode 100644 (file)
index 7b0dcda..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# rproxy configure options
-
-# Should webconfig be enabled?
-SERVICE=yes
-
-# SITES: filename containing site declarations
-SITES=/etc/rproxy/sites.csv
diff --git a/master/etc/rproxy/sites.csv b/master/etc/rproxy/sites.csv
deleted file mode 100644 (file)
index 6589008..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# Host;portExt;portInt
-fe306-1;8110;80
-fe306-2;8120;80
-fe306-3;8130;80
-fe306-4;8140;80
-fe306-5;8150;80
-swg1;8231;80
-swg2;8232;80
index 6b0e41767c88c4b26df3caa548395e59cf37cc5b..d335c7a531d22213b673228d70c0484c7ffb47bb 100644 (file)
Binary files a/simple-cdd/local_packages/webconfig_1.16.0-1_all.deb and b/simple-cdd/local_packages/webconfig_1.16.0-1_all.deb differ
index 4a808e83f7de2605d68db16875a67babb8820376..5670732bcbeb0bf46d02261c78a46cdad6c7868a 100755 (executable)
@@ -18,7 +18,7 @@ echo 'force-confnew' > /etc/dpkg/dpkg.cfg.d/trc6500
 
 # 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.'
index ae6faffc580dd9df60b79583e3250a6afb43aae9..5432ae9c4c7277425d7ce14f76b32cf0df27affb 100644 (file)
@@ -3,13 +3,15 @@
 # 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"
@@ -23,7 +25,7 @@ local_packages="${working_dir}/local_packages"
 # 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"