phosphor: modify minimal-initramfs image to use obmc-phosphor-initfs
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@us.ibm.com>
diff --git a/common/recipes-core/images/core-image-minimal-initramfs.bbappend b/common/recipes-core/images/core-image-minimal-initramfs.bbappend
new file mode 100644
index 0000000..90a1c3f
--- /dev/null
+++ b/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}"