On Wed, Oct 12, 2016 at 11:55:00PM +1100, Jonathan Liu wrote: > On 12 October 2016 at 23:18, Martin Jansa <martin.ja...@gmail.com> wrote: > > On Thu, Oct 06, 2016 at 10:54:22AM +0200, Martin Jansa wrote: > >> Either use 4.7.99+4.8-rc4 like most other recipes do or at least "4.8~rc4" > >> which might sort lower than "4.8" (but needs to be verified for all > >> packaging backends first). > >> > >> Ignoring all this completely results with what we can see in oe-core > >> now: > >> > >> ERROR: linux-libc-headers-4.8-r0 do_packagedata: QA Issue: Package > >> version for package linux-libc-headers-dbg went backwards which would > >> break package feeds from (0:4.8-rc4-r0.0 to 0:4.8-r0.0) > >> [version-going-backwards] > > > > I've noticed one more thing related to linux-yocto. Is it expected that > > only qemuarm is using 4.8 by default and (qemu)x86* is still using 4.4? > > > > meta/conf/machine/include/x86-base.inc:PREFERRED_VERSION_linux-yocto ??= > > "4.4%" > > meta/conf/machine/qemuarm.conf:PREFERRED_VERSION_linux-yocto ??= "4.8%" > > > > I've checked poky repository and it is using 4.8 at least for qemu* and > > various > > other MACHINEs, so it might make sense to use the same for nodistro for > > consistency? > > Using bitbake and OE-core actually selects linux-yocto 4.8 for me. > Probably because x86-base.inc isn't actually used by the machine > definitions in OE-core.
You're right, the issue was caused by bbappend in one of my layers, which bumps PE, so the 4.4 which had this bbappend sorted higher than other versions, from bitbake-layers: linux-yocto: meta 1:4.4.22+gitAUTOINC+d9f20333c4_f4e52341c3 meta 4.1.33+gitAUTOINC+322fa5b279_a38cb20273 meta 4.8+gitAUTOINC+03bf3dd731_67813e7efa You're also right that x86-base.inc isn't used anywhere in oe-core's MACHINEs so it just confused me, that qemuarm explicitly selects 4.8 version even when there is no negative D_P and 4.8 is now default. > I am also running into a kernel bug with linux-yocto 4.8 on x86: > https://bugzilla.yoctoproject.org/show_bug.cgi?id=10402 I didn't get that far to actually boot it yet, in my environment I need http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127512.html for sysconfig to find the kernel. When I've created /vmlinuz manually then almost everything was failing to start for whatever reason (that's why I started checking the kernel version as well). Thanks > > OE @ ~/extras/poky $ git grep PREFERRED_VERSION.*linux-yocto > > bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.xml: > > PREFERRED_VERSION_linux-yocto = "3.10%" > > documentation/bsp-guide/bsp.xml: PREFERRED_VERSION_linux-yocto ?= "4.4%" > > documentation/ref-manual/ref-variables.xml: > > PREFERRED_VERSION_linux-yocto = "3.19%" > > documentation/ref-manual/ref-variables.xml: > > PREFERRED_VERSION_linux-yocto_qemux86 = "3.4%" > > documentation/ref-manual/ref-variables.xml: > > PREFERRED_VERSION_linux-yocto_forcevariable = "3.4%" > > meta-poky/conf/distro/poky-lsb.conf:PREFERRED_VERSION_linux-yocto_linuxstdbase > > ?= "4.1%" > > meta-poky/conf/distro/poky-tiny.conf:PREFERRED_VERSION_linux-yocto-tiny ?= > > "4.4%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto ?= "4.8%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto_qemux86 ?= > > "4.8%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto_qemux86-64 ?= > > "4.8%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto_qemuarm ?= > > "4.8%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto_qemumips ?= > > "4.8%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto_qemumips64 ?= > > "4.8%" > > meta-poky/conf/distro/poky.conf:PREFERRED_VERSION_linux-yocto_qemuppc ?= > > "4.8%" > > meta-yocto-bsp/conf/machine/beaglebone.conf:PREFERRED_VERSION_linux-yocto > > ?= "4.8%" > > meta-yocto-bsp/conf/machine/edgerouter.conf:PREFERRED_VERSION_linux-yocto > > ?= "4.8%" > > meta-yocto-bsp/conf/machine/genericx86-64.conf:PREFERRED_VERSION_linux-yocto_genericx86-64 > > ?= "4.8%" > > meta-yocto-bsp/conf/machine/genericx86.conf:PREFERRED_VERSION_linux-yocto_genericx86 > > ?= "4.8%" > > meta-yocto-bsp/conf/machine/include/genericx86-common.inc:PREFERRED_VERSION_linux-yocto > > ?= "4.4%" > > meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf:PREFERRED_VERSION_linux-yocto > > ?= "4.8%" > > meta/conf/machine/include/x86-base.inc:PREFERRED_VERSION_linux-yocto ??= > > "4.4%" > > meta/conf/machine/qemuarm.conf:PREFERRED_VERSION_linux-yocto ??= "4.8%" > > meta/conf/machine/qemuarm.conf:QB_DTB = > > "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', > > 'zImage-versatile-pb.dtb', d)}" > > > > Regards, > > -- > > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com > > > > -- > > _______________________________________________ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > > -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core