Magellan Linux

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

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

revision 2749 by niro, Wed Aug 13 14:28:18 2014 UTC revision 2792 by niro, Thu Aug 28 09:38:38 2014 UTC
# Line 7  source ${BUILDSERVER_CONFIG_DIR}/buildse Line 7  source ${BUILDSERVER_CONFIG_DIR}/buildse
7    
8  source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh  source ${BUILDSERVER_LIB_DIR}/buildserver-functions.sh
9    
10  # override  # fallback
11  #BUILDROOT="/mnt/test-buildroot"  if [[ -z ${MAGE_PROFILE} ]]
12  #BUILD_ARCH=( x86_64 i686 )  then
13  #BUILDROOT_PROFILE="R11"   echo "Warning: using '${BUILDROOT_PROFILE}' as MAGE_PROFILE. You should define MAGE_PROFILE in the profile.conf."
14  #SMAGE_SVN_REPO="svn://cvs.magellan-linux.de/smage/trunk"   MAGE_PROFILE="${BUILDROOT_PROFILE}"
15  #MAGE_SVN_REPO="svn://cvs.magellan-linux.de/mage/trunk"  fi
16    
17  if [ ! -f ${BUILDROOT}/.stamps/mage_svn-checkout-ok ]  if [ ! -f ${BUILDROOT}/.stamps/mage_svn-checkout-ok ]
18  then  then
# Line 21  fi Line 21  fi
21    
22  # create buildroot layout  # create buildroot layout
23  install -d ${BUILDROOT}/.stamps  install -d ${BUILDROOT}/.stamps
 install -d ${BUILDROOT}/tmp/mage-tree  
24  install -d ${BUILDROOT}/ssh  install -d ${BUILDROOT}/ssh
25  for arch in ${BUILD_ARCH[*]} src  for arch in ${BUILD_ARCH[*]} src
26  do  do
27   install -d ${BUILDROOT}/${arch}   install -d ${BUILDROOT}/${arch}
28     install -d ${BUILDROOT}/mage-tree/${arch}
29   install -d ${BUILDROOT}/packages/${arch}   install -d ${BUILDROOT}/packages/${arch}
30   install -d ${BUILDROOT}/meta/${arch}   install -d ${BUILDROOT}/meta/${arch}
31   install -d ${BUILDROOT}/build-info/${arch}   install -d ${BUILDROOT}/build-info/${arch}
# Line 41  do Line 41  do
41   mage-bootstrap \   mage-bootstrap \
42   --root ${BUILDROOT}/${arch} \   --root ${BUILDROOT}/${arch} \
43   --magerc ${BUILDSERVER_CONFIG_DIR}/profiles/${BUILDROOT_PROFILE}/${arch}/mage.rc \   --magerc ${BUILDSERVER_CONFIG_DIR}/profiles/${BUILDROOT_PROFILE}/${arch}/mage.rc \
44   --profile "${BUILDROOT_PROFILE}" \   --profile "${MAGE_PROFILE}" \
45   --basesystem "${BOOTSTRAP_BASESYSTEM}" \   --basesystem "${BOOTSTRAP_BASESYSTEM}" \
46   || die "'${arch}' bootstrap"   || die "'${arch}' bootstrap"
47   touch ${BUILDROOT}/.stamps/${arch}_bootstrap-ok   touch ${BUILDROOT}/.stamps/${arch}_bootstrap-ok

Legend:
Removed from v.2749  
changed lines
  Added in v.2792