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

prepare-root: Fix composefs + ostree admin unlock --hotfix compat #3129

Merged
merged 1 commit into from
Jan 4, 2024

Commits on Jan 3, 2024

  1. prepare-root: Fix composefs + ostree admin unlock --hotfix compat

    There's a test case for `ostree admin unlock --hotfix` that
    runs in FCOS, not here; it breaks when enabling composefs.
    
    The reason is because the composefs is mounted readonly, and
    we tried to remount it writable.  Instead of trying to remount
    the rootfs writable at this point forcibly, honor the
    *real* sysroot readonly state flag from the underlying FS before
    we mounted the composefs.
    
    Note that in FCOS derivatives we always have the root mounted
    writable via `rw` on the kernel cmdline and this is the default
    general expectation now with ostree usage.
    cgwalters committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    a1c1c0b View commit details
    Browse the repository at this point in the history