Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2588 by niro, Thu Feb 6 13:07:22 2014 UTC revision 2781 by niro, Thu Aug 28 09:21:00 2014 UTC
# Line 6  source ${BUILDSERVER_CONFIG_DIR}/buildse Line 6  source ${BUILDSERVER_CONFIG_DIR}/buildse
6    
7  source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh  source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh
8    
9  # override  for arch in src ${BUILD_ARCH[*]}
 #BUILDROOT="/mnt/test-buildroot"  
 #BUILD_ARCH=( x86_64 i686 )  
 #BUILDROOT_PROFILE="R11"  
 #SMAGE_SVN_REPO="svn://cvs.magellan-linux.de/smage/trunk"  
 #MAGE_SVN_REPO="svn://cvs.magellan-linux.de/mage/trunk"  
   
 if [ -f ${BUILDROOT}/.stamps/src_bootstrap-ok ]  
 then  
  runarch src mage upgrade || die "src upgrade"  
 else  
  echo "Warning: No buildroot for arch 'src' bootstrapped. Doing nothing"  
 fi  
   
 for arch in ${BUILD_ARCH[*]}  
10  do  do
11   if [ -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ]   if [ -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ]
12   then   then
# Line 29  do Line 15  do
15   echo "Warning: No buildroot for arch '${arch}' bootstrapped. Doing nothing"   echo "Warning: No buildroot for arch '${arch}' bootstrapped. Doing nothing"
16   fi   fi
17  done  done
18    
19    # regen mage-tree for all arches
20    ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh

Legend:
Removed from v.2588  
changed lines
  Added in v.2781