Changeset 407


Ignore:
Timestamp:
Oct 6, 2012, 2:02:57 AM (8 years ago)
Author:
amain
Message:

bitten: clean-up slave configs

Location:
branches/contrib/bitten/slaves
Files:
4 added
1 deleted
4 moved

Legend:

Unmodified
Added
Removed
  • branches/contrib/bitten/slaves/slave2/cron.sh

    r403 r407  
    1818
    1919# MAILTO=amain@debwrt.net
    20 # 0 1 * * * /home/bitten/slaves/cron-slave2.debwrt.net.sh
     20# 0 1 * * * /home/bitten/slaves/slaveN/cron.sh
    2121
    2222[ -f /etc/profile ] && source /etc/profile
    2323
    24 cd ~/slaves
    25 ./mipsel:brcm47xx:broadcom-b43.sh
    26 ./mips:ar71xx:ubntrspro.sh
     24BASEDIR=$(readlink -f $(dirname $0))
     25
     26cd ${BASEDIR}
     27${BASEDIR}/slave.sh ${BASEDIR}/mips:ar71xx:ubntrspro.ini
     28${BASEDIR}/slave.sh ${BASEDIR}/mipsel:brcm47xx:broadcom-b43.ini
     29
  • branches/contrib/bitten/slaves/slave2/mips:ar71xx:ubntrspro.ini

    r401 r407  
    66[machine]
    77name = Oracle VirtualBox @ MacMini
    8 machine = mips:ar71xx:ubntrspro
    98processor = Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
    109
     
    1211username = slave2
    1312password = bYbzYNhl
     13
     14[target]
     15architecture = mips
     16system = ar71xx
     17profile = ubntrspro
  • branches/contrib/bitten/slaves/slave2/mipsel:brcm47xx:broadcom-b43.ini

    r402 r407  
    66[machine]
    77name = Oracle VirtualBox @ MacMini
    8 machine = mipsel:brcm47xx:broadcom-b43
    98processor = Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
    109
     
    1211username = slave2
    1312password = bYbzYNhl
     13
     14[target]
     15architecture = mipsel
     16system = brcm47xx
     17profile = broadcom-b43
     18~                     
  • branches/contrib/bitten/slaves/slave2/slave.sh

    r403 r407  
    1717# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1818
    19 script=$(basename $0)
    20 arch=${script/.*/}
    21 ini=${arch}.ini
    22 name=$(hostname -f)
    23 work=~/${arch}
    24 server="http://dev.debwrt.net"
    25 log=~/${arch}.log
    2619
    27 cat <<EOF
    28 Starting Bitten Slave
     20BASEDIR=$(readlink -f $(dirname $0))
     21source ${BASEDIR}/../include/slaves.inc.sh
    2922
    30 name: ${name}
    31 arch: ${arch}
    32 ini : ${ini}
    33 work: ${work}
    34 log : ${log}
    35 
    36 EOF
    37 
    38 bitten-slave --verbose \
    39              --single \
    40              --keep-files \
    41              --config ${ini} \
    42              --work-dir ${work} \
    43              --log ${log} \
    44              --name ${name} \
    45              $@ \
    46              ${server}
Note: See TracChangeset for help on using the changeset viewer.