Skip to content
Snippets Groups Projects
Unverified Commit afbecb71 authored by Caleb Connolly's avatar Caleb Connolly :recycle:
Browse files

helpers: mount: fix rootfs mount path (MR 2344)


Subtle...

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 7741f74d
No related branches found
No related tags found
1 merge request!2344yet more fixes
......@@ -109,6 +109,6 @@ def mount_device_rootfs(chroot_rootfs: Chroot) -> PurePath:
"rootfs_qemu-amd64")
:returns: the mountpoint (relative to the native chroot)
"""
mountpoint = PurePath("/mnt", chroot_rootfs.dirname)
mountpoint = PurePath("/mnt", str(chroot_rootfs))
pmb.helpers.mount.bind(chroot_rootfs.path, Chroot.native() / mountpoint)
return mountpoint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment