Annotation of /trunk/mage-buildserver/buildserver-upgrade.sh
Parent Directory | Revision Log
Revision 2782 -
(hide annotations)
(download)
(as text)
Thu Aug 28 09:22:00 2014 UTC (9 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 529 byte(s)
Thu Aug 28 09:22:00 2014 UTC (9 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 529 byte(s)
-enforce mage-tree rebuild before upgrade
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 | 2746 | for arch in src ${BUILD_ARCH[*]} |
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 | * |