summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-dmsetup/services/s3-grow-rootfs.service
blob: 98b8cc5c30daa4deb31a19eae59a460723e28d63 (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
# 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
IgnoreOnIsolate=true

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