summaryrefslogtreecommitdiff
path: root/src/firstboot
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-07 15:04:55 +0200
committerGitHub <noreply@github.com>2021-05-07 15:04:55 +0200
commitac2c088939de5aba5a06bee00dbc6c89a2809534 (patch)
tree7a67286af61e2de6fe4d2cf50813bad304941f81 /src/firstboot
parent2a9cfe6b07c41a88b57813afc4f73f4332ac74d2 (diff)
parentcd4d2b17771ce0a2cc9487d9f26cc2e210d0fa5a (diff)
downloadsystemd-ac2c088939de5aba5a06bee00dbc6c89a2809534.tar.gz
Merge pull request #19391 from poettering/dissect-grow
optionally, grow file systems to partition size when mounting them via GPT auto-discovery
Diffstat (limited to 'src/firstboot')
-rw-r--r--src/firstboot/firstboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index 896c2e7b0a..2cb4f80d5d 100644
--- a/src/firstboot/firstboot.c
+++ b/src/firstboot/firstboot.c
@@ -1357,7 +1357,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);