[PATCH openbmc] Force OLDEST_KERNEL to 4.4.0

Patrick Williams patrick at stwcx.xyz
Wed Jul 6 05:47:07 AEST 2016


On Thu, Jun 30, 2016 at 05:26:29PM +0930, Joel Stanley wrote:
> On Thu, Jun 30, 2016 at 8:10 AM, OpenBMC Patches
> <openbmc-patches at stwcx.xyz> wrote:
> > From: Patrick Williams <patrick at stwcx.xyz>
> >
> > This is the oldest kernel currently used by openbmc, so there is no
> > point in compiling glibc support older kernels.
> 
> Sounds good. Buildroot does the same thing for our firmware builds on the host.
> 
> Is there any way to use the actual kernel version to set this variable?
> 

I might be able to set OLDEST_KERNEL in terms of LINUX_KERNEL.  Is that
what we want?  I have a little concern that this might affect certain
use cases of code upgrade (or downgrade) and netbooting.

The saving for this setting ended up being pretty insignificant.  About
7k from glibc.  I can either leave this as something we change for
"major" upgrades of openBMC or attempt to set it in terms of the
LINUX_KERNEL variable.

> >
> > Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
> > ---
> >  meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > index f37e88c..b4e6f7a 100644
> > --- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > +++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > @@ -5,6 +5,7 @@ DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
> >  DISTRO_VERSION = "0.1.0"
> >  TARGET_VENDOR="-openbmc"
> >
> > +OLDEST_KERNEL = "4.4.0"
> >  GCCVERSION ?= "4.9.3"
> >  IMAGE_FSTYPES += "cpio.gz"
> >  IMAGE_FSTYPES += "squashfs-xz"
> > --
> > 2.9.0
> >
> >
> > _______________________________________________
> > openbmc mailing list
> > openbmc at lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/openbmc

-- 
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/20160705/d7c00bd3/attachment-0001.sig>


More information about the openbmc mailing list