diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-07-13 20:09:27 +0200 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-07-13 20:09:27 +0200 |
commit | f33da420f9bfdba5e9b36e1b4b56d4a31178c42f (patch) | |
tree | f9c7129085de9252c50b4614831701d6d1f98538 | |
parent | Run eclean-dist and eclean-pkg after sync (diff) | |
download | angelos-f33da420f9bfdba5e9b36e1b4b56d4a31178c42f.tar.gz angelos-f33da420f9bfdba5e9b36e1b4b56d4a31178c42f.tar.bz2 angelos-f33da420f9bfdba5e9b36e1b4b56d4a31178c42f.zip |
Don't use /root
-rwxr-xr-x | scripts/mount-chroot.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mount-chroot.sh b/scripts/mount-chroot.sh index be97aaa..17b45c1 100755 --- a/scripts/mount-chroot.sh +++ b/scripts/mount-chroot.sh @@ -23,9 +23,9 @@ mount --bind /dev/pts "$@"/dev/pts mount --bind /sys "$@"/sys mkdir -p "$@"/usr/portage mount --bind "${PORTDIR}" "$@"/usr/portage -mkdir -p "$@"/root/{packages,distfiles} -mount --bind "${DISTDIR}" "$@"/root/distfiles -mount --bind "${PKGDIR}" "$@"/root/packages +mkdir -p "$@"/{packages,distfiles} +mount --bind "${DISTDIR}" "$@"/distfiles +mount --bind "${PKGDIR}" "$@"/packages mount -t proc none "$@"/proc cp /etc/resolv.conf "$@"/etc |