switchroot: Be explicit about what could cause /sysroot to be ro
authorEric Curtin <ecurtin@redhat.com>
Thu, 21 Dec 2023 17:11:55 +0000 (17:11 +0000)
committerEric Curtin <ecurtin@redhat.com>
Thu, 21 Dec 2023 17:28:23 +0000 (17:28 +0000)
commite5498b9445a93e3b28a04b4a2444953e5d06b7d9
tree6b3f0e65376deb9860cc319e36383f5631fa2ecb
parent02915a3f95e05dba012d73bc755ce2e3616818ff
switchroot: Be explicit about what could cause /sysroot to be ro

If you don't have rw in the kernel cmdline or have ro in it, often you
hit this issue. This is just to be really explicit about that in the
error messages so people can check.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
src/switchroot/ostree-mount-util.h
src/switchroot/ostree-prepare-root-static.c
src/switchroot/ostree-prepare-root.c