Contents of /trunk/mage-buildserver/buildserver-upgrade.sh
Parent Directory | Revision Log
Revision 2746 -
(show annotations)
(download)
(as text)
Wed Aug 13 11:18:36 2014 UTC (9 years, 10 months ago) by niro
File MIME type: application/x-sh
File size: 733 byte(s)
Wed Aug 13 11:18:36 2014 UTC (9 years, 10 months ago) by niro
File MIME type: application/x-sh
File size: 733 byte(s)
-consolidate things and run buildserver-setup-mage-tree.sh after an 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 | # override |
10 | #BUILDROOT="/mnt/test-buildroot" |
11 | #BUILD_ARCH=( x86_64 i686 ) |
12 | #BUILDROOT_PROFILE="R11" |
13 | #SMAGE_SVN_REPO="svn://cvs.magellan-linux.de/smage/trunk" |
14 | #MAGE_SVN_REPO="svn://cvs.magellan-linux.de/mage/trunk" |
15 | |
16 | for arch in src ${BUILD_ARCH[*]} |
17 | do |
18 | if [ -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ] |
19 | then |
20 | runarch "${arch}" mage upgrade || die "${arch} upgrade" |
21 | else |
22 | echo "Warning: No buildroot for arch '${arch}' bootstrapped. Doing nothing" |
23 | fi |
24 | done |
25 | |
26 | # regen mage-tree for all arches |
27 | ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh |
Properties
Name | Value |
---|---|
svn:executable | * |