summaryrefslogtreecommitdiffstats
path: root/core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-29 15:09:23 +0100
committerSimon Rettberg2024-01-29 15:09:23 +0100
commit75568a191bed499d12818cd474cf4474b406b6ab (patch)
treed1bae52c1b040d500962f879be9de8065a55b891 /core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service
parent[run-virt] Split mounting of /tmp/virt into own service (diff)
downloadmltk-75568a191bed499d12818cd474cf4474b406b6ab.tar.gz
mltk-75568a191bed499d12818cd474cf4474b406b6ab.tar.xz
mltk-75568a191bed499d12818cd474cf4474b406b6ab.zip
[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.
Diffstat (limited to 'core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service')
l---------core/modules/bwlp-stage4-tweaks/data/etc/systemd/system/sysinit.target.wants/grow-rootfs.service1
1 files changed, 1 insertions, 0 deletions
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