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 ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
I should have posted this in systemd issues or discussion. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. |
Beta Was this translation helpful? Give feedback.
cgroupv1 support has been removed upstream, we do not support systems anymore that do not run cgroupv2