diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-04-16 09:58:05 +0200 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-04-16 09:58:05 +0200 |
commit | 3f5a6ab4990665b12fb8ab7be7ff6a22ae322326 (patch) | |
tree | ad9a17159cbddc5eb3d2eaa36d1e6f08ed70e3c9 /scripts | |
parent | Added my personal scripts (diff) | |
download | angelos-3f5a6ab4990665b12fb8ab7be7ff6a22ae322326.tar.gz angelos-3f5a6ab4990665b12fb8ab7be7ff6a22ae322326.tar.bz2 angelos-3f5a6ab4990665b12fb8ab7be7ff6a22ae322326.zip |
mount-chroot: Don't bind distfiles/packages under PORTDIR
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mount-chroot.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |