diff options
-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 |