WHy mkosi box for unit tests ? #4099
|
systemd 260 (260 ~ devel) I havef tried running the systemd unit test : According to mkosi.md:
SO the tools tree is from my build folder ? and the environment is my host root fs without the /usr folder ? Why not run the unit tests inside a full VM for better reproducibility ? |
Replies: 3 comments 3 replies
|
I should have posted this in systemd issues or discussion. |
|
A VM is too much overhead for a simple unit test. mkosi box exists to allow development without having to install all build dependencies on your host system. You might not be able or want to install the proper deps on your host system and mkosi box allows you to avoid that entirely. |
|
Thanks. |
cgroupv1 support has been removed upstream, we do not support systems anymore that do not run cgroupv2