Bug 11739

Summary: do_image_wic fails on core-image-tiny-initramfs
Product: [Build System, Metadata & Runtime] BSPs Reporter: Juan Ramos <juan.fernandox.ramos.frayle>
Component: bsps-meta-intelAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alejandro.hernandez
Version: 2.4   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
log.do_poky-tiny none

Description Juan Ramos 2017-06-29 22:49:33 UTC
Created attachment 3851 [details]
log.do_poky-tiny

STATUS: PASSED
BUILD: 2.4 M1
ENVIRONMENT: corei7-64_MMAX64
Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux-musl"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:98099349e358a9caaec8ec81f0d4abe588909cfe"
meta-intel        = "master:cebe15d153ab982f80f3f86fea38a0978dfc1f28"

STEPS TO REPRODUCE: 

1. Clone Poky
2. Clone meta-intel layer
3. Bitbake-layers add-layr “../meta-intel”
4. source environment 
5. local.conf 
a.	DISTRO  =  "poky-tiny"  
b.	MACHINE = “Intel-core-i7-64”
6. Bitbake core-image-tiny-initramfs




EXPECTED OUTCOME: 
When image was built correctly the WIC image should be created under tmp/deploy/images/intel-cori7-64
Burn WIC image to USB an boot it to Minnow 64 

ACTUAL OUTCOME:
output: cp: cannot stat '.../core-image-tiny-initramfs-intel-corei7-64.cpio.gz': No such file or directory
ERROR: Function failed: do_image_wic 

Log attached.
Comment 1 Alejandro Hernandez 2017-10-02 23:27:58 UTC
After some discussion on the ML, we agreed that the core-image-tiny-initramfs image should not provide an actual hardware (WIC) image, this has been fixed on oe-core here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cf166da446603f8a666f77b4c1d05b8c1c8f27a2


A new image core-image-tiny that works using core-image-tiny-initramfs does provide a hwardware image, and it was added to meta-intel here:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=989db4c0e7db84e52b4e564101a974ef59f1bba6