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} |
37 |
# |
# |
38 |
# arch specific |
# arch specific |
39 |
# |
# |
40 |
for arch in src ${BUILD_ARCH[*]} |
for arch in $(enum-all-arch-types) |
41 |
do |
do |
42 |
if [ ! -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ] |
if [ ! -f ${BUILDROOT}/.stamps/${arch}_bootstrap-ok ] |
43 |
then |
then |
56 |
# create initial mage-tree for all arches |
# create initial mage-tree for all arches |
57 |
${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh |
${BUILDSERVER_LIB_DIR}/buildserver-setup-mage-tree.sh |
58 |
|
|
59 |
for arch in src ${BUILD_ARCH[*]} |
for arch in $(enum-all-arch-types) |
60 |
do |
do |
|
|
|
|
echo "DEBUG: arch='${arch}' BUILD_ARCH[*]='${BUILD_ARCH[*]}'" |
|
|
|
|
61 |
# honor any proxy settings |
# honor any proxy settings |
62 |
:> ${BUILDROOT}/${arch}/etc/env.d/01proxy |
:> ${BUILDROOT}/${arch}/etc/env.d/01proxy |
63 |
[[ -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 |