File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
meta/recipes-core/resize-rootfs Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 33mkdir -p /var/lib/resize-rootfs
44
55do_resize_partition () {
6- parted -s /dev/mmcblk0 -- resizepart 2 100%
6+ /usr/sbin/ parted -s /dev/mmcblk0 -- resizepart 2 100%
77 touch /var/lib/resize-rootfs/partition_resized
88 reboot
99}
@@ -17,10 +17,9 @@ if [ -f /var/lib/resize-rootfs/partition_resized ]; then
1717 do_resize_fs
1818
1919 # disable starting resize-rootfs on boot
20- update-rc.d -f resize-rootfs remove
20+ /usr/sbin/ update-rc.d -f resize-rootfs remove
2121else
2222 # enable starting resize-rootfs on boot
23- update-rc.d resize-rootfs defaults
23+ /usr/sbin/ update-rc.d resize-rootfs defaults
2424 do_resize_partition
2525fi
26-
Original file line number Diff line number Diff line change @@ -25,4 +25,3 @@ FILES_${PN} = " \
2525 /etc/init.d/resize-rootfs \
2626 /usr/bin/resize-rootfs \
2727"
28-
You can’t perform that action at this time.
0 commit comments