From 3f5a6ab4990665b12fb8ab7be7ff6a22ae322326 Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Sat, 16 Apr 2011 09:58:05 +0200 Subject: mount-chroot: Don't bind distfiles/packages under PORTDIR --- scripts/mount-chroot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mount-chroot.sh b/scripts/mount-chroot.sh index b96dc44..3286359 100755 --- a/scripts/mount-chroot.sh +++ b/scripts/mount-chroot.sh @@ -19,7 +19,9 @@ mount --bind /dev/pts "$@"/dev/pts mount --bind /sys "$@"/sys mkdir -p "$@"/usr/portage mount --bind /home/angelos/gentoo-x86 "$@"/usr/portage -mount --bind /home/angelos/distfiles "$@"/usr/portage/distfiles +mkdir -p "$@"/root/{packages,distfiles} +mount --bind /home/angelos/distfiles "$@"/root/distfiles +mount --bind /home/angelos/packages "$@"/root/packages mount -t proc none "$@"/proc cp /etc/resolv.conf "$@"/etc -- cgit v1.2.3-65-gdbad