You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Truly hermetic builds require complete isolation from the host, including removal of the influence of the host kernel and system properties. In order to do so, Mock needs to learn how to boot up a lightweight virtual machine, similar to what obs-build does in this scenario (and to note, this is the default for obs-build).
This would essentially mean adding a third runtime backend (in addition to simple and nspawn) for KVM, and maybe also a fourth one for plain QEMU (for foreign arch builds).
The code from obs-build is fairly straightforward:
This would also resolve several problems we have with container-based builds where host properties leak and break things (like #952, #691, #1100, #1222, #1487, #1554, and so on).
The text was updated successfully, but these errors were encountered:
Truly hermetic builds require complete isolation from the host, including removal of the influence of the host kernel and system properties. In order to do so, Mock needs to learn how to boot up a lightweight virtual machine, similar to what
obs-build
does in this scenario (and to note, this is the default forobs-build
).This would essentially mean adding a third runtime backend (in addition to
simple
andnspawn
) for KVM, and maybe also a fourth one for plain QEMU (for foreign arch builds).The code from
obs-build
is fairly straightforward:This would also resolve several problems we have with container-based builds where host properties leak and break things (like #952, #691, #1100, #1222, #1487, #1554, and so on).
The text was updated successfully, but these errors were encountered: