On 09/15/2018 06:34 PM, Daniel Baumann wrote:
>   .. move from /usr/share/virtualbox-ext-pack to
>      /var/cache/virtualbox-ext-pack?
> 
>   .. give precedence and use files in /usr/share/virtualbox-ext-pack
>      over /var/cache/virtualbox-ext-pack?

and for the sake of completness: in order to make installation of
extensions with the virtualbox extension-manager installable while
having a read-only /usr..

.. /usr/lib/virtualbox/ExtensionPacks would need to be replaced with
   a symlink pointing to e.g. /var/lib/virtualbox/ExtensionPacks

.. shipped extensions by the package (currently one 'VNC'), would be
   stored in e.g. /usr/lib/virtualbox/extensions, and symlinked to
   /var/lib/virtualbox/ExtensionPacks during postinst

for an example that I use in production doing above, see the relevant
files..

  * matomo, the "main" package:


https://sources.progress-linux.org/distributions/dschinn-backports-extras/packages/matomo/tree/debian/rules

https://sources.progress-linux.org/distributions/dschinn-backports-extras/packages/matomo/tree/debian/matomo.postinst

https://sources.progress-linux.org/distributions/dschinn-backports-extras/packages/matomo/tree/debian/matomo.postrm

  * matomo-plugin-loginldap, an extension for matomo:


https://sources.progress-linux.org/distributions/dschinn-backports-extras/packages/matomo-plugin-loginldap/tree/debian/rules?h=progress-linux

https://sources.progress-linux.org/distributions/dschinn-backports-extras/packages/matomo-plugin-loginldap/tree/debian/matomo-plugin-loginldap.postinst?h=progress-linux

Regards,
Daniel

Reply via email to