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 |
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 |