From 43325414ce02f82da1203fbaef23caa875386980 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 5 Jan 2020 12:18:02 -0500 Subject: [PATCH] Added growpart service for resize. --- files/files/usr/lib/systemd/system/growpartfs.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 files/files/usr/lib/systemd/system/growpartfs.service diff --git a/files/files/usr/lib/systemd/system/growpartfs.service b/files/files/usr/lib/systemd/system/growpartfs.service new file mode 100644 index 0000000..ed3a208 --- /dev/null +++ b/files/files/usr/lib/systemd/system/growpartfs.service @@ -0,0 +1,9 @@ +[Unit] +Description=Grows the filesystem and partition at %I + +[Service] +Type=oneshot +ExecStart=/usr/bin/growpartfs /dev/mmcblk0 2 + +[Install] +WantedBy=multi-user.target