summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2016-09-05 09:34:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-14 22:22:12 +0100
commitdd50dec2f490985eb9243523aeb741543eea0ecf (patch)
tree75a14cc59dd5498fdbbcc2cb42cf05a530df1d3a /meta/classes/image.bbclass
parent5d13da49deb346273cc5085a79d75ed7973a257f (diff)
downloadpoky-dd50dec2f490985eb9243523aeb741543eea0ecf.tar.gz
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>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 8273401e50..48e54a7c01 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -537,6 +537,12 @@ def get_rootfs_size(d):
537 base_size += rootfs_alignment - 1 537 base_size += rootfs_alignment - 1
538 base_size -= base_size % rootfs_alignment 538 base_size -= base_size % rootfs_alignment
539 539
540 # Do not check image size of the debugfs image. This is not supposed
541 # to be deployed, etc. so it doesn't make sense to limit the size
542 # of the debug.
543 if (d.getVar('IMAGE_BUILDING_DEBUGFS', True) or "") == "true":
544 return base_size
545
540 # Check the rootfs size against IMAGE_ROOTFS_MAXSIZE (if set) 546 # Check the rootfs size against IMAGE_ROOTFS_MAXSIZE (if set)
541 if rootfs_maxsize: 547 if rootfs_maxsize:
542 rootfs_maxsize_int = int(rootfs_maxsize) 548 rootfs_maxsize_int = int(rootfs_maxsize)