Hi, > Is the JSON file completely static, listing all modules that were built > regardless of whether they are currently installed, or would it need to > be refreshed when installing/uninstalling RPMs with modules ? I would > think we can do the former and simply handle missing modules on disk > fairly easily
We can do both. The file is generated and installed as part of the build/install process, and it can be simply used as-is even if some of the modules are missing. It's also possible to update the modinfo.json file in postinstall / postuninstall by simply running qemu-modinfo, so only the modules actually installed are listed there. take care, Gerd