diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-09-19 20:24:55 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-09-21 10:50:16 +0200 |
commit | 7f55ad775d214b879cbd76565d9198aab8ff3b7e (patch) | |
tree | 6fbdd1cc07c94e2459a38183d999a82a01b4f8ed /src/test/test-loop-block.c | |
parent | 92cd7e7ccbd34c79fa6adf3438dbccde3d3d71eb (diff) | |
download | systemd-7f55ad775d214b879cbd76565d9198aab8ff3b7e.tar.gz |
shared: Add squashfs support to make_filesystem()
The caveat is that the caller has to provide a source directory
to initialize the squashfs filesystem from.
Diffstat (limited to 'src/test/test-loop-block.c')
-rw-r--r-- | src/test/test-loop-block.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test-loop-block.c b/src/test/test-loop-block.c index ee28ad4235..83d158f470 100644 --- a/src/test/test-loop-block.c +++ b/src/test/test-loop-block.c @@ -234,16 +234,16 @@ static int run(int argc, char *argv[]) { assert_se(dissected->partitions[PARTITION_HOME].node); assert_se(sd_id128_randomize(&id) >= 0); - assert_se(make_filesystem(dissected->partitions[PARTITION_ESP].node, "vfat", "EFI", id, true) >= 0); + assert_se(make_filesystem(dissected->partitions[PARTITION_ESP].node, "vfat", "EFI", NULL, id, true) >= 0); assert_se(sd_id128_randomize(&id) >= 0); - assert_se(make_filesystem(dissected->partitions[PARTITION_XBOOTLDR].node, "vfat", "xbootldr", id, true) >= 0); + assert_se(make_filesystem(dissected->partitions[PARTITION_XBOOTLDR].node, "vfat", "xbootldr", NULL, id, true) >= 0); assert_se(sd_id128_randomize(&id) >= 0); - assert_se(make_filesystem(dissected->partitions[PARTITION_ROOT].node, "ext4", "root", id, true) >= 0); + assert_se(make_filesystem(dissected->partitions[PARTITION_ROOT].node, "ext4", "root", NULL, id, true) >= 0); assert_se(sd_id128_randomize(&id) >= 0); - assert_se(make_filesystem(dissected->partitions[PARTITION_HOME].node, "ext4", "home", id, true) >= 0); + assert_se(make_filesystem(dissected->partitions[PARTITION_HOME].node, "ext4", "home", NULL, id, true) >= 0); dissected = dissected_image_unref(dissected); assert_se(dissect_loop_device(loop, NULL, NULL, 0, &dissected) >= 0); |