forked from Mirror/pmbootstrap
helpers: mount: fix rootfs mount path (MR 2344)
Subtle... Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
7741f74d44
commit
afbecb7184
1 changed files with 1 additions and 1 deletions
|
@ -109,6 +109,6 @@ def mount_device_rootfs(chroot_rootfs: Chroot) -> PurePath:
|
||||||
"rootfs_qemu-amd64")
|
"rootfs_qemu-amd64")
|
||||||
:returns: the mountpoint (relative to the native chroot)
|
: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)
|
pmb.helpers.mount.bind(chroot_rootfs.path, Chroot.native() / mountpoint)
|
||||||
return mountpoint
|
return mountpoint
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue