Implement a better way to deal with rootfs size while debug-mode is enabled
Value
Preventing future errors related to the rootfs size not being big enough when building with debug-mode
enabled.
Description
Currently enabling debug-mode
by inheriting oniro-debug-linux
or oniro-debug-zephyr
bumps the rootfs to a fixed size of 2G
. This is sub-optimal because the rootfs size depends on what, and how many, packages are to be install in the final image, in fact this could result in an error because the limit is exceeded in some cases.
With debug-mode
we're not tied to use a fixed partition size because it's just used for development purposes.
Acceptance Criteria
Enabling debug-mode
will not cause an error related to the rootfs size in any case (present or future).