[PATCH openbmc v5 05/11] meta-phosphor: Ensure INITRAMFS_CTYPE defined

Patrick Williams patrick at stwcx.xyz
Sat Jun 25 06:16:27 AEST 2016


On Fri, Jun 24, 2016 at 12:23:15PM +0930, Joel Stanley wrote:
> On Fri, Jun 24, 2016 at 6:10 AM, OpenBMC Patches
> <openbmc-patches at stwcx.xyz> wrote:
> > From: Patrick Williams <patrick at stwcx.xyz>
> >
> > The hardware platforms use obmc-bsp-common.inc, which defines
> > INITRAMFS_CTYPE, but the simulation (qemu) platforms do not.
> > core-image-minimal-initramfs.bbappend currrently uses INITRAMFS_CTYPE
> > so we need to make sure it is defined.  Default there to 'lzma' if not
> > already defined.
> >
> 
> Should it default to none if it's not defined? How do we make sure the
> kernel has decompression for this type enabled?
> 

I don't have a good answer on that.  There are a number of places in the
phosphor tree that is either using 'lzma' directly or something like
'cpio.${INITRAMFS_CTYPE}', so we seem to be assuming there is
compression support in the kernel.

Milton was mentioning we probably need some clean up of all these
variables due to some changes in Yocto 2.1, so I'd vote we leave as is
and figure out a better approach then.

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160624/be9adb83/attachment.sig>


More information about the openbmc mailing list