diff options
author | Peter Gavin <pete@gentoo.org> | 2001-08-10 17:52:47 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-08-10 17:52:47 +0000 |
commit | f30f34c20e5a131a5c46122379c00551d84a131f (patch) | |
tree | b4c1051eff291c005e6f50d4c2ce65f07e61d106 /scripts | |
parent | small fix (diff) | |
download | gentoo-2-f30f34c20e5a131a5c46122379c00551d84a131f.tar.gz gentoo-2-f30f34c20e5a131a5c46122379c00551d84a131f.tar.bz2 gentoo-2-f30f34c20e5a131a5c46122379c00551d84a131f.zip |
*** empty log message ***
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/autosysimg.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/autosysimg.sh b/scripts/autosysimg.sh index 22cd44cba80d..18ce747cee1e 100644 --- a/scripts/autosysimg.sh +++ b/scripts/autosysimg.sh @@ -26,7 +26,8 @@ rm -rf "${SYSIMG_ROOT}" mkdir -p "${SYSIMG_ROOT}" mount --bind ${PORTDIR} ${SYSIMG_ROOT}/${PORTDIR} -chroot bash -c "cd ${PORTDIR} ; scripts/bootstrap.sh ${BOOTSTRAP_PACKAGES}" +mkdir ${SYSIMG_ROOT}/scripts +chroot bash -c "cd ${PORTDIR} ; ROOT=/sysimg scripts/bootstrap.sh ${BOOTSTRAP_PACKAGES}" chroot bash -c "cd ${PORTDIR} ; scripts/autocompile.sh ${SYS_PACKAGES}" # now unmerge the build packages @@ -45,7 +46,7 @@ umount ${SYSIMG_ROOT}/${PORTDIR} rm -rf "${SYSIMG_ROOT}/tmp" mkdir -p ${SYSIMG_ROOT}/tmp chown root.root ${SYSIMG_ROOT}/tmp -chmod 1777 ${SYSIM_ROOT}/tmp +chmod 1777 ${SYSIMG_ROOT}/tmp mv ${SYSIMG_ROOT}/var/db/pkg ${ROOT}/var/db/pkg.build echo ">>> Creating ${SYS_TARBALL}..." |