mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
crossdirect rustc hotfix
This commit is contained in:
parent
d1e07c0841
commit
4bba3e606c
1 changed files with 4 additions and 0 deletions
|
@ -189,6 +189,10 @@ def mount_crossdirect(native_chroot: str, target_chroot: str, target_arch: str,
|
||||||
else:
|
else:
|
||||||
logging.debug('ld-linux.so symlink already exists, skipping for {target_chroot}')
|
logging.debug('ld-linux.so symlink already exists, skipping for {target_chroot}')
|
||||||
|
|
||||||
|
# TODO: find proper fix
|
||||||
|
logging.debug('Disabling crossdirect rustc')
|
||||||
|
os.unlink(os.path.join(native_chroot, 'usr/lib/crossdirect', target_arch, 'rustc'))
|
||||||
|
|
||||||
os.makedirs(native_mount, exist_ok=True)
|
os.makedirs(native_mount, exist_ok=True)
|
||||||
logging.debug(f'Mounting {native_chroot} to {native_mount}')
|
logging.debug(f'Mounting {native_chroot} to {native_mount}')
|
||||||
result = mount(native_chroot, native_mount)
|
result = mount(native_chroot, native_mount)
|
||||||
|
|
Loading…
Add table
Reference in a new issue