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 |
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 |
62 |
# honor any proxy settings |
# honor any proxy settings |
63 |
:> ${BUILDROOT}/${arch}/etc/env.d/01proxy |
:> ${BUILDROOT}/${arch}/etc/env.d/01proxy |