Bug 14011

Summary: wic source plugin to ignore IMAGE_BOOT_FILES
Product: [Build System, Metadata & Runtime] BSPs Reporter: Chee Yang <chee.yang.lee>
Component: bsps-meta-intelAssignee: khairul.rohaizzat.jamaluddin
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: khairul.rohaizzat.jamaluddin, randy.macleod
Version: 3.2   
Target Milestone: 3.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Chee Yang 2020-08-16 19:17:30 UTC
recent changes in wic/bootimg-efi could break the image-installer.wks.in in case of large image.
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts?id=801f07fc00d43d107cb6ae671dbbb57ee91cc6be

would be nice to have a way to tell wic/bootimg-efi to ignore IMAGE_BOOT_FILES.
Comment 1 Chee Yang 2020-08-17 01:37:36 UTC
image-installer.wks.in comes with 2 partition, ESP and "image" partition. the content for "image" partition are define by IMAGE_BOOT_FILES. The recent changes to allow bootimge-efi to take IMAGE_BOOT_FILES would cause 
1. image file to duplicates in both partition. 
2. error incase of large image file, due to 4 GB limit in ESP.
Comment 2 khairul.rohaizzat.jamaluddin 2020-09-21 17:38:53 UTC
Issue fixed, related selftest content added and squashed in the same commit.
Commit also have been merged.
Commit link here:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=85574ce0cf84eaf828334dd2fafadc18909e73b5