mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-25 18:08:22 -04:00
Fixup error shell, exception log level in main() and arch checking before docker wrapping in cmd_build()
This commit is contained in:
parent
5eefcc9942
commit
f90bf1006a
2 changed files with 7 additions and 4 deletions
|
@ -497,13 +497,13 @@ def cmd_packages():
|
|||
@click.option('--arch', default=None)
|
||||
@click.argument('paths', nargs=-1)
|
||||
def cmd_build(paths: list[str], force=False, arch=None):
|
||||
enforce_wrap()
|
||||
if arch is None:
|
||||
# arch = config.get_profile()...
|
||||
arch = 'aarch64'
|
||||
|
||||
if arch not in ARCHES:
|
||||
raise Exception(f'Unknown architecture "{arch}". Choices: {", ".join(ARCHES)}')
|
||||
enforce_wrap()
|
||||
|
||||
for _arch in set([arch, config.runtime['arch']]):
|
||||
check_prebuilts(_arch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue