I was getting an "out of space" error as the p2 partition on the /dev/loopx device would only size itself based on the input partition.
This dynamically resizes p2 to fill any additional blocks as defined by the custom_image_bytes variable. Hence there should always be plenty of space to
Type of PR
[x] Bugfix
Testing
Build a Sandbox image and see the your /dev/loopXp2 partition increase to fill the remainder of the 4096MB available.
Description
I was getting an "out of space" error as the p2 partition on the
/dev/loopx
device would only size itself based on the input partition.This dynamically resizes p2 to fill any additional blocks as defined by the
custom_image_bytes
variable. Hence there should always be plenty of space toType of PR
Testing
Build a Sandbox image and see the your
/dev/loopXp2
partition increase to fill the remainder of the 4096MB available.