Bug 10989

Summary: Add mechanism that allows initramfs-framework to handle installation
Product: [Runtime] Installation Reporter: California Sullivan <california.l.sullivan>
Component: InstallationAssignee: Ng, Wei Tee <wei.tee.ng>
Status: VERIFIED FIXED QA Contact: Ashwin Soman <ashwinx.soman>
Severity: normal    
Priority: Medium+ CC: ashwinx.soman, california.l.sullivan, ee.peng.yeoh, kevin.tian, sgw
Version: unspecified   
Target Milestone: 2.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Bug Depends on: 11701    
Bug Blocks: 10987    

Description California Sullivan 2017-01-28 01:31:06 UTC
Currently initramfs-framework seems to only handle booting. If it is to become the default it needs a mechanism to handle installation was well.
Comment 1 Ng, Wei Tee 2017-07-28 01:42:54 UTC
Fixed and accepted in OE-core

OE-Core rev: 41b34441c22143cbabace3d794ead05801afb7a0
poky rev: 8b960914ac6193c2146eb1bb39fc9ec5c0008404
Comment 2 Ashwin Soman 2017-10-11 03:22:00 UTC
Added  Comment in bellow script :
poky/meta/recipes-core/initrdscripts/initramfs-framework/install-efi.sh , comment added : echo "Inside initramfs-framework/install-efi.sh"

*To enable initramfs following lines were added in local.conf *
INITRAMFS_IMAGE_BUNDLE = "1"
INITRAMFS_IMAGE = "core-image-minimal-initramfs"
INITRAMFS_FSTYPES += "cpio.gz"
In file poky/meta/recipes-core/images/core-image-minimal-initramfs.bb
Replaced 
PACKAGE_INSTALL = "initramfs-live-boot initramfs-live-install initramfs-live-install-efi $
{VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
with 
PACKAGE_INSTALL = "initramfs-framework-base initramfs-module-udev initramfs-module-setup-live initramfs-module-install-efi ${VIRTUAL-RUNTIME_base-utils}
udev base-passwd $
{ROOTFS_BOOTSTRAP_INSTALL}
"
image created using 
bitbake core-image-sato

created bootable pendrive using generated image and flashed it on LeafHill board 
Intended script is running but unable to install image, please refer image at https://jira01.devtools.intel.com/browse/IRKQL-92 for logs
Comment 3 Ashwin Soman 2017-11-24 01:36:45 UTC
The BUg is resolved and fixed , I was able to install image onto SD card using expected script.