summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-07-13 20:09:27 +0200
committerChristoph Mende <angelos@gentoo.org>2011-07-13 20:09:27 +0200
commitf33da420f9bfdba5e9b36e1b4b56d4a31178c42f (patch)
treef9c7129085de9252c50b4614831701d6d1f98538 /scripts/mount-chroot.sh
parentRun eclean-dist and eclean-pkg after sync (diff)
downloadangelos-f33da420f9bfdba5e9b36e1b4b56d4a31178c42f.tar.gz
angelos-f33da420f9bfdba5e9b36e1b4b56d4a31178c42f.tar.bz2
angelos-f33da420f9bfdba5e9b36e1b4b56d4a31178c42f.zip
Don't use /root
Diffstat (limited to 'scripts/mount-chroot.sh')
-rwxr-xr-xscripts/mount-chroot.sh6
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