diff options
-rwxr-xr-x | scripts/mount-chroot.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mount-chroot.sh b/scripts/mount-chroot.sh index ad419c7..8994aa8 100755 --- a/scripts/mount-chroot.sh +++ b/scripts/mount-chroot.sh @@ -18,8 +18,7 @@ fi : ${DISTDIR="$(portageq envvar DISTDIR)"} : ${PKGDIR="$(portageq envvar PKGDIR)"} -mount --bind /dev "$@"/dev -mount --bind /dev/pts "$@"/dev/pts +mount --rbind /dev "$@"/dev mount --bind /sys "$@"/sys mkdir -p "$@"/usr/portage mount --bind "${PORTDIR}" "$@"/usr/portage |