Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support layering rpms with files in /opt #1795

Closed
wants to merge 2 commits into from

Commits on Mar 26, 2019

  1. Support layering rpms with files in /opt

    This adds support for layering rpms with files in /opt. The way we
    do this is that when importing the rpms we rewrite any files in /opt
    into /usr/lib/opt, and then we add back a symlink from the toplevels
    of /opt into /usr/lib/opt via the per-package tmpfiles.d.
    
    Also, in order for this to work with the %post script we bind /opt
    to usr/lib/opt during the script execution.
    
    This fixes coreos#233 at least for Google Chrome.
    alexlarsson authored and jlebon committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    e9e26d0 View commit details
    Browse the repository at this point in the history
  2. Test that /opt layering works

    alexlarsson authored and jlebon committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    14089ff View commit details
    Browse the repository at this point in the history