26 |
|
|
27 |
# only allow the right arches |
# only allow the right arches |
28 |
case ${arch} in |
case ${arch} in |
29 |
i*86|x86_64) buildroot="${BUILDROOT}/${arch}"; os_arch="${arch}" ;; |
i*86|x86_64|src|playground*) buildroot="${BUILDROOT}/${arch}"; os_arch="$(os-arch ${arch})" ;; |
|
src) os_arch="$(source ${BUILDSERVER_CONFIG_DIR}/profiles/${BUILDROOT_PROFILE}/src/mage.rc; echo ${ARCH})"; buildroot="${BUILDROOT}/src" ;; |
|
30 |
*) die "unknown architecture '${arch}'" ;; |
*) die "unknown architecture '${arch}'" ;; |
31 |
esac |
esac |
32 |
|
|
61 |
|
|
62 |
# only allow the right arches |
# only allow the right arches |
63 |
case ${arch} in |
case ${arch} in |
64 |
i*86|x86_64|src) buildroot="${BUILDROOT}/${arch}"; runrc="${buildroot}/.runrc" ;; |
i*86|x86_64|src|playground*) buildroot="${BUILDROOT}/${arch}"; runrc="${buildroot}/.runrc" ;; |
65 |
*) die "unknown architecture '${arch}'" ;; |
*) die "unknown architecture '${arch}'" ;; |
66 |
esac |
esac |
67 |
|
|