From 75568a191bed499d12818cd474cf4474b406b6ab Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Jan 2024 15:09:23 +0100 Subject: [bwlp-stage4-tweaks] Add service to grow rootfs to blockdev size This was previously done in initrd, but it turns out this was happening rather late and blocked the switchroot for a couple seconds. Let's do it in stage 4 instead as early as possible, and order it before gather-hw-info.service, as that service will determine the rootfs free space and needs to see the properly resized rootfs. --- .../data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service | 1 + 1 file changed, 1 insertion(+) create mode 120000 core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service (limited to 'core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service') diff --git a/core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service b/core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service new file mode 120000 index 00000000..57dd5ae4 --- /dev/null +++ b/core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service @@ -0,0 +1 @@ +../grow-rootfs.service \ No newline at end of file -- cgit v1.2.3-55-g7522