mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 11:29:46 +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:
parent
0bc7e8ce43
commit
4df11c68b1
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ def bind(
|
||||||
for path in [source, destination]:
|
for path in [source, destination]:
|
||||||
Path(path).mkdir(exist_ok=True, parents=True)
|
Path(path).mkdir(exist_ok=True, parents=True)
|
||||||
|
|
||||||
|
pmb.logging.verbose(f"mount --bind {source} {destination}")
|
||||||
# Actually mount the folder
|
# Actually mount the folder
|
||||||
sandbox.mount_rbind(str(source), str(destination))
|
sandbox.mount_rbind(str(source), str(destination))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue