mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-25 09:58:21 -04:00
partially fix crossdirect and QEMU_LD_PREFIX env var, copy /lib/ld-linux-* to foreign chroot for cross-execution
This commit is contained in:
parent
527cc5606c
commit
6242e4850d
4 changed files with 43 additions and 18 deletions
5
utils.py
5
utils.py
|
@ -19,7 +19,7 @@ def umount(dest):
|
|||
'-lc',
|
||||
dest,
|
||||
],
|
||||
stderr=subprocess.DEVNULL,
|
||||
capture_output=True,
|
||||
)
|
||||
|
||||
|
||||
|
@ -40,3 +40,6 @@ def mount(src: str, dest: str, options=['bind'], type=None) -> subprocess.Comple
|
|||
if result.returncode == 0:
|
||||
atexit.register(umount, dest)
|
||||
return result
|
||||
if result.returncode == 0:
|
||||
atexit.register(umount, dest)
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue