diff options
author | Simon Rettberg | 2024-01-29 15:08:43 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-01-29 15:08:43 +0100 |
commit | b6ac27b56d341c6e9707da552738d5a31d787df9 (patch) | |
tree | 9488e6fac0f5e20cd476487bc832aef9e5c271e3 | |
parent | [slx-dmsetup] Only grow rootfs if we don't do it in stage4 (diff) | |
download | systemd-init-b6ac27b56d341c6e9707da552738d5a31d787df9.tar.gz systemd-init-b6ac27b56d341c6e9707da552738d5a31d787df9.tar.xz systemd-init-b6ac27b56d341c6e9707da552738d5a31d787df9.zip |
[slx-dmsetup] Only resize rootfs if no such service exists in stage 4
-rw-r--r-- | modules.d/slx-dmsetup/services/s3-grow-rootfs.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-dmsetup/services/s3-grow-rootfs.service b/modules.d/slx-dmsetup/services/s3-grow-rootfs.service index 5cb42056..98b8cc5c 100644 --- a/modules.d/slx-dmsetup/services/s3-grow-rootfs.service +++ b/modules.d/slx-dmsetup/services/s3-grow-rootfs.service @@ -2,7 +2,7 @@ Description=Grow size of rootfs to underlying block device # If we have a growfs service in stage4, we don't do anything here ConditionPathExists=!/sysroot/etc/systemd/system/grow-rootfs.service -# For ext4, -root-device would be sufficient, but XFS tool needs mountpoint +# Some filesystems require the fs to be mounted in order to resize it After=initrd-root-fs.target Before=initrd-switch-root.target DefaultDependencies=no |