--- trunk/pkgtools/add2mcore.sh 2011/05/31 17:42:39 1330 +++ trunk/pkgtools/add2mcore.sh 2013/05/13 11:45:58 2116 @@ -111,6 +111,8 @@ :> ${BUILDROOT}/.installrc echo "export LC_ALL=C" >> ${BUILDROOT}/.installrc +# do not start any services, set mage bootstrap flag +echo "export MAGE_BOOTSTRAP=true" >> ${BUILDROOT}/.installrc echo "REPO=${REPO}" >> ${BUILDROOT}/.installrc echo "CURPNAME=${CURPNAME}" >> ${BUILDROOT}/.installrc echo "CURPVER=${CURPVER}" >> ${BUILDROOT}/.installrc @@ -156,7 +158,7 @@ echo 'rm -rf /var/cache/mage/sources/${CURPNAME}' >> ${BUILDROOT}/.installrc EOF -sudo -H /sbin/chroot ${BUILDROOT} /bin/bash /.installrc +sudo -H chroot ${BUILDROOT} /bin/bash /.installrc sudo rm ${BUILDROOT}/.installrc if [[ ! -z ${CURSPLITPACKAGES} ]]