diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-10-11 10:50:58 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-11-15 20:07:54 +0100 |
commit | bf3598befff0137592834465ef728fdaabf1e778 (patch) | |
tree | ab0bb5ac836eeaf651f02fc2c9fe17c3a585fc76 /test/TEST-58-REPART | |
parent | 68665704dc9bb706d2b993808839d59dbabd7a9d (diff) | |
download | systemd-bf3598befff0137592834465ef728fdaabf1e778.tar.gz |
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.
Diffstat (limited to 'test/TEST-58-REPART')
-rwxr-xr-x | test/TEST-58-REPART/test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/TEST-58-REPART/test.sh b/test/TEST-58-REPART/test.sh index 1638cb2b16..fb4a05fc77 100755 --- a/test/TEST-58-REPART/test.sh +++ b/test/TEST-58-REPART/test.sh @@ -15,6 +15,7 @@ test_append_files() { if command -v openssl >/dev/null 2>&1; then inst_binary openssl fi + inst_binary mcopy instmods dm_verity =md generate_module_dependencies image_install -o /sbin/mksquashfs |