diff options
author | Simon Rettberg | 2024-01-29 15:09:23 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-01-29 15:09:23 +0100 |
commit | 75568a191bed499d12818cd474cf4474b406b6ab (patch) | |
tree | d1bae52c1b040d500962f879be9de8065a55b891 /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) | |
download | mltk-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.service | 1 |
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 |