Heya IceWhale community,
I am currently attempting to solve this issue ( https://github.com/IceWhaleTech/ZimaOS/issues/236 ). For that, I am trying to figure out how exactly zpkg operates and what capabilities it has. I have already figured out ( by the available open-source packages ) that all zpkg packages are squashfs files containing the file structure to be installed. Now my issue is, in order to install virtio kernel modules, I need to run “depmod -a”. But I can’t find a way to run this as a post-install hook before the file system is locked again. Does zpkg have the ability to run post-install hooks? Otherwise I need to find an alternative way to approach this issue.
Thank you, and have a great day.