diff --git a/mount-chroot.sh b/mount-chroot.sh index e4b778c..ef21e08 100755 --- a/mount-chroot.sh +++ b/mount-chroot.sh @@ -35,7 +35,7 @@ chroot.mount() { } done - mount -t overlayfs -o lowerdir="$chroot_base",upperdir="$target_dir",workdir="${target_dir}.work" "$mount_name" "$target_dir" + mount -t overlay -o lowerdir="$chroot_base",upperdir="$target_dir",workdir="${target_dir}.work" "$mount_name" "$target_dir" mount -t proc "${mount_name}_proc" "${target_dir}/proc" mount --rbind /dev "${target_dir}/dev" mount --rbind /sys "${target_dir}/sys"