Magellan Linux

Annotation of /trunk/mage-buildserver/buildserver-upgrade.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2783 - (hide annotations) (download) (as text)
Thu Aug 28 09:23:22 2014 UTC (9 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 531 byte(s)
-use enum-all-arch-types() function to respect all arches and special ones like playground
1 niro 2588 #!/bin/bash
2    
3     # get configuration
4     BUILDSERVER_CONFIG_DIR="/etc/mage-buildserver"
5     source ${BUILDSERVER_CONFIG_DIR}/buildserver.conf
6    
7     source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh
8    
9 niro 2782 # regen mage-tree for all arches
10     ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh --force
11    
12 niro 2783 for arch in $(enum-all-arch-types)
13 niro 2588 do
14     if [ -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ]
15     then
16     runarch "${arch}" mage upgrade || die "${arch} upgrade"
17     else
18     echo "Warning: No buildroot for arch '${arch}' bootstrapped. Doing nothing"
19     fi
20     done

Properties

Name Value
svn:executable *