diff options
Diffstat (limited to 'modules.d/slx-dmsetup/services/s3-grow-rootfs.service')
-rw-r--r-- | modules.d/slx-dmsetup/services/s3-grow-rootfs.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules.d/slx-dmsetup/services/s3-grow-rootfs.service b/modules.d/slx-dmsetup/services/s3-grow-rootfs.service new file mode 100644 index 00000000..a849f4a3 --- /dev/null +++ b/modules.d/slx-dmsetup/services/s3-grow-rootfs.service @@ -0,0 +1,12 @@ +[Unit] +Description=Grow size of rootfs to underlying block device +# 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 |