linux-yocto: v5.4 and v5.5 -prep
cover linux-yocto: v5.4 and v5.5 -prep
From: Bruce Ashfield <[email protected]>
Hi all,
As part of the v5.4 LTS reference kernel work, and v5.5 prep I ran into a perf build failure with v5.5+.
Rather than sit on the issues that I find with v5.4 and v5.5, I'll send patches as I go along. With these tweaks, I'm building and booting v5.5 on linux-yocto-dev.
Cheers,
Bruce
The following changes since commit 4e85a7a0ccf20a005df7349cabe75faa49fe05b7:
poky: Switch to post release name/version (2020-01-07 12:43:28 +0000)
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 (2):
linux-yocto-dev: bump to v5-5-rcX
perf: fix build for v5.5+
meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- meta/recipes-kernel/perf/perf.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.1
PATCH 1/2 linux-yocto-dev: bump to v5-5-rcX
From: Bruce Ashfield <[email protected]>
--- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto-dev.bb +1 -1
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name SRCREV_machine ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-yocto-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}' SRCREV_meta ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-yocto-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}' -LINUX_VERSION ?= "5.4-rc+" +LINUX_VERSION ?= "5.5-rc+" LINUX_VERSION_EXTENSION ?= "-yoctodev-${LINUX_KERNEL_TYPE}" PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
2.19.1
PATCH 2/2 perf: fix build for v5.5+
In reply to [email protected]From: Bruce Ashfield <[email protected]>
In kernel 5.5+ there are python3 scripts that explicitly use /usr/bin/python3 as the interpreter. That will find the host python and produce undefined results.
We add that interpreter path to our substitutions to ensure that our sysroot variant is used.
--- meta/recipes-kernel/perf/perf.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-kernel/perf/perf.bb +1 -0
@@ -241,6 +241,7 @@ do_configure_prepend () { sed -i 's,/usr/bin/python,/usr/bin/env python3,' "${s}" sed -i 's,/usr/bin/python2,/usr/bin/env python3,' "${s}" sed -i 's,/usr/bin/env python2,/usr/bin/env python3,' "${s}" + sed -i 's,/usr/bin/python3,/usr/bin/env python3,' "${s}" done # unistd.h can be out of sync between libc-headers and the captured version in the perf source
Signature · 1 line
2.19.1