Bug 10989 - Add mechanism that allows initramfs-framework to handle installation
Summary: Add mechanism that allows initramfs-framework to handle installation
Status: VERIFIED FIXED
Alias: None
Product: Installation
Classification: Runtime
Component: Installation (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4 M3
Assignee: Ng, Wei Tee
QA Contact: Ashwin Soman
URL:
Whiteboard:
Depends on: 11701
Blocks: 10987
  Show dependency tree
 
Reported: 2017-01-28 01:31 UTC by California Sullivan
Modified: 2017-11-24 01:36 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.