summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-dmsetup/services/s3-grow-rootfs.service
blob: 5cb420563d10048c614b42482d0df11495b31b36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
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
After=initrd-root-fs.target
Before=initrd-switch-root.target
DefaultDependencies=no
IgnoreOnIsolate=true

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/local/bin/s3-grow-rootfs.sh