Open nbuchwitz opened 2 weeks ago
looks fine to me, but I remember @sjoerdsimons had some reservations about ai ply integrating another tool and would rather rewrite debootstrap in go utilising more efficient system libs (debootstrap is single threaded, assumes not much is installed on the target system etc etc)
looks fine to me, but I remember @sjoerdsimons had some reservations about ai ply integrating another tool and would rather rewrite debootstrap in go utilising more efficient system libs (debootstrap is single threaded, assumes not much is installed on the target system etc etc)
Thanks for the fast response and the heads up. mmdebstrap
deals with some major issues of deboostrap
(some of them are even wontfix, like multiple mirrors etc). So maybe it is worth considering it (as an intermediate solution). Looking forward to @sjoerdsimons feedback
With uml or qemu the performance gain is even more: about 2 minutes less with uml and more than 3 minutes less with qemu in the ci tests.
Add mmdebstrap [1] as a faster and more flexible alternative to debootstrap.
[1] https://gitlab.mister-muffin.de/josch/mmdebstrap
I am not really familar with go (day to day language is Python or C). Therefore I ask for your patience :-)
Comparison to deboostrap
Example recipe on a Raspberry Pi 5 in docker container with KVM enabled:
With
deboostrap
:With
mmdebstrap
:=> 20 seconds faster. I plan to build a kinda build-on-demand service around debos, so every second matters :smile: