Pass --unshare-net to bwrap when building with --external-sources

Ensures that when `--external-sources` is used, the build does not require a working internet connection.

`--unshare-net` is always passed for the sysa phase.
This commit is contained in:
Eduardo Sánchez Muñoz 2023-04-13 18:52:37 +02:00
parent 343843dfdd
commit c143e65154
2 changed files with 3 additions and 1 deletions

View file

@ -14,7 +14,7 @@ import sys
def run(*args, **kwargs):
"""A small wrapper around subprocess.run"""
arguments = [str(arg) for arg in args]
arguments = [str(arg) for arg in args if arg is not None]
if kwargs.pop('verbose', False):
print(arguments)