Re: [WIC] Grow last partition up to disk size
Michael Nazzareno Trimarchi
Hi
toggle quoted messageShow quoted text
Well I have write something like this [Unit] Description=Increases rootfs image size to fit partition Requires=dev-disk-by\x2dpartlabel-rootfs.device After=dev-disk-by\x2dpartlabel-rootfs.device [Service] Type=oneshot ExecStart=/usr/sbin/sgdisk /dev/disk/by-path/platform-ff0f0000.dwmmc -e ExecStart=/usr/sbin/parted /dev/disk/by-path/platform-ff0f0000.dwmmc -s "resizepart 4 -1" quit ExecStart=/sbin/resize2fs /dev/disk/by-partlabel/rootfs ExecStart=/bin/systemctl disable resize-rootfs.service StandardOutput=journal+console [Install] WantedBy=default.target
On Thu, Apr 30, 2020 at 8:30 PM Marek Belisko <marek.belisko@...> wrote:
--
| Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |
|
|