mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
image.bbclass: do not check size of the debugfs image
The debugfs is supposed to be used in addition to the normal image for debugging purposes, it doesn't make sense to artificially limit its maximum size. (From OE-Core rev: 7cdf3b2444df8cd322d9eff1bdbdc5adddcaf22a) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5d13da49de
commit
dd50dec2f4
@@ -537,6 +537,12 @@ def get_rootfs_size(d):
|
||||
base_size += rootfs_alignment - 1
|
||||
base_size -= base_size % rootfs_alignment
|
||||
|
||||
# Do not check image size of the debugfs image. This is not supposed
|
||||
# to be deployed, etc. so it doesn't make sense to limit the size
|
||||
# of the debug.
|
||||
if (d.getVar('IMAGE_BUILDING_DEBUGFS', True) or "") == "true":
|
||||
return base_size
|
||||
|
||||
# Check the rootfs size against IMAGE_ROOTFS_MAXSIZE (if set)
|
||||
if rootfs_maxsize:
|
||||
rootfs_maxsize_int = int(rootfs_maxsize)
|
||||
|
||||
Reference in New Issue
Block a user