Bug 9233

Summary: As a developer, I want initramfs bundled kernel could be installed into rootfs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ming Liu <liu.ming50>
Component: coreAssignee: Bruce Ashfield <bruce.ashfield>
Status: IN PROGRESS REVIEW --- QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: 2.2   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Ming Liu 2016-03-09 21:01:32 UTC
My test is based on:
Build Configuration:
BB_VERSION        = "1.29.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0+snapshot-20160309"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "master:6da6ac1dfe4e10eb932f96f9dfbffdb3125e0843"
meta-initramfs    
meta-oe           = "master:73854a05565b30a5ca146ac53959c679b27815aa"

Add the following to local.conf:
INITRAMFS_IMAGE = "core-image-minimal-initramfs"
INITRAMFS_IMAGE_BUNDLE = "1"
IMAGE_INSTALL_append = " kernel-image"

Run:
bitbake core-image-minimal

Then I found sometimes I could not install the initramfs bundled kernel image onto rootfs, there is no guarantee, for some builds, I could see it in /boot/, but sometimes it was not there.
Comment 2 Richard Purdie 2016-12-08 16:06:44 UTC
Robert, I don't think these patches merged but there were other initramfs changes. Could you see whether these are still needed and/or better explain what the issue is please?
Comment 3 Robert Yang 2016-12-09 01:58:36 UTC
OK, I will do it.
Comment 5 Robert Yang 2017-04-06 03:16:29 UTC
Part of Ming's patch are merged, but others are not, move it to 2.4.
Comment 8 Robert Yang 2017-04-13 01:37:22 UTC
We need cleanup 2.3 bugs now, so move it to 2.4 M1.
Comment 9 Randy MacLeod 2020-04-16 08:31:29 UTC
If this is still an issue, please re-submit the patch.
Comment 10 Randy MacLeod 2024-10-17 19:04:13 UTC
Bulk move of medium importance bugs from 5.1 to 5.2 on behalf of Bruce.