Hey all, I typically install apps in the template VMs so that they can be used by multiple app VMs, but sometimes I need to install a specific version of a library, only inside specific App VM (and have it persist). For instance, I would like to use this for development, when working on a new version of an app which requires different versions of libraries, so I don’t want to install these libraries in the template VM.
I believe anything under /usr/local or /rw is specific for App VM and persisted. How can I tell dnf or rpm (in Fedora) to install libraries into these locations?
Look the --installroot=<path> dnf option. Note that I never used it, I only read the dnf man page.
An alternative is the usage of StandaloneVM.
Another alternative is a re-install of your packages on each boot, this could be automated (manual script in home which do sudo dnf install ... and launch your development app, with /rw/config/rc.local, …).