1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00

helpers: mount: log bind mounts

Since we no longer shell out we don't print the mount command, add a log entry for it...

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
This commit is contained in:
Casey Connolly 2025-06-21 21:58:06 +02:00
parent 0bc7e8ce43
commit 4df11c68b1

View file

@ -43,6 +43,7 @@ def bind(
for path in [source, destination]:
Path(path).mkdir(exist_ok=True, parents=True)
pmb.logging.verbose(f"mount --bind {source} {destination}")
# Actually mount the folder
sandbox.mount_rbind(str(source), str(destination))