axii.switch_os removes additional dictionary entries in prepare step
The module deps/azure-kinect/sensor-sdk
has dependencies managed through axii.switch_os
.
Currently axii removes the whole json object containing the switch_os
and replaces it with the value.
This removes all other dependencies listed.
As mentioned in #158 (closed) this is the intended behavior but I don't see a way to work around that without having to add all dependencies required in both cases to both cases explicitly.
Is there another way to define the dependencies to work properly?
Here is the required modules definition for reference.
"required_modules": {
"axii.switch_os": {
"jammy": {
"apt/gxx-9": {},
"deps/libsoundio": {},
"deps/opencv-3": {}
},
"default": {
"tools/g++/6": {}
}
},
"apt/libusb": {},
"apt/xorg": {},
"apt/libudev": {},
"deps/opencv-3": {},
"deps/azure-kinect/depth-engine": {}
}
Edited by Tobias Gröger