Magellan Linux

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

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

revision 2793 by niro, Thu Aug 28 09:42:57 2014 UTC revision 2816 by niro, Mon Sep 8 14:59:12 2014 UTC
# Line 25  fi Line 25  fi
25  # create buildroot layout  # create buildroot layout
26  install -d ${BUILDROOT}/.stamps  install -d ${BUILDROOT}/.stamps
27  install -d ${BUILDROOT}/ssh  install -d ${BUILDROOT}/ssh
28  for arch in ${BUILD_ARCH[*]} src  for arch in $(enum-all-arch-types)
29  do  do
30   install -d ${BUILDROOT}/${arch}   install -d ${BUILDROOT}/${arch}
31   install -d ${BUILDROOT}/mage-tree/${arch}   install -d ${BUILDROOT}/mage-tree/${arch}
32   install -d ${BUILDROOT}/packages/${arch}   install -d ${BUILDROOT}/packages/${arch}
33   install -d ${BUILDROOT}/meta/${arch}   install -d ${BUILDROOT}/meta/${arch}
34   install -d ${BUILDROOT}/build-info/${arch}   install -d ${BUILDROOT}/build-info/${arch}
35     install -d ${BUILDROOT}/log/smage/${arch}
36  done  done
37    
38  #  #
39  # arch specific  # arch specific
40  #  #
41  for arch in src ${BUILD_ARCH[*]}  for arch in $(enum-all-arch-types)
42  do  do
43   if [ ! -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ]   if [ ! -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ]
44   then   then
# Line 56  done Line 57  done
57  # create initial mage-tree for all arches  # create initial mage-tree for all arches
58  ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh  ${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh
59    
60  for arch in src ${BUILD_ARCH[*]}  for arch in $(enum-all-arch-types)
61  do  do
   
  echo "DEBUG: arch='${arch}' BUILD_ARCH[*]='${BUILD_ARCH[*]}'"  
   
62   # honor any proxy settings   # honor any proxy settings
63   :> ${BUILDROOT}/${arch}/etc/env.d/01proxy   :> ${BUILDROOT}/${arch}/etc/env.d/01proxy
64   [[ -n ${http_proxy} ]] && echo "http_proxy=\"${http_proxy}\"" >> ${BUILDROOT}/${arch}/etc/env.d/01proxy   [[ -n ${http_proxy} ]] && echo "http_proxy=\"${http_proxy}\"" >> ${BUILDROOT}/${arch}/etc/env.d/01proxy

Legend:
Removed from v.2793  
changed lines
  Added in v.2816