diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-11-16 10:04:18 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-11-16 10:04:18 +0200 |
commit | 143c572e370528639d7aa2a4d00e644147fe683c (patch) | |
tree | 2b6805560f7e1988b54021e10ba0e220e9667438 /96boards-hikey-mainline-rebase.yaml | |
parent | 4c0b441f93ba23dcdec2f6d15f9f521ce3023022 (diff) |
96boards-hikey: resize system partition with parted
Change-Id: Icc4d392deea888642ee9e4dbba22661b0563d580
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to '96boards-hikey-mainline-rebase.yaml')
-rw-r--r-- | 96boards-hikey-mainline-rebase.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/96boards-hikey-mainline-rebase.yaml b/96boards-hikey-mainline-rebase.yaml index ea383227..310a20ae 100644 --- a/96boards-hikey-mainline-rebase.yaml +++ b/96boards-hikey-mainline-rebase.yaml @@ -215,7 +215,7 @@ [Service] Type=oneshot - ExecStart=-/bin/sh -c 'if /bin/grep -q "^HiKey" /proc/device-tree/model; then /sbin/sgdisk -e /dev/mmcblk0; /sbin/resize2fs /dev/disk/by-label/rootfs; fi' + ExecStart=-/bin/sh -c 'if /bin/grep -q "^HiKey" /proc/device-tree/model; then /sbin/sgdisk -e /dev/mmcblk0; /sbin/parted /dev/mmcblk0 resizepart 9 Yes 100%; /sbin/resize2fs /dev/disk/by-label/rootfs; fi' ExecStartPost=/bin/systemctl disable resize-rootfs.service [Install] |