Action Images are very tightly tied to OSIE #136
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/design
Categorizes issue or PR as related to design.
kind/feature
Categorizes issue or PR as related to a new feature.
Tink starts by booting OSIE, OSIE runs the workflow engine, the workflow engine runs some Action Images via docker containers, and hopefully at the last step in the workflow the system boots in to the freshly installed OS.
These Action Images, though, are limited by what OSIE can do. In fact, this binding is quite tight and probably by mistake.
Some examples of this:
One way I was able to get around this this was by:
/etc
/etc/issue
/
to/hostroot
in the containerchroot /hostroot apk add ...
to install my required kernel modules to the hostchroot /hostroot modprobe ...
to load the kernel modulesbut this is not actually a viable solution. In particular, I was stuck in mud for a bit by osie using a somewhat / lightly patched version of alpine's kernel, making it tricky to do this custom build.
Some different ways to work around this might be:
This option is most flexible as these VMs could be minimally small but support exactly the hardware and VM the user needs. Further, they can be built with matched pairs of kernel modules to CLI tools.
This is probably desirable anyway. Like I mentioned the Action Images are quite tightly tied to what the host provides. This sort of binding can be hard to upgrade, especially when the purpose of the action images are to fiddle bits with the hardware. Being able to pin and version them would likely help a lot.
The text was updated successfully, but these errors were encountered: