Contents of /trunk/mage-buildserver/buildserver-upgrade.sh
Parent Directory | Revision Log
Revision 2588 -
(show annotations)
(download)
(as text)
Thu Feb 6 13:07:22 2014 UTC (10 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 823 byte(s)
Thu Feb 6 13:07:22 2014 UTC (10 years, 4 months ago) by niro
File MIME type: application/x-sh
File size: 823 byte(s)
-initial version
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 | if [ -f ${BUILDROOT}/.stamps/src_bootstrap-ok ] |
17 | then |
18 | runarch src mage upgrade || die "src upgrade" |
19 | else |
20 | echo "Warning: No buildroot for arch 'src' bootstrapped. Doing nothing" |
21 | fi |
22 | |
23 | for arch in ${BUILD_ARCH[*]} |
24 | do |
25 | if [ -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ] |
26 | then |
27 | runarch "${arch}" mage upgrade || die "${arch} upgrade" |
28 | else |
29 | echo "Warning: No buildroot for arch '${arch}' bootstrapped. Doing nothing" |
30 | fi |
31 | done |
Properties
Name | Value |
---|---|
svn:executable | * |