]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: also derive read-only mode from fstype in non-partitioned mode
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Sep 2021 15:29:06 +0000 (17:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Sep 2021 12:15:22 +0000 (14:15 +0200)
commite0d53d529159c7c23b008028480d9f32adbf11d7
tree0f6238f24fcfe500680f1c887899931734e03081
parenta0bff7ea4c4b066b2498de893e3ebeda4638a0ce
dissect-image: also derive read-only mode from fstype in non-partitioned mode

For the GPT partitioned logic we also consult the fstype to determine whether
a partition is read-only (i.e. squashfs is already read-only). For the
non-partitioned mode we didn't do that so far. Fix that.
src/shared/dissect-image.c