JayF | I'm wondering if I can get DIB to run inside a container; if so; https://github.com/multiarch/qemu-user-static/tree/master could be a drop-in tool to get cross-builds working with dib | 16:18 |
---|---|---|
JayF | I'll be looking at this in the next couple of days so if you want to warn me of dragons let me know :D | 16:18 |
clarkb | opendev runs dib in a container for all of our builds using the zuul/nodepool-builder image | 16:20 |
clarkb | actually quay.io/zuul-ci/nodepool-builder I think | 16:20 |
clarkb | but yes running a hte process in an emulated environment for another arch should work as long as it is fast enough to avoid performance related failures | 16:21 |
JayF | that's awesome; I think this'll work nicely | 16:26 |
JayF | honestly we could even wire something like this in for native cross-support | 16:26 |
JayF | e.g. $DIB_CHROOT_CMD could replace `chroot` usages, and someone could wire up an element to use that container to provide the chroot (mount the target_root somewhere, fire up the container; chroot into the target_root inside container) | 16:27 |
JayF | I'm going the easier path (run all of dib in the container) to start though | 16:27 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!