linux-yocto: consolidated pull request
cover linux-yocto: consolidated pull request
Hi all,
Given how close we are to the release, I'm staying away from -stable updates to the linux-yocto kernels. But I do have one small patch integration and two minor bug fixes that are worth getting in for the release.
I don't expect any issues with these .. famous last words :D
Cheers,
Bruce
The following changes since commit 29f65bda6d2c9fea4adb125c4857ee64f9312b9f:
nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead (2018-04-07 22:34:45 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
Bruce Ashfield (3):
linux-yocto/4.14: add elfutils, util-linux and openssl dependencies linux-yocto-tiny/4.14: fix recipe name linux-yocto/4.14/4.15: deterministic srcversion
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | 7 ++- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 4 +- meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 7 ++- meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ----------- meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 50 ++++++---------------- meta/recipes-kernel/linux/linux-yocto_4.14.bb | 21 +++++---- meta/recipes-kernel/linux/linux-yocto_4.15.bb | 18 ++++---- 7 files changed, 47 insertions(+), 85 deletions(-) delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b
Signature · 1 line
2.5.0
PATCH 1/3 linux-yocto/4.14: add elfutils, util-linux and openssl dependencies
4.15+ already has the following dependencies:
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native"
Updates to 4.14 via the -stable releases have also introduced the same dependencies to 4.14's "make scripts". As such, we bring the same lines into 4.14 to restore the ability to build scripts.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | 3 +++ meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 3 +++ meta/recipes-kernel/linux/linux-yocto_4.14.bb | 3 +++ 3 files changed, 9 insertions(+)
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb +3 -0
@@ -19,6 +19,9 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=mac LINUX_VERSION ?= "4.14.30" +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + PV = "${LINUX_VERSION}+git${SRCPV}" KMETA = "kernel-meta"
meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb +3 -0
@@ -6,6 +6,9 @@ require recipes-kernel/linux/linux-yocto.inc LINUX_VERSION ?= "4.14.30" +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2"
meta/recipes-kernel/linux/linux-yocto_4.14.bb +3 -0
@@ -26,6 +26,9 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA LINUX_VERSION ?= "4.14.30" +DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" +DEPENDS += "openssl-native util-linux-native" + PV = "${LINUX_VERSION}+git${SRCPV}" KMETA = "kernel-meta"
Signature · 1 line
2.5.0
PATCH 2/3 linux-yocto-tiny/4.14: fix recipe name
In reply to Bruce AshfieldI guess not many people are building linux-yocto-tiny for v4.15, given that I managed to mangle the name of the recipe when I introduced it.
[YOCTO #12640]
--- meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b | 25 ----------- meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 50 ++++++---------------- 2 files changed, 14 insertions(+), 61 deletions(-) delete mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.b deleted +0 -25
@@ -1,25 +0,0 @@ -KBRANCH ?= "v4.15/standard/tiny/common-pc" -LINUX_KERNEL_TYPE = "tiny" -KCONFIG_MODE = "--allnoconfig" - -require recipes-kernel/linux/linux-yocto.inc - -LINUX_VERSION ?= "4.15" - -KMETA = "kernel-meta" -KCONF_BSP_AUDIT_LEVEL = "2" - -SRCREV_machine ?= "f7a6d45fff853173bfbf61706aeffcd1d1e99467" -SRCREV_meta ?= "ef2f5d9a0ac1c5ac60e76b18b0bb3393be450336" - -PV = "${LINUX_VERSION}+git${SRCPV}" - -SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ - git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" - -COMPATIBLE_MACHINE = "qemux86|qemux86-64" - -# Functionality flags -KERNEL_FEATURES = "" - -KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb +14 -36
61 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH 3/3 linux-yocto/4.14/4.15: deterministic srcversion
In reply to Bruce Ashfield Author: Juro Bystricky <[email protected]>
Date: Fri Mar 30 10:14:05 2018 -0700
modpost: srcversion sometimes incorrect
"srcversion" field inserted into module modinfo section contains a sum of the source files which made it. However, this field can be incorrect. Building the same module can end up having inconsistent srcversion field eventhough the sources remain the same. This can be reproduced by building modules in a deeply nested directory, but other factors contribute as well.
The reason for incorrect srcversion is that some source files can be simply silently skipped from the checksum calculation due to limited buffer space for line parsing.
This patch addresses two issues:
1. Allocates a larger line buffer (32k vs 4k).
2. Issues a warning if a line length exceeds the line buffer.
--- meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_4.14.bb | 18 +++++++++--------- meta/recipes-kernel/linux/linux-yocto_4.15.bb | 18 +++++++++--------- 6 files changed, 25 insertions(+), 25 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb +2 -2
@@ -11,8 +11,8 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "620ed070a13e614e8e550998fae123318eeb881a" -SRCREV_meta ?= "f8232ce8e9f759b961e4e3836472de54e96b50da" +SRCREV_machine ?= "7272e9132fdaaf0dd78bc94e9f297aaf73452982" +SRCREV_meta ?= "ea9330894eea727bd1655569b16f338976b72563" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb +2 -2
@@ -11,8 +11,8 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" -SRCREV_meta ?= "6918258c9e46ad8471210354159eb42f127c7374" +SRCREV_machine ?= "91084d030bc841c483c31e8664289c7940aa5506" +SRCREV_meta ?= "939d935b0c992c6f1e51a7a1c9e4fbe6ef3c3174" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb +2 -2
@@ -12,8 +12,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "40adf66d7c45b8252a1d3f904b5027a495e41725" -SRCREV_meta ?= "f8232ce8e9f759b961e4e3836472de54e96b50da" +SRCREV_machine ?= "ad31896630f8bf6a459164263adc0a8faf984d9e" +SRCREV_meta ?= "ea9330894eea727bd1655569b16f338976b72563" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb +1 -1
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "4.15.13" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" +SRCREV_machine ?= "91084d030bc841c483c31e8664289c7940aa5506" SRCREV_meta ?= "939d935b0c992c6f1e51a7a1c9e4fbe6ef3c3174" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_4.14.bb +9 -9
@@ -11,15 +11,15 @@ KBRANCH_qemux86 ?= "v4.14/standard/base" KBRANCH_qemux86-64 ?= "v4.14/standard/base" KBRANCH_qemumips64 ?= "v4.14/standard/mti-malta64" -SRCREV_machine_qemuarm ?= "73815e83e4f6bc22e88f4eb3bd4ee5483198ff0d" -SRCREV_machine_qemuarm64 ?= "b0bf285405cf0369ecc7e0b923d776138b0bcf84" -SRCREV_machine_qemumips ?= "47b99cfeaf68526ab28e657ac8fa681b0c78103a" -SRCREV_machine_qemuppc ?= "2219819c5473dd238913e4c0ca077798d531eaf4" -SRCREV_machine_qemux86 ?= "1d50ce210b0536eb9a66d1e56ae215f92176444a" -SRCREV_machine_qemux86-64 ?= "1d50ce210b0536eb9a66d1e56ae215f92176444a" -SRCREV_machine_qemumips64 ?= "37b40335aa0cd149c7664fe6d9b0d63b5c34e150" -SRCREV_machine ?= "1d50ce210b0536eb9a66d1e56ae215f92176444a" -SRCREV_meta ?= "f8232ce8e9f759b961e4e3836472de54e96b50da" +SRCREV_machine_qemuarm ?= "d6268fc3460d3904fd49087f7a822efbaab9bfe8" +SRCREV_machine_qemuarm64 ?= "c94189843b8ad62cafe9a307e7f7d60741690505" +SRCREV_machine_qemumips ?= "4afd92347b2b35dc8e0006712f8fa00ac57f2a36" +SRCREV_machine_qemuppc ?= "e8af5c9b65c5187d148ecd11bd7979489460ca64" +SRCREV_machine_qemux86 ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c" +SRCREV_machine_qemux86-64 ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c" +SRCREV_machine_qemumips64 ?= "9863b327e770b42b8c18da3e0cfaf06e8f99ae97" +SRCREV_machine ?= "74f6cd2b6976e37491779fcb1bc4966d3a61492c" +SRCREV_meta ?= "ea9330894eea727bd1655569b16f338976b72563" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto_4.15.bb +9 -9
@@ -11,15 +11,15 @@ KBRANCH_qemux86 ?= "v4.15/standard/base" KBRANCH_qemux86-64 ?= "v4.15/standard/base" KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" -SRCREV_machine_qemuarm ?= "e98391b2cf78ebdc41c229359d35d9e6ca96dde3" -SRCREV_machine_qemuarm64 ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" -SRCREV_machine_qemumips ?= "e99c1fc0e84dba772531ba02373a28350056211a" -SRCREV_machine_qemuppc ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" -SRCREV_machine_qemux86 ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" -SRCREV_machine_qemux86-64 ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" -SRCREV_machine_qemumips64 ?= "0789d1f7734d5408de3130f9305f2ca4abc93025" -SRCREV_machine ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9" -SRCREV_meta ?= "6918258c9e46ad8471210354159eb42f127c7374" +SRCREV_machine_qemuarm ?= "4b6902b42f47593928117b2ff0900cd965cf6443" +SRCREV_machine_qemuarm64 ?= "91084d030bc841c483c31e8664289c7940aa5506" +SRCREV_machine_qemumips ?= "19ba2d843750ff65d8fe590acdfc99aea6153945" +SRCREV_machine_qemuppc ?= "91084d030bc841c483c31e8664289c7940aa5506" +SRCREV_machine_qemux86 ?= "91084d030bc841c483c31e8664289c7940aa5506" +SRCREV_machine_qemux86-64 ?= "91084d030bc841c483c31e8664289c7940aa5506" +SRCREV_machine_qemumips64 ?= "97000c3f4664643bac7828bbdc048f7ec216cc31" +SRCREV_machine ?= "91084d030bc841c483c31e8664289c7940aa5506" +SRCREV_meta ?= "939d935b0c992c6f1e51a7a1c9e4fbe6ef3c3174" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}"
Signature · 1 line
2.5.0