tree-wide: enable automatic growing of file systems in images in various tools that deal with OS images

Let's enable this in all tools that intend to write to the OS images.
It's not conditionalized for now, as there already is conditionalization
in the existance or absence of the flag in the GPT partition table (and
it's opt-in), hence it should be OK to just enable this by default for
now if the flag is set.
This commit is contained in:
Lennart Poettering
2021-04-23 17:56:51 +02:00
parent 74a54baeec
commit c65f854af6
7 changed files with 13 additions and 8 deletions
+2 -1
View File
@@ -1997,7 +1997,8 @@ static int run(int argc, char *argv[]) {
DISSECT_IMAGE_REQUIRE_ROOT |
DISSECT_IMAGE_VALIDATE_OS |
DISSECT_IMAGE_RELAX_VAR_CHECK |
DISSECT_IMAGE_FSCK,
DISSECT_IMAGE_FSCK |
DISSECT_IMAGE_GROWFS,
&unlink_dir,
&loop_device,
&decrypted_image);