Bug 6396

Summary: Check image size after it is generated
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, mark.hatle, meta.mr.watcher, meta.watcher, sgw
Version: 1.7   
Target Milestone: 1.7 M3   
Hardware: x86   
OS: Multiple   
See Also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2610
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Robert Yang 2014-06-04 08:28:00 UTC
Check and warn if the image size is above a specified threshold, the rough thoughts is that we can add set a IMAGE_MAX_SIZE in the image recipe like core-image-minimal.bb, and image.bbclass can check whether the image size is above the  IMAGE_MAX_SIZE or not, and warn if it is.
Comment 1 Paul Eggleton 2014-06-04 09:35:38 UTC
This sounds similar to bug 2610.
Comment 2 Robert Yang 2014-06-04 09:52:42 UTC
(In reply to comment #1)
> This sounds similar to bug 2610.
Yes, I think so, 2610 is a use case of this one.
Comment 3 Paul Eggleton 2014-06-05 14:47:34 UTC
I'll mark this as a duplicate then since this functionality has to be added to enable that. Robert, if you'd like to take that bug from me please do.

*** This bug has been marked as a duplicate of bug 2610 ***