ostree/src
Colin Walters 9a526bbaa5 sysroot: Handle ro /boot but rw /sysroot
The recent change in https://github.com/coreos/fedora-coreos-config/pull/659
broke some of our tests that do `mount -o remount,rw /sysroot` but
leave `/boot` read-only.

We had code for having `/boot` read-only before `/sysroot` but
in practice we had a file descriptor for `/sysroot` that we opened
before the remount that would happen later on.

Clean things up here so that in the library, we also remount
`/boot` at the same time we remount `/sysroot` if either are readonly.

Delete the legacy code for remounting `/boot` rw if we're not in
a mount namespace.  I am fairly confident most users are either
using the `ostree` CLI, or they're using the mount namespace.
2021-01-10 13:49:44 +00:00
..
boot Fix mkinitcpio with newer systemd versions 2020-08-25 18:12:55 -04:00
libostree sysroot: Handle ro /boot but rw /sysroot 2021-01-10 13:49:44 +00:00
libotutil sysroot: Handle ro /boot but rw /sysroot 2021-01-10 13:49:44 +00:00
ostree main: Unconditionally set up mount namespace 2021-01-10 13:40:52 +00:00
rofiles-fuse rofiles-fuse: Improve error message for failure to open root 2018-10-12 14:11:10 +00:00
switchroot ostree-prepare-root: print st_dev and st_ino as 64-bit ints 2020-10-15 12:26:47 -04:00