Skip to content

tools: add '--native-build' option to lisa-build-asset

Darryl Green requested to merge github/fork/pierregondois/lisa_build_asset into master

Created by: pierregondois

The '--native-build' option allows to natively compile an asset instead of cross-compiling it. It uses alpine-chroot-install [1], which installs Alpine Linux into a chroot and uses qemu to emulate the desired architecture.

Only a few asset/architecture couples are currently available, so the option only natively compiles an asset if possible.

As chroot requires root privileges, the '--native-build' option also requires root privileges.

[1]: https://github.com/alpinelinux/alpine-chroot-install

TODO list:

  • perf: wait for some things to be accepted on the upstream project
  • All assets: update the binaries

Merge request reports