This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
Move content in /opt
to /usr/lib/opt
as part of ostree container commit
if state overlays enabled
#573
Labels
enhancement
New feature or request
As part of ostreedev/ostree#3120 and coreos/rpm-ostree#4728, packages which install to
/opt
are converted to/usr/lib/opt/
by the importer. To mesh with this, imported container images need to also do this translation. It can know if a system is configured for state overlays on/opt
by checking if/usr/lib/systemd/system/local-fs.target.requires/[email protected]
is defined.(Or alternatively, the code can automatically enables this service if it detects content in
/opt
. That way, users can leverage this stuff before the base image compose actually enables theopt-usrlocal-overlay
knob).The text was updated successfully, but these errors were encountered: