Skip to content

Commit

Permalink
Test --arch=armel, refs #3
Browse files Browse the repository at this point in the history
  • Loading branch information
boronine committed Oct 27, 2021
1 parent 3fa99e4 commit 42e4a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nspawn2go.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run_nspawn(command: str, user='root'):
DEBOOTSTRAP_OPTS.append('--cache-dir={D_CACHE_DEB}')

opts = ' '.join(DEBOOTSTRAP_OPTS)
run_local(f'debootstrap {opts} {VMRELEASE} {VMNAME} http://deb.debian.org/debian/')
run_local(f'debootstrap --arch=armel {opts} {VMRELEASE} {VMNAME} http://deb.debian.org/debian/')

print('injecting hostname', F_HOSTNAME)
F_HOSTNAME.write_text(f'{VMNAME}\n')
Expand Down

0 comments on commit 42e4a52

Please sign in to comment.