All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] linux-yocto: v5.4 and v5.5 -prep
@ 2020-01-13  4:41 bruce.ashfield
  2020-01-13  4:41 ` [PATCH 1/2] linux-yocto-dev: bump to v5-5-rcX bruce.ashfield
  2020-01-13  4:41 ` [PATCH 2/2] perf: fix build for v5.5+ bruce.ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: bruce.ashfield @ 2020-01-13  4:41 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

From: Bruce Ashfield <bruce.ashfield@gmail.com>

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(-)

-- 
2.19.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] linux-yocto-dev: bump to v5-5-rcX
  2020-01-13  4:41 [PATCH 0/2] linux-yocto: v5.4 and v5.5 -prep bruce.ashfield
@ 2020-01-13  4:41 ` bruce.ashfield
  2020-01-13  4:41 ` [PATCH 2/2] perf: fix build for v5.5+ bruce.ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: bruce.ashfield @ 2020-01-13  4:41 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

From: Bruce Ashfield <bruce.ashfield@gmail.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb
index 3b5c9ddc59..afda84936a 100644
--- a/meta/recipes-kernel/linux/linux-yocto-dev.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb
@@ -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}"
 
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] perf: fix build for v5.5+
  2020-01-13  4:41 [PATCH 0/2] linux-yocto: v5.4 and v5.5 -prep bruce.ashfield
  2020-01-13  4:41 ` [PATCH 1/2] linux-yocto-dev: bump to v5-5-rcX bruce.ashfield
@ 2020-01-13  4:41 ` bruce.ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: bruce.ashfield @ 2020-01-13  4:41 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

From: Bruce Ashfield <bruce.ashfield@gmail.com>

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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 meta/recipes-kernel/perf/perf.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 5f0ba7c180..840f3008b5 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -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
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-13  4:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13  4:41 [PATCH 0/2] linux-yocto: v5.4 and v5.5 -prep bruce.ashfield
2020-01-13  4:41 ` [PATCH 1/2] linux-yocto-dev: bump to v5-5-rcX bruce.ashfield
2020-01-13  4:41 ` [PATCH 2/2] perf: fix build for v5.5+ bruce.ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.