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

Track deployment root/inode from prepare root #3164

Merged
merged 1 commit into from
Feb 8, 2024

Commits on Feb 8, 2024

  1. Track deployment root/inode from prepare root

    When we added composefs, it broke the logic for detecting the booted
    deployment which was previously a direct (device, inode) comparison.
    So the code there started looking at `etc`.  However, that in
    turns breaks with `etc.transient = true` enabled.
    
    Fix all of this by tracking the real deployment directory's
    (device,inode) that we found in `ostree-prepare-root`, and inject
    it into the extensible metadata we have in `/run/ostree-booted`
    which is designed exactly to pass state between the initramfs
    and the real root.
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    525a57d View commit details
    Browse the repository at this point in the history