remount: Still remount /sysroot writable if not configured ro
authorColin Walters <walters@verbum.org>
Sat, 1 Aug 2020 17:24:28 +0000 (17:24 +0000)
committerColin Walters <walters@verbum.org>
Sat, 1 Aug 2020 17:27:18 +0000 (17:27 +0000)
commit33eeb7b9ebd858c0246a9155b7a64b9f8a258583
tree89787e2890cf72d0f20caa7509dfecbe53355263
parenta5409b872ff23571b42bc55de4a85117fae00a6a
remount: Still remount /sysroot writable if not configured ro

Regression from https://github.com/ostreedev/ostree/pull/2113/commits/35642259175973617da937f3cab6ce5f13c95077
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1862568

We still need to remount writable if it's not configured on;
because it may need OS adjustments it needs to be opt-in.
src/switchroot/ostree-remount.c