35 |
|
|
36 |
setarch "${os_arch}" systemd-nspawn \ |
setarch "${os_arch}" systemd-nspawn \ |
37 |
--directory="${buildroot}" \ |
--directory="${buildroot}" \ |
38 |
--bind=${BUILDROOT}/tmp/mage-tree:/usr/mage \ |
--bind=${BUILDROOT}/mage-tree/${arch}:/usr/mage \ |
39 |
--bind=${BUILDROOT}/svn/mage/include:/usr/mage/include \ |
--bind=${BUILDROOT}/svn/mage/include:/usr/mage/include \ |
40 |
--bind=${BUILDROOT}/svn/mage/profiles:/usr/mage/profiles \ |
--bind=${BUILDROOT}/svn/mage/profiles:/usr/mage/profiles \ |
41 |
--bind=${BUILDROOT}/svn/smage:/var/cache/mage/smage \ |
--bind=${BUILDROOT}/svn/smage:/var/cache/mage/smage \ |
68 |
|
|
69 |
# create runrc |
# create runrc |
70 |
echo "${cmd}" > "${runrc}" |
echo "${cmd}" > "${runrc}" |
71 |
runarch-script "${arch}" .runrc || die "runarch script execition of '${runrc}' failed." |
runarch-script "${arch}" .runrc || die "runarch script execution of '${runrc}' failed." |
72 |
|
|
73 |
if [ -f "${runrc}" ] |
if [ -f "${runrc}" ] |
74 |
then |
then |