Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2782 - (show annotations) (download) (as text)
Thu Aug 28 09:22:00 2014 UTC (9 years, 8 months ago) by niro
File MIME type: application/x-sh
File size: 529 byte(s)
-enforce mage-tree rebuild before upgrade
1 #!/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 # regen mage-tree for all arches
10 ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh --force
11
12 for arch in src ${BUILD_ARCH[*]}
13 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 *