]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: Don't try to generate read-only filesystem that we don't support 24794/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 23 Sep 2022 07:55:26 +0000 (09:55 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 23 Sep 2022 07:55:26 +0000 (09:55 +0200)
commiteaec6994947e876632a6032c0c2f5497ce408f09
treed87bfa4ab3508a05c0f58763130f36940be2e7e3
parenteb43379cec13b69b5b0f6b9ff379b2e2c80ff18a
shared: Don't try to generate read-only filesystem that we don't support

We need explicit support to generate read-only filesystems, since we
always need to pass a source tree to the mkfs binary to populate the
filesystem. As such, let's add an explicit check to return a
recognizable error when users try to generate a read-only filesystem
that we don't support.
src/shared/mkfs-util.c