mkosi sandbox
should support --runtime-{build-sources,trees,scratch}
#3206
Labels
mkosi sandbox
should support --runtime-{build-sources,trees,scratch}
#3206
mkosi commit the issue has been seen with
main
Used host distribution
Fedora 40
Used target distribution
Fedora 40
Linux kernel version used
6.11.6-200.fc40.x86_64
CPU architectures issue was seen on
x86_64
Unexpected behaviour you saw
mkosi sandbox
is supposed to provide the same environment asmkosi {qemu,boot,shell}
but the runtime mounts do not seem to get applied.This would be great for more capable
mkosi.clangd
files (and similar wrapper files). Currently they are implemented as special cases of build scripts though this comes with the disadvantage that other build scripts are still run which can have unexpected side effects. I also think there is no easy way to influence the order of build scripts (by e.g. prefixing files with numbers).Another disadvantage of the wrapper scripts is that they call mkosi and expect that it is in the path. This might not always be the case as people can invoke it directly though
bin/mkosi
(here) or.venv/bin/mkosi
(unactivated python venv). Furthermore, wrapper scripts make it hard to specify args to mkosi like-C
while still allowing for args to the wrapped commandclangd --limit-references=0
.With
mkosi sandbox
this could often be simplified (and a method to obtain the config from inside the sandbox would be nice like$MKOSI_CONFIG
in build scripts)Used mkosi config
No response
mkosi output
No response
The text was updated successfully, but these errors were encountered: