]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/mkfs-util.c
mkfs-util: Add support to populate vfat without mounting using mcopy
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 11 Oct 2022 08:50:58 +0000 (10:50 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Nov 2022 19:07:54 +0000 (20:07 +0100)
commitbf3598befff0137592834465ef728fdaabf1e778
treeab0bb5ac836eeaf651f02fc2c9fe17c3a585fc76
parent68665704dc9bb706d2b993808839d59dbabd7a9d
mkfs-util: Add support to populate vfat without mounting using mcopy

mkfs.vfat doesn't support specifying a root directory to bootstrap
the filesystem from (see https://github.com/dosfstools/dosfstools/issues/183).
Instead, we can use the mcopy tool from the mtools package to copy
files into the vfat filesystem after creating it without needing to
mount the vfat filesystem.
mkosi.conf.d/10-systemd.conf
src/shared/mkfs-util.c
test/TEST-58-REPART/test.sh
test/test-functions