forked from Mirror/pmbootstrap
helpers: mount: drop args (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
1371525c2b
commit
e547bb7f9c
13 changed files with 29 additions and 29 deletions
|
@ -94,13 +94,13 @@ def mount(args: PmbArgs, chroot: Chroot=Chroot.native()):
|
|||
for source, target in mountpoints.items():
|
||||
target_outer = chroot / target
|
||||
#raise RuntimeError("test")
|
||||
pmb.helpers.mount.bind(args, source, target_outer)
|
||||
pmb.helpers.mount.bind(source, target_outer)
|
||||
|
||||
|
||||
def mount_native_into_foreign(args: PmbArgs, chroot: Chroot):
|
||||
source = Chroot.native().path
|
||||
target = chroot / "native"
|
||||
pmb.helpers.mount.bind(args, source, target)
|
||||
pmb.helpers.mount.bind(source, target)
|
||||
|
||||
musl = next(source.glob("lib/ld-musl-*.so.1")).name
|
||||
musl_link = (chroot / "lib" / musl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue