[PATCH openbmc 3/8] phosphor: modify minimal-initramfs image to use obmc-phosphor-initfs

OpenBMC Patches openbmc-patches at stwcx.xyz
Fri Jan 29 09:50:14 AEDT 2016


From: "Milton D. Miller II" <miltonm at us.ibm.com>

This bbappend changes core-image-minimal-initramfs to use the
obmc-phosphor-initfs scripts instead of the x86 syslinux centric
live scripts.

Perhaps they and this could be a virtural/initscript provider
or similar?

A shorter name would also be welcome.  The current name
core-image-minimal-initramfs is well beyond the length of the
name field in the u-boot image header.

Signed-off-by: Milton Miller <miltonm at us.ibm.com>
---
 .../common/recipes-core/images/core-image-minimal-initramfs.bbappend   | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend

diff --git a/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend b/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend
new file mode 100644
index 0000000..90a1c3f
--- /dev/null
+++ b/meta-phosphor/common/recipes-core/images/core-image-minimal-initramfs.bbappend
@@ -0,0 +1,3 @@
+PACKAGE_INSTALL_remove = "initramfs-live-boot initramfs-live-install initramfs-live-install-efi"
+PACKAGE_INSTALL += "obmc-phosphor-initfs"
+INITRAMFS_FSTYPES = "cpio.${INITRAMFS_CTYPE}"
-- 
2.6.4




More information about the openbmc mailing list