<div dir="ltr">Until we understand the upgrade scenarios better, I prefer to leave it fixed to the earliest released kernel version.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 5, 2016 at 12:47 PM, Patrick Williams <span dir="ltr"><<a href="mailto:patrick@stwcx.xyz" target="_blank">patrick@stwcx.xyz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jun 30, 2016 at 05:26:29PM +0930, Joel Stanley wrote:<br>
> On Thu, Jun 30, 2016 at 8:10 AM, OpenBMC Patches<br>
> <<a href="mailto:openbmc-patches@stwcx.xyz">openbmc-patches@stwcx.xyz</a>> wrote:<br>
> > From: Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>><br>
> ><br>
> > This is the oldest kernel currently used by openbmc, so there is no<br>
> > point in compiling glibc support older kernels.<br>
><br>
> Sounds good. Buildroot does the same thing for our firmware builds on the host.<br>
><br>
> Is there any way to use the actual kernel version to set this variable?<br>
><br>
<br>
</span>I might be able to set OLDEST_KERNEL in terms of LINUX_KERNEL. Is that<br>
what we want? I have a little concern that this might affect certain<br>
use cases of code upgrade (or downgrade) and netbooting.<br>
<br>
The saving for this setting ended up being pretty insignificant. About<br>
7k from glibc. I can either leave this as something we change for<br>
"major" upgrades of openBMC or attempt to set it in terms of the<br>
LINUX_KERNEL variable.<br>
<div class="HOEnZb"><div class="h5"><br>
> ><br>
> > Signed-off-by: Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>><br>
> > ---<br>
> > meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +<br>
> > 1 file changed, 1 insertion(+)<br>
> ><br>
> > diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf<br>
> > index f37e88c..b4e6f7a 100644<br>
> > --- a/meta-phosphor/conf/distro/openbmc-phosphor.conf<br>
> > +++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf<br>
> > @@ -5,6 +5,7 @@ DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"<br>
> > DISTRO_VERSION = "0.1.0"<br>
> > TARGET_VENDOR="-openbmc"<br>
> ><br>
> > +OLDEST_KERNEL = "4.4.0"<br>
> > GCCVERSION ?= "4.9.3"<br>
> > IMAGE_FSTYPES += "cpio.gz"<br>
> > IMAGE_FSTYPES += "squashfs-xz"<br>
> > --<br>
> > 2.9.0<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > openbmc mailing list<br>
> > <a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a><br>
> > <a href="https://lists.ozlabs.org/listinfo/openbmc" rel="noreferrer" target="_blank">https://lists.ozlabs.org/listinfo/openbmc</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Patrick Williams<br>
</font></span><br>_______________________________________________<br>
openbmc mailing list<br>
<a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a><br>
<a href="https://lists.ozlabs.org/listinfo/openbmc" rel="noreferrer" target="_blank">https://lists.ozlabs.org/listinfo/openbmc</a><br>
<br></blockquote></div><br></div>