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

generator: Exit if there's no /run/ostree #3147

Merged
merged 1 commit into from
Jan 27, 2024

Commits on Jan 26, 2024

  1. generator: Exit if there's no /run/ostree

    Currently if run in a container image under systemd, we will
    incorrectly synthesize a `var.mount` unit even if `ostree-prepare-root`
    hasn't run.
    
    The comment here said why we didn't do that before, but that's
    for the really legacy embedded-only "ostree-prepare-root-static"
    path, and even then I'm pretty sure it was wrong because
    the generator here only runs in the *real* root, and we should
    have `/run/ostree` at that point.
    cgwalters committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    b9ce0e8 View commit details
    Browse the repository at this point in the history