From b6ac27b56d341c6e9707da552738d5a31d787df9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Jan 2024 15:08:43 +0100 Subject: [slx-dmsetup] Only resize rootfs if no such service exists in stage 4 --- modules.d/slx-dmsetup/services/s3-grow-rootfs.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-55-g7522