All of lore.kernel.org
 help / color / mirror / Atom feed
* [gatesgarth][PATCH 00/19] gatesgarth review request
@ 2020-11-17 15:35 Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 01/19] freetype: fix CVE-2020-15999, backport from 2.10.4 Anuj Mittal
                   ` (19 more replies)
  0 siblings, 20 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

Next set of changes for gatesgarth. Please review.

Passed a-full on autobuilder except for one failure. Ping test failed
while executing do_testimage for sato image. 

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1602

I think this failure is not related to the changes here as the test passed
in other configurations. Probably similar to:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14029

Thanks,

Anuj

The following changes since commit a1db1e71129c3e67ddd9dbef21e1c5eb31552e00:

  grub: clean up CVE patches (2020-11-12 11:54:28 +0800)

are available in the Git repository at:

  git://push.openembedded.org/openembedded-core-contrib anujm/gatesgarth

Alexander Kanavin (2):
  clutter-gst-3.0: do not call out to host gstreamer plugin scanner
  conf-notes.txt: mention more important images than just sato

Bruce Ashfield (1):
  kernel: provide module.lds for out of tree builds in v5.10+

Denys Zagorui (1):
  binutils: reproducibility: reuse debug-prefix-map for stabs

Diego Santa Cruz (1):
  freetype: fix CVE-2020-15999, backport from 2.10.4

Gratian Crisan (1):
  kernel-module-split.bbclass: identify kernel modconf files as
    configuration files

Jose Quaresma (1):
  gstreamer1.0: warn the user when something is wrong with GstBufferPool

Khem Raj (2):
  lrzsz: Use Cross AR during compile
  gawk: Avoid using host ar during cross compile

Konrad Weihmann (3):
  oeqa/core/context: expose results as variable
  oeqa/core/context: initialize _run_end_time
  testimage: print results for interrupted runs

Mark Jonas (1):
  libbsd: Remove BSD-4-Clause from main package

Matt Madison (1):
  layer.conf: fix syntax error in PATH setting

Nathan Rossi (1):
  diffstat: add nativesdk to BBCLASSEXTEND

Richard Purdie (3):
  ptest-runner: Fix license as it contains 'or later' clause
  libdnf: Fix license as it contains 'or later' clause
  alsa-utils: Fix license to GPLv2 only

Steve Sakoman (1):
  openssh: whitelist CVE-2014-9278

 meta/classes/kernel-module-split.bbclass      |  1 +
 meta/classes/kernel.bbclass                   |  1 +
 meta/classes/testimage.bbclass                | 19 ++++---
 meta/conf/conf-notes.txt                      |  2 +
 meta/conf/layer.conf                          |  2 +-
 meta/lib/oeqa/core/context.py                 |  4 ++
 ...mpilation-using-autoconf-detected-AR.patch | 36 +++++++++++++
 meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb       |  1 +
 .../openssh/openssh_8.3p1.bb                  |  4 ++
 .../binutils/binutils-2.35.inc                |  1 +
 ...oducibility-for-stabs-debugging-data.patch | 35 +++++++++++++
 .../diffstat/diffstat_1.63.bb                 |  2 +
 meta/recipes-devtools/libdnf/libdnf_0.48.0.bb |  2 +-
 .../0001-Use-cross-AR-during-compile.patch    | 35 +++++++++++++
 meta/recipes-extended/gawk/gawk_5.1.0.bb      |  1 +
 .../clutter/clutter-gst-3.0.inc               |  2 +
 ...-sfnt-Fix-heap-buffer-overflow-59308.patch | 51 +++++++++++++++++++
 .../freetype/freetype_2.10.2.bb               |  1 +
 meta/recipes-kernel/linux/kernel-devsrc.bb    |  6 +++
 meta/recipes-multimedia/alsa/alsa-utils.inc   |  3 +-
 ...size-in-reset-when-maxsize-is-larger.patch | 49 ++++++++++++++++++
 .../gstreamer/gstreamer1.0_1.16.3.bb          |  1 +
 meta/recipes-support/libbsd/libbsd_0.10.0.bb  |  3 +-
 .../ptest-runner/ptest-runner_2.4.0.bb        |  2 +-
 24 files changed, 251 insertions(+), 13 deletions(-)
 create mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
 create mode 100644 meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch
 create mode 100644 meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch
 create mode 100644 meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch

-- 
2.28.0


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

* [gatesgarth][PATCH 01/19] freetype: fix CVE-2020-15999, backport from 2.10.4
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 02/19] ptest-runner: Fix license as it contains 'or later' clause Anuj Mittal
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Diego Santa Cruz <diego.santacruz@spinetix.com>

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 ...-sfnt-Fix-heap-buffer-overflow-59308.patch | 51 +++++++++++++++++++
 .../freetype/freetype_2.10.2.bb               |  1 +
 2 files changed, 52 insertions(+)
 create mode 100644 meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch

diff --git a/meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch b/meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch
new file mode 100644
index 0000000000..fa8a29b798
--- /dev/null
+++ b/meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch
@@ -0,0 +1,51 @@
+From a3bab162b2ae616074c8877a04556932998aeacd Mon Sep 17 00:00:00 2001
+From: Werner Lemberg <wl@gnu.org>
+Date: Mon, 19 Oct 2020 23:45:28 +0200
+Subject: [PATCH] [sfnt] Fix heap buffer overflow (#59308).
+
+This is CVE-2020-15999.
+
+* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.
+
+Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a3bab162b2ae616074c8877a04556932998aeacd]
+
+Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
+---
+ src/sfnt/pngshim.c | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c
+index 2e64e5846..f55016122 100644
+--- a/src/sfnt/pngshim.c
++++ b/src/sfnt/pngshim.c
+@@ -332,6 +332,13 @@
+ 
+     if ( populate_map_and_metrics )
+     {
++      /* reject too large bitmaps similarly to the rasterizer */
++      if ( imgHeight > 0x7FFF || imgWidth > 0x7FFF )
++      {
++        error = FT_THROW( Array_Too_Large );
++        goto DestroyExit;
++      }
++
+       metrics->width  = (FT_UShort)imgWidth;
+       metrics->height = (FT_UShort)imgHeight;
+ 
+@@ -340,13 +347,6 @@
+       map->pixel_mode = FT_PIXEL_MODE_BGRA;
+       map->pitch      = (int)( map->width * 4 );
+       map->num_grays  = 256;
+-
+-      /* reject too large bitmaps similarly to the rasterizer */
+-      if ( map->rows > 0x7FFF || map->width > 0x7FFF )
+-      {
+-        error = FT_THROW( Array_Too_Large );
+-        goto DestroyExit;
+-      }
+     }
+ 
+     /* convert palette/gray image to rgb */
+-- 
+2.18.4
+
diff --git a/meta/recipes-graphics/freetype/freetype_2.10.2.bb b/meta/recipes-graphics/freetype/freetype_2.10.2.bb
index 1034ddc0d7..cb0006b23e 100644
--- a/meta/recipes-graphics/freetype/freetype_2.10.2.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.10.2.bb
@@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE.TXT;md5=4af6221506f202774ef74f64932878a1
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz \
            file://use-right-libtool.patch \
+           file://0001-sfnt-Fix-heap-buffer-overflow-59308.patch \
           "
 SRC_URI[md5sum] = "7c0d5a39f232d7eb9f9d7da76bf08074"
 SRC_URI[sha256sum] = "1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b"
-- 
2.28.0


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

* [gatesgarth][PATCH 02/19] ptest-runner: Fix license as it contains 'or later' clause
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 01/19] freetype: fix CVE-2020-15999, backport from 2.10.4 Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 03/19] libdnf: " Anuj Mittal
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

The license headers are clear that the code is "or later", fix LICENSE
to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f0b5cdfcb104ac50222a47652e090ad8770e49f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb
index 10b4c5b6a4..8b9938f572 100644
--- a/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb
+++ b/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb
@@ -4,7 +4,7 @@ program which loops through all installed ptest test suites and \
 runs them in sequence."
 HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/"
 
-LICENSE = "GPLv2"
+LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
 SRCREV = "834670317bd3f6e427e1ac461c07ada6b8936dfd"
-- 
2.28.0


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

* [gatesgarth][PATCH 03/19] libdnf: Fix license as it contains 'or later' clause
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 01/19] freetype: fix CVE-2020-15999, backport from 2.10.4 Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 02/19] ptest-runner: Fix license as it contains 'or later' clause Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 04/19] alsa-utils: Fix license to GPLv2 only Anuj Mittal
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

The license headers are clear that the code is "or later", fix LICENSE
to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e565e0b908c71ad5106d1c6c73d269b819787e55)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-devtools/libdnf/libdnf_0.48.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/libdnf/libdnf_0.48.0.bb b/meta/recipes-devtools/libdnf/libdnf_0.48.0.bb
index 37991e6d80..25c1bc68ba 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.48.0.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.48.0.bb
@@ -1,5 +1,5 @@
 SUMMARY = "Library providing simplified C and Python API to libsolv"
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master \
-- 
2.28.0


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

* [gatesgarth][PATCH 04/19] alsa-utils: Fix license to GPLv2 only
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (2 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 03/19] libdnf: " Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 05/19] kernel-module-split.bbclass: identify kernel modconf files as configuration files Anuj Mittal
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

Parts of alsa-utils are v2 only, parts are v2 or later. The effect is
the end result is GPLv2 and there seems little value in marking everything
as being a mixture of both. Fix LICENSE to match reality.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9a17a991174b732597e21045763ea851f486a01)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-multimedia/alsa/alsa-utils.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-utils.inc b/meta/recipes-multimedia/alsa/alsa-utils.inc
index b523a5a832..0a2e86fcc7 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils.inc
+++ b/meta/recipes-multimedia/alsa/alsa-utils.inc
@@ -2,7 +2,8 @@ SUMMARY = "ALSA sound utilities"
 HOMEPAGE = "http://www.alsa-project.org"
 BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
 SECTION = "console/utils"
-LICENSE = "GPLv2+"
+# Some parts are GPLv2+, some are only GPLv2 (e.g. axfer, alsactl) so result is GPLv2
+LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
                     file://alsactl/utils.c;beginline=3;endline=18;md5=96cc06a4cebe5eb7975688ffb0e65642"
 DEPENDS = "alsa-lib ncurses libsamplerate0"
-- 
2.28.0


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

* [gatesgarth][PATCH 05/19] kernel-module-split.bbclass: identify kernel modconf files as configuration files
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (3 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 04/19] alsa-utils: Fix license to GPLv2 only Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 06/19] clutter-gst-3.0: do not call out to host gstreamer plugin scanner Anuj Mittal
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Gratian Crisan <gratian.crisan@ni.com>

Currently the modconf fragments representing the configuration for
kernel modules are written out to appropriate .conf files and added to
the FILES variable. However they are not identified as 'configuration
files' and installing a new version of a kernel module results in a
conflict and a failed installed because the respective .conf file is
already in place from a previous install.

Add the generated .conf files to the CONFFILES variable denoting their
true nature.

Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a70a92d1f1006be115429a4262259c9084f484d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/classes/kernel-module-split.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index 221022b7bc..c8ede26996 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -120,6 +120,7 @@ python split_kernel_module_packages () {
         files = d.getVar('FILES_%s' % pkg)
         files = "%s /etc/modules-load.d/%s.conf /etc/modprobe.d/%s.conf" % (files, basename, basename)
         d.setVar('FILES_%s' % pkg, files)
+        d.setVar('CONFFILES_%s' % pkg, files)
 
         if "description" in vals:
             old_desc = d.getVar('DESCRIPTION_' + pkg) or ""
-- 
2.28.0


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

* [gatesgarth][PATCH 06/19] clutter-gst-3.0: do not call out to host gstreamer plugin scanner
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (4 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 05/19] kernel-module-split.bbclass: identify kernel modconf files as configuration files Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 07/19] conf-notes.txt: mention more important images than just sato Anuj Mittal
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

This is host contamination and can also fail for all kinds of
reasons when running under usermode qemu.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb60d0920b660dffb346b2212dc6f8ba2a0b9fde)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-graphics/clutter/clutter-gst-3.0.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
index fc3eade886..7d9db1f38c 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-gst-3.0.inc
@@ -6,6 +6,8 @@ inherit clutter features_check upstream-version-is-even gobject-introspection
 # depends on clutter-1.0 which depends on cogl-1.0
 REQUIRED_DISTRO_FEATURES ?= "opengl"
 
+export GST_PLUGIN_SCANNER_1_0="${S}/gst-plugin-scanner-dummy"
+
 SRC_URI += "file://0001-Install-example-binary-needed-for-core-image-clutter.patch"
 
 DEPENDS = "gstreamer1.0-plugins-base gstreamer1.0-plugins-bad clutter-1.0 libgudev"
-- 
2.28.0


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

* [gatesgarth][PATCH 07/19] conf-notes.txt: mention more important images than just sato
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (5 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 06/19] clutter-gst-3.0: do not call out to host gstreamer plugin scanner Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 08/19] openssh: whitelist CVE-2014-9278 Anuj Mittal
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f89138e12c3021ed49aa7ccdf90543d2aaaad279)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/conf/conf-notes.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/conf-notes.txt b/meta/conf/conf-notes.txt
index 5af13a8357..1a9414a040 100644
--- a/meta/conf/conf-notes.txt
+++ b/meta/conf/conf-notes.txt
@@ -5,7 +5,9 @@ You can now run 'bitbake <target>'
 
 Common targets are:
     core-image-minimal
+    core-image-full-cmdline
     core-image-sato
+    core-image-weston
     meta-toolchain
     meta-ide-support
 
-- 
2.28.0


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

* [gatesgarth][PATCH 08/19] openssh: whitelist CVE-2014-9278
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (6 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 07/19] conf-notes.txt: mention more important images than just sato Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 09/19] oeqa/core/context: expose results as variable Anuj Mittal
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Steve Sakoman <steve@sakoman.com>

The OpenSSH server, as used in Fedora and Red Hat Enterprise
Linux 7 and when running in a Kerberos environment, allows remote
authenticated users to log in as another user when they are listed
in the .k5users file of that user, which might bypass intended
authentication requirements that would force a local login.

Whitelist the CVE since this issue is Redhat specific.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 309132e50d23b1e3f15ef8db1a101166b35f7ca4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-connectivity/openssh/openssh_8.3p1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-connectivity/openssh/openssh_8.3p1.bb b/meta/recipes-connectivity/openssh/openssh_8.3p1.bb
index e007328704..2aa1df20bd 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.3p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.3p1.bb
@@ -27,6 +27,10 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
            "
 SRC_URI[sha256sum] = "f2befbe0472fe7eb75d23340eb17531cb6b3aac24075e2066b41f814e12387b2"
 
+# This CVE is specific to OpenSSH server, as used in Fedora and Red Hat Enterprise Linux 7
+# and when running in a Kerberos environment. As such it is not relevant to OpenEmbedded
+CVE_CHECK_WHITELIST += "CVE-2014-9278"
+
 PAM_SRC_URI = "file://sshd"
 
 inherit manpages useradd update-rc.d update-alternatives systemd
-- 
2.28.0


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

* [gatesgarth][PATCH 09/19] oeqa/core/context: expose results as variable
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (7 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 08/19] openssh: whitelist CVE-2014-9278 Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:35 ` [gatesgarth][PATCH 10/19] oeqa/core/context: initialize _run_end_time Anuj Mittal
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Konrad Weihmann <kweihmann@outlook.com>

register an unittest handler for testresults and expose it as
variable result.
With this even partial results from an interrupted test suite run
can be made available

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a97ae47525157871b6c098ffc352293e365a4335)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/lib/oeqa/core/context.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 7d3fa3b84a..84b43a93e1 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -31,6 +31,9 @@ class OETestContext(object):
         self._registry = {}
         self._registry['cases'] = collections.OrderedDict()
 
+        self.results = unittest.TestResult()
+        unittest.registerResult(self.results)
+
     def _read_modules_from_manifest(self, manifest):
         if not os.path.exists(manifest):
             raise OEQAMissingManifest("Manifest does not exist on %s" % manifest)
-- 
2.28.0


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

* [gatesgarth][PATCH 10/19] oeqa/core/context: initialize _run_end_time
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (8 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 09/19] oeqa/core/context: expose results as variable Anuj Mittal
@ 2020-11-17 15:35 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 11/19] testimage: print results for interrupted runs Anuj Mittal
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:35 UTC (permalink / raw)
  To: openembedded-core

From: Konrad Weihmann <kweihmann@outlook.com>

with _run_start_time as value. For partial results of interrupted runs,
this info might be otherwise missing for at least one testcase

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/lib/oeqa/core/context.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py
index 84b43a93e1..2abe353d27 100644
--- a/meta/lib/oeqa/core/context.py
+++ b/meta/lib/oeqa/core/context.py
@@ -85,6 +85,7 @@ class OETestContext(object):
         self.skipTests(skips)
 
         self._run_start_time = time.time()
+        self._run_end_time = self._run_start_time
         if not processes:
             self.runner.buffer = True
         result = self.runner.run(self.prepareSuite(self.suites, processes))
-- 
2.28.0


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

* [gatesgarth][PATCH 11/19] testimage: print results for interrupted runs
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (9 preceding siblings ...)
  2020-11-17 15:35 ` [gatesgarth][PATCH 10/19] oeqa/core/context: initialize _run_end_time Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 12/19] binutils: reproducibility: reuse debug-prefix-map for stabs Anuj Mittal
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Konrad Weihmann <kweihmann@outlook.com>

When a run is ended by overall timeout, print the already executed
testcases, to provide some hints which testcase might made the
test suite reach global timeout.
Nonetheless make the testrun exit with an error

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bcc643195a3b3c66d698fac8b7af037c08545ac)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/classes/testimage.bbclass | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index e3feef02f8..78da4b09bd 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -367,6 +367,7 @@ def testimage_main(d):
     package_extraction(d, tc.suites)
 
     results = None
+    complete = False
     orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
     try:
         # We need to check if runqemu ends unexpectedly
@@ -378,6 +379,7 @@ def testimage_main(d):
         except ValueError:
             pass
         results = tc.runTests()
+        complete = True
     except (KeyboardInterrupt, BlockingIOError) as err:
         if isinstance(err, KeyboardInterrupt):
             bb.error('testimage interrupted, shutting down...')
@@ -385,20 +387,21 @@ def testimage_main(d):
             bb.error('runqemu failed, shutting down...')
         if results:
             results.stop()
-            results = None
+        results = tc.results
     finally:
         signal.signal(signal.SIGTERM, orig_sigterm_handler)
         tc.target.stop()
 
     # Show results (if we have them)
-    if not results:
+    if results:
+        configuration = get_testimage_configuration(d, 'runtime', machine)
+        results.logDetails(get_testimage_json_result_dir(d),
+                        configuration,
+                        get_testimage_result_id(configuration),
+                        dump_streams=d.getVar('TESTREPORT_FULLLOGS'))
+        results.logSummary(pn)
+    if not results or not complete:
         bb.fatal('%s - FAILED - tests were interrupted during execution' % pn, forcelog=True)
-    configuration = get_testimage_configuration(d, 'runtime', machine)
-    results.logDetails(get_testimage_json_result_dir(d),
-                       configuration,
-                       get_testimage_result_id(configuration),
-                       dump_streams=d.getVar('TESTREPORT_FULLLOGS'))
-    results.logSummary(pn)
     if not results.wasSuccessful():
         bb.fatal('%s - FAILED - check the task log and the ssh log' % pn, forcelog=True)
 
-- 
2.28.0


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

* [gatesgarth][PATCH 12/19] binutils: reproducibility: reuse debug-prefix-map for stabs
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (10 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 11/19] testimage: print results for interrupted runs Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 13/19] lrzsz: Use Cross AR during compile Anuj Mittal
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Denys Zagorui <dzagorui@cisco.com>

powerpc 32bit Linux Kernel widely uses .stabs pseudo-op to
produce debugging information in stabs format. Faced an issue
that during Linux Kernel build with Yocto build system for 32bit
powerpc platform resulting vmlinux contains absolute path in
.stabstr section that cannot be remapped with -fdebug-prefix-map
option.

Yocto uses scripts/mkmakefile Linux Kernel build approach that
allows to store all generated files outside of kernel source
tree. With this approach each compilier invocation is performed
with an absolute path to a file that will be compiled and this
absolute path is recorded in init stab. There is no way to remap
this path.

Reuse remap_debug_filename api to make -fdebug-prefix-map flag
aplicable for init stab.

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4dce4e01cfa153fb12cfd1684d36e0432bef6741)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 .../binutils/binutils-2.35.inc                |  1 +
 ...oducibility-for-stabs-debugging-data.patch | 35 +++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch

diff --git a/meta/recipes-devtools/binutils/binutils-2.35.inc b/meta/recipes-devtools/binutils/binutils-2.35.inc
index 5ae9ec4226..bc9107b084 100644
--- a/meta/recipes-devtools/binutils/binutils-2.35.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.35.inc
@@ -41,5 +41,6 @@ SRC_URI = "\
      file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
      file://0015-sync-with-OE-libtool-changes.patch \
      file://0016-Check-for-clang-before-checking-gcc-version.patch \
+     file://0017-gas-improve-reproducibility-for-stabs-debugging-data.patch \
 "
 S  = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch b/meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch
new file mode 100644
index 0000000000..42e0c1c32d
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch
@@ -0,0 +1,35 @@
+From aa6586e80fc6fcd739aa959a71e4cf064cdef072 Mon Sep 17 00:00:00 2001
+From: Denys Zagorui <dzagorui@cisco.com>
+Date: Mon, 9 Nov 2020 15:39:10 +0000
+Subject: [PATCH] gas: improve reproducibility for stabs debugging data format
+
+	* config/obj-elf (obj_elf_init_stab_section): Improve
+	reproducibility for stabs debugging data format
+
+Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0541201782c006c09d029d18a45c6e743cfea906]
+---
+ gas/config/obj-elf.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
+index de22b5a1da..2025df8542 100644
+--- a/gas/config/obj-elf.c
++++ b/gas/config/obj-elf.c
+@@ -2374,12 +2374,13 @@ obj_elf_init_stab_section (segT seg)
+   p = frag_more (12);
+   /* Zero it out.  */
+   memset (p, 0, 12);
+-  file = as_where (NULL);
++  file = remap_debug_filename (as_where (NULL));
+   stabstr_name = concat (segment_name (seg), "str", (char *) NULL);
+   stroff = get_stab_string_offset (file, stabstr_name, TRUE);
+   know (stroff == 1 || (stroff == 0 && file[0] == '\0'));
+   md_number_to_chars (p, stroff, 4);
+   seg_info (seg)->stabu.p = p;
++  xfree ((char *) file);
+ }
+ 
+ #endif
+-- 
+2.20.1
+
-- 
2.28.0


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

* [gatesgarth][PATCH 13/19] lrzsz: Use Cross AR during compile
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (11 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 12/19] binutils: reproducibility: reuse debug-prefix-map for stabs Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 14/19] gawk: Avoid using host ar during cross compile Anuj Mittal
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

Current code hardcodes archiver to be 'ar' from build host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74ed1d10434213ad3fcf54ded49879090f979e1e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 ...mpilation-using-autoconf-detected-AR.patch | 36 +++++++++++++++++++
 meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb       |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch

diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
new file mode 100644
index 0000000000..47c7ec4170
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
@@ -0,0 +1,36 @@
+From ecdcf0df6c28c65ca6d1e5638726e13e373c76c5 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 11 Nov 2020 22:58:55 -0800
+Subject: [PATCH] Fix cross compilation using autoconf detected AR
+
+currently its using 'ar' program from build host, which is not expected,
+we need to respect AR passed in environment
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ configure.in | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/configure.in b/configure.in
+index 4ddbe8b..b7c3c31 100644
+--- a/configure.in
++++ b/configure.in
+@@ -84,6 +84,13 @@ AC_ARG_ENABLE(syslog,
+ 	  ])
+ 
+ dnl Checks for programs.
++m4_ifndef([AC_PROG_AR],[dnl
++  AN_MAKEVAR([AR], [AC_PROG_AR])
++  AN_PROGRAM([ar], [AC_PROG_AR])
++  AC_DEFUN([AC_PROG_AR],
++  [AC_CHECK_TOOL(AR, ar, :)])
++])
++AC_PROG_AR
+ AC_PROG_CC
+ AC_PROG_GCC_TRADITIONAL
+ dnl AC_PROG_INSTALL  included in AM_INIT_AUTOMAKE
+-- 
+2.29.2
+
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
index 4129237c59..54c431eeb3 100644
--- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
+++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
            file://lrzsz-check-locale.h.patch \
            file://cve-2018-10195.patch \
            file://include.patch \
+           file://0001-Fix-cross-compilation-using-autoconf-detected-AR.patch \
            "
 
 SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4"
-- 
2.28.0


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

* [gatesgarth][PATCH 14/19] gawk: Avoid using host ar during cross compile
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (12 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 13/19] lrzsz: Use Cross AR during compile Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 15/19] layer.conf: fix syntax error in PATH setting Anuj Mittal
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5bc83ca06d0d38a6eb9fcc0343d081021dafb2ce)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 .../0001-Use-cross-AR-during-compile.patch    | 35 +++++++++++++++++++
 meta/recipes-extended/gawk/gawk_5.1.0.bb      |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch

diff --git a/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch b/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch
new file mode 100644
index 0000000000..ca0d668ce9
--- /dev/null
+++ b/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch
@@ -0,0 +1,35 @@
+From 207b94e37c84007b294e57878c913271aad544ef Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 11 Nov 2020 23:13:23 -0800
+Subject: [PATCH] Use cross AR during compile
+
+If AR is specifcied then it should be used instead of defaulting to 'ar'
+from host
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ configure.ac | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 31364ab..4804f7b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -92,6 +92,13 @@ GAWK_CANONICAL_HOST
+ AC_USE_SYSTEM_EXTENSIONS
+ 
+ dnl checks for programs
++m4_ifndef([AC_PROG_AR],[dnl
++  AN_MAKEVAR([AR], [AC_PROG_AR])
++  AN_PROGRAM([ar], [AC_PROG_AR])
++  AC_DEFUN([AC_PROG_AR],
++  [AC_CHECK_TOOL(AR, ar, :)])
++])
++AC_PROG_AR
+ AC_PROG_EGREP
+ AC_PROG_YACC
+ AC_PROG_LN_S
+-- 
+2.29.2
+
diff --git a/meta/recipes-extended/gawk/gawk_5.1.0.bb b/meta/recipes-extended/gawk/gawk_5.1.0.bb
index 0d005cd43b..8c6411c867 100644
--- a/meta/recipes-extended/gawk/gawk_5.1.0.bb
+++ b/meta/recipes-extended/gawk/gawk_5.1.0.bb
@@ -17,6 +17,7 @@ PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr"
 
 SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
            file://run-ptest \
+           file://0001-Use-cross-AR-during-compile.patch \
 "
 
 SRC_URI[md5sum] = "f719bc9966df28e67fc6ebc405e7ea03"
-- 
2.28.0


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

* [gatesgarth][PATCH 15/19] layer.conf: fix syntax error in PATH setting
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (13 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 14/19] gawk: Avoid using host ar during cross compile Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 16/19] libbsd: Remove BSD-4-Clause from main package Anuj Mittal
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Matt Madison <matt@madison.systems>

Commit 05a87be51b44608ce4f77ac332df90a3cd2445ef introduced
a Python conditional expression when updating PATH that
generates syntax warnings in bitbake-cookerdaemon.log:

  Var <PATH[:=]>:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?

Fix this by using the more appropriate '!=' comparison
operator.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e753a12cf6bb98f9e0940e5ed6255ce8c538eed)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 2d9cd05695..cda37c33b4 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -104,4 +104,4 @@ SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
 # We need to keep bitbake tools in PATH
 # Avoid empty path entries
 BITBAKEPATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}"
-PATH := "${@'${BITBAKEPATH}:' if '${BITBAKEPATH}' is not '' else ''}${HOSTTOOLS_DIR}"
+PATH := "${@'${BITBAKEPATH}:' if '${BITBAKEPATH}' != '' else ''}${HOSTTOOLS_DIR}"
-- 
2.28.0


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

* [gatesgarth][PATCH 16/19] libbsd: Remove BSD-4-Clause from main package
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (14 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 15/19] layer.conf: fix syntax error in PATH setting Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 17/19] kernel: provide module.lds for out of tree builds in v5.10+ Anuj Mittal
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Mark Jonas <toertel@gmail.com>

libbsd contains a multitude of licenses. For (commercial) projects the
3rd clause of the BSD-4-Clause license can be problematic. But only a
few man pages use this license. This means that the main package
containing the binary library itself is not under BSD-4-Clause ruling.

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c3e3f83b5fb162d161a7b9773d426418a22c05f)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-support/libbsd/libbsd_0.10.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/libbsd/libbsd_0.10.0.bb b/meta/recipes-support/libbsd/libbsd_0.10.0.bb
index 3b9ac5a01f..5b32b9af41 100644
--- a/meta/recipes-support/libbsd/libbsd_0.10.0.bb
+++ b/meta/recipes-support/libbsd/libbsd_0.10.0.bb
@@ -27,7 +27,8 @@ HOMEPAGE = "https://libbsd.freedesktop.org/wiki/"
 # License: ISC-Original
 # License: public-domain
 # License: public-domain-Colin-Plumb
-LICENSE = "BSD-4-Clause & ISC & PD"
+LICENSE = "BSD-3-Clause & BSD-4-Clause & ISC & PD"
+LICENSE_${PN} = "BSD-3-Clause & ISC & PD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2120be0173469a06ed185b688e0e1ae0"
 SECTION = "libs"
 
-- 
2.28.0


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

* [gatesgarth][PATCH 17/19] kernel: provide module.lds for out of tree builds in v5.10+
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (15 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 16/19] libbsd: Remove BSD-4-Clause from main package Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 17:05   ` [OE-core] " Bruce Ashfield
  2020-11-17 15:36 ` [gatesgarth][PATCH 18/19] gstreamer1.0: warn the user when something is wrong with GstBufferPool Anuj Mittal
                   ` (2 subsequent siblings)
  19 siblings, 1 reply; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

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

The upstream commit 596b0474d3d [kbuild: preprocess module linker
script], adds a dependency on module.lds for external module
building.

Since module.lds is generated as part of 'modules_prepare', we
must make it available with the other kernel artifacts in the
kernel shared workdir, otherwise out of tree builds fail.

This fixes errors like:

    | make[4]: *** No rule to make target 'scripts/module.lds', needed by
        'build/tmp/work/qemuarm64-poky-linux/cryptodev-module/1.11-r0/git/cryptodev.ko'.
        Stop.
    | make[4]: *** Waiting for unfinished jobs....

We also ensure that kernel-devsrc has a copy to support on
target module builds that are often prepared with 'make scripts
prepare'. Those targets won't regenerate it, so the build fails.
If 'make modules_prepare' is used, the file will be regenerated
and overwrite our copy (as expected).

Signed-off-by: Pan, Kris <kris.pan@intel.com>
Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fc66a0b64953aae38d0124b57615fffaec8de52)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/classes/kernel.bbclass                | 1 +
 meta/recipes-kernel/linux/kernel-devsrc.bb | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 78def5bbc1..22c92381c0 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -486,6 +486,7 @@ do_shared_workdir () {
 	# Copy files required for module builds
 	cp System.map $kerneldir/System.map-${KERNEL_VERSION}
 	[ -e Module.symvers ] && cp Module.symvers $kerneldir/
+	[ -e scripts/module.lds ] && install -Dm 0644 scripts/module.lds $kerneldir/scripts/module.lds
 	cp .config $kerneldir/
 	mkdir -p $kerneldir/include/config
 	cp include/config/kernel.release $kerneldir/include/config/kernel.release
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index aa8e162f4f..8373c97a31 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -86,6 +86,12 @@ do_install() {
 	# be dealt with.
 	# cp -a scripts $kerneldir/build
 
+	# although module.lds can be regenerated on target via 'make modules_prepare'
+	# there are several places where 'makes scripts prepare' is done, and that won't
+	# regenerate the file. So we copy it onto the target as a migration to using
+	# modules_prepare
+	cp -a --parents scripts/module.lds $kerneldir/build/ 2>/dev/null || :
+
         if [ -d arch/${ARCH}/scripts ]; then
 	    cp -a arch/${ARCH}/scripts $kerneldir/build/arch/${ARCH}
 	fi
-- 
2.28.0


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

* [gatesgarth][PATCH 18/19] gstreamer1.0: warn the user when something is wrong with GstBufferPool
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (16 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 17/19] kernel: provide module.lds for out of tree builds in v5.10+ Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 15:36 ` [gatesgarth][PATCH 19/19] diffstat: add nativesdk to BBCLASSEXTEND Anuj Mittal
  2020-11-17 16:25 ` [OE-core] [gatesgarth][PATCH 00/19] gatesgarth review request Martin Jansa
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Jose Quaresma <quaresma.jose@gmail.com>

This is not a critical bug fix but it can be usefull in some BSP
with exotic drivers like on nvidia tegra bsp.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 ...size-in-reset-when-maxsize-is-larger.patch | 49 +++++++++++++++++++
 .../gstreamer/gstreamer1.0_1.16.3.bb          |  1 +
 2 files changed, 50 insertions(+)
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch
new file mode 100644
index 0000000000..dacc399d28
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch
@@ -0,0 +1,49 @@
+From a1b41b2b2493069365a8274c6a544e6799a5a8df Mon Sep 17 00:00:00 2001
+From: Matthew Waters <matthew@centricular.com>
+Date: Mon, 20 Jul 2020 17:08:32 +1000
+Subject: [PATCH] gst/bufferpool: only resize in reset when maxsize is larger
+
+Only resize the buffer if the maxsize is larger then the configued pool
+size.
+
+Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/570>
+
+Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/a1b41b2b2493069365a8274c6a544e6799a5a8df]
+
+Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
+---
+ gst/gstbufferpool.c | 18 +++++++++++++++---
+ 1 file changed, 15 insertions(+), 3 deletions(-)
+
+diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c
+index 8ae868cf2c7..a8167d017d6 100644
+--- a/gst/gstbufferpool.c
++++ b/gst/gstbufferpool.c
+@@ -1223,9 +1223,21 @@ default_reset_buffer (GstBufferPool * pool, GstBuffer * buffer)
+ 
+   /* if the memory is intact reset the size to the full size */
+   if (!GST_BUFFER_FLAG_IS_SET (buffer, GST_BUFFER_FLAG_TAG_MEMORY)) {
+-    gsize offset;
+-    gst_buffer_get_sizes (buffer, &offset, NULL);
+-    gst_buffer_resize (buffer, -offset, pool->priv->size);
++    gsize offset, maxsize;
++    gst_buffer_get_sizes (buffer, &offset, &maxsize);
++    /* check if we can resize to at least the pool configured size.  If not,
++     * then this will fail internally in gst_buffer_resize().
++     * default_release_buffer() will drop the buffer from the pool if the
++     * sizes don't match */
++    if (maxsize >= pool->priv->size) {
++      gst_buffer_resize (buffer, -offset, pool->priv->size);
++    } else {
++      GST_WARNING_OBJECT (pool, "Buffer %p without the memory tag has "
++          "maxsize (%" G_GSIZE_FORMAT ") that is smaller than the "
++          "configured buffer pool size (%u). The buffer will be not be "
++          "reused. This is most likely a bug in this GstBufferPool subclass",
++          buffer, maxsize, pool->priv->size);
++    }
+   }
+ 
+   /* remove all metadata without the POOLED flag */
+-- 
+GitLab
+
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.3.bb
index 66ad3e3381..7afe56cd7b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.3.bb
@@ -21,6 +21,7 @@ SRC_URI = " \
     file://0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch \
     file://0003-meson-Add-valgrind-feature.patch \
     file://0004-meson-Add-option-for-installed-tests.patch \
+    file://0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch \
 "
 SRC_URI[md5sum] = "beecf6965a17fb17fa3b262fd36df70a"
 SRC_URI[sha256sum] = "692f037968e454e508b0f71d9674e2e26c78475021407fcf8193b1c7e59543c7"
-- 
2.28.0


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

* [gatesgarth][PATCH 19/19] diffstat: add nativesdk to BBCLASSEXTEND
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (17 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 18/19] gstreamer1.0: warn the user when something is wrong with GstBufferPool Anuj Mittal
@ 2020-11-17 15:36 ` Anuj Mittal
  2020-11-17 16:25 ` [OE-core] [gatesgarth][PATCH 00/19] gatesgarth review request Martin Jansa
  19 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 15:36 UTC (permalink / raw)
  To: openembedded-core

From: Nathan Rossi <nathan@nathanrossi.com>

The diffstat tool is part of HOSTTOOLS. To support hosts that do not
have it installed with buildtools-tarball it must be enabled for
nativesdk.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed002422bc46539f1d71ed19ee17358b6691bf0)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-devtools/diffstat/diffstat_1.63.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/diffstat/diffstat_1.63.bb b/meta/recipes-devtools/diffstat/diffstat_1.63.bb
index ee0a7e7bd6..61b2ea5dc2 100644
--- a/meta/recipes-devtools/diffstat/diffstat_1.63.bb
+++ b/meta/recipes-devtools/diffstat/diffstat_1.63.bb
@@ -27,3 +27,5 @@ LDFLAGS += "${TOOLCHAIN_OPTIONS}"
 do_install_ptest() {
 	cp -r ${S}/testing ${D}${PTEST_PATH}
 }
+
+BBCLASSEXTEND = "nativesdk"
-- 
2.28.0


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

* Re: [OE-core] [gatesgarth][PATCH 00/19] gatesgarth review request
  2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
                   ` (18 preceding siblings ...)
  2020-11-17 15:36 ` [gatesgarth][PATCH 19/19] diffstat: add nativesdk to BBCLASSEXTEND Anuj Mittal
@ 2020-11-17 16:25 ` Martin Jansa
  2020-11-17 23:19   ` Anuj Mittal
  19 siblings, 1 reply; 23+ messages in thread
From: Martin Jansa @ 2020-11-17 16:25 UTC (permalink / raw)
  To: Anuj Mittal; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 4612 bytes --]

Hi,

Do you still plan to upgrade bluez5 in gatesgarth to 5.55 like dunfell was
recently updated?

You mentioned it in:
https://lists.openembedded.org/g/openembedded-core/message/144467
but I don't see it in this PR.

On Tue, Nov 17, 2020 at 4:36 PM Anuj Mittal <anuj.mittal@intel.com> wrote:

> Next set of changes for gatesgarth. Please review.
>
> Passed a-full on autobuilder except for one failure. Ping test failed
> while executing do_testimage for sato image.
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1602
>
> I think this failure is not related to the changes here as the test passed
> in other configurations. Probably similar to:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=14029
>
> Thanks,
>
> Anuj
>
> The following changes since commit
> a1db1e71129c3e67ddd9dbef21e1c5eb31552e00:
>
>   grub: clean up CVE patches (2020-11-12 11:54:28 +0800)
>
> are available in the Git repository at:
>
>   git://push.openembedded.org/openembedded-core-contrib anujm/gatesgarth
>
> Alexander Kanavin (2):
>   clutter-gst-3.0: do not call out to host gstreamer plugin scanner
>   conf-notes.txt: mention more important images than just sato
>
> Bruce Ashfield (1):
>   kernel: provide module.lds for out of tree builds in v5.10+
>
> Denys Zagorui (1):
>   binutils: reproducibility: reuse debug-prefix-map for stabs
>
> Diego Santa Cruz (1):
>   freetype: fix CVE-2020-15999, backport from 2.10.4
>
> Gratian Crisan (1):
>   kernel-module-split.bbclass: identify kernel modconf files as
>     configuration files
>
> Jose Quaresma (1):
>   gstreamer1.0: warn the user when something is wrong with GstBufferPool
>
> Khem Raj (2):
>   lrzsz: Use Cross AR during compile
>   gawk: Avoid using host ar during cross compile
>
> Konrad Weihmann (3):
>   oeqa/core/context: expose results as variable
>   oeqa/core/context: initialize _run_end_time
>   testimage: print results for interrupted runs
>
> Mark Jonas (1):
>   libbsd: Remove BSD-4-Clause from main package
>
> Matt Madison (1):
>   layer.conf: fix syntax error in PATH setting
>
> Nathan Rossi (1):
>   diffstat: add nativesdk to BBCLASSEXTEND
>
> Richard Purdie (3):
>   ptest-runner: Fix license as it contains 'or later' clause
>   libdnf: Fix license as it contains 'or later' clause
>   alsa-utils: Fix license to GPLv2 only
>
> Steve Sakoman (1):
>   openssh: whitelist CVE-2014-9278
>
>  meta/classes/kernel-module-split.bbclass      |  1 +
>  meta/classes/kernel.bbclass                   |  1 +
>  meta/classes/testimage.bbclass                | 19 ++++---
>  meta/conf/conf-notes.txt                      |  2 +
>  meta/conf/layer.conf                          |  2 +-
>  meta/lib/oeqa/core/context.py                 |  4 ++
>  ...mpilation-using-autoconf-detected-AR.patch | 36 +++++++++++++
>  meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb       |  1 +
>  .../openssh/openssh_8.3p1.bb                  |  4 ++
>  .../binutils/binutils-2.35.inc                |  1 +
>  ...oducibility-for-stabs-debugging-data.patch | 35 +++++++++++++
>  .../diffstat/diffstat_1.63.bb                 |  2 +
>  meta/recipes-devtools/libdnf/libdnf_0.48.0.bb |  2 +-
>  .../0001-Use-cross-AR-during-compile.patch    | 35 +++++++++++++
>  meta/recipes-extended/gawk/gawk_5.1.0.bb      |  1 +
>  .../clutter/clutter-gst-3.0.inc               |  2 +
>  ...-sfnt-Fix-heap-buffer-overflow-59308.patch | 51 +++++++++++++++++++
>  .../freetype/freetype_2.10.2.bb               |  1 +
>  meta/recipes-kernel/linux/kernel-devsrc.bb    |  6 +++
>  meta/recipes-multimedia/alsa/alsa-utils.inc   |  3 +-
>  ...size-in-reset-when-maxsize-is-larger.patch | 49 ++++++++++++++++++
>  .../gstreamer/gstreamer1.0_1.16.3.bb          |  1 +
>  meta/recipes-support/libbsd/libbsd_0.10.0.bb  |  3 +-
>  .../ptest-runner/ptest-runner_2.4.0.bb        |  2 +-
>  24 files changed, 251 insertions(+), 13 deletions(-)
>  create mode 100644
> meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
>  create mode 100644
> meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch
>  create mode 100644
> meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch
>  create mode 100644
> meta/recipes-graphics/freetype/freetype/0001-sfnt-Fix-heap-buffer-overflow-59308.patch
>  create mode 100644
> meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-reset-when-maxsize-is-larger.patch
>
> --
> 2.28.0
>
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 6528 bytes --]

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

* Re: [OE-core] [gatesgarth][PATCH 17/19] kernel: provide module.lds for out of tree builds in v5.10+
  2020-11-17 15:36 ` [gatesgarth][PATCH 17/19] kernel: provide module.lds for out of tree builds in v5.10+ Anuj Mittal
@ 2020-11-17 17:05   ` Bruce Ashfield
  0 siblings, 0 replies; 23+ messages in thread
From: Bruce Ashfield @ 2020-11-17 17:05 UTC (permalink / raw)
  To: Anuj Mittal; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 3518 bytes --]

The wrong version of this patch merged to oe-core, so you don't want this
one as-is.

You also need the follow up that I posted today, and that hopefully will be
in oe-core soon.

Bruce

On Tue, Nov 17, 2020 at 10:36 AM Anuj Mittal <anuj.mittal@intel.com> wrote:

> From: Bruce Ashfield <bruce.ashfield@gmail.com>
>
> The upstream commit 596b0474d3d [kbuild: preprocess module linker
> script], adds a dependency on module.lds for external module
> building.
>
> Since module.lds is generated as part of 'modules_prepare', we
> must make it available with the other kernel artifacts in the
> kernel shared workdir, otherwise out of tree builds fail.
>
> This fixes errors like:
>
>     | make[4]: *** No rule to make target 'scripts/module.lds', needed by
>
> 'build/tmp/work/qemuarm64-poky-linux/cryptodev-module/1.11-r0/git/cryptodev.ko'.
>         Stop.
>     | make[4]: *** Waiting for unfinished jobs....
>
> We also ensure that kernel-devsrc has a copy to support on
> target module builds that are often prepared with 'make scripts
> prepare'. Those targets won't regenerate it, so the build fails.
> If 'make modules_prepare' is used, the file will be regenerated
> and overwrite our copy (as expected).
>
> Signed-off-by: Pan, Kris <kris.pan@intel.com>
> Signed-off-by: Lili Li <lili.li@intel.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> (cherry picked from commit 0fc66a0b64953aae38d0124b57615fffaec8de52)
> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
> ---
>  meta/classes/kernel.bbclass                | 1 +
>  meta/recipes-kernel/linux/kernel-devsrc.bb | 6 ++++++
>  2 files changed, 7 insertions(+)
>
> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> index 78def5bbc1..22c92381c0 100644
> --- a/meta/classes/kernel.bbclass
> +++ b/meta/classes/kernel.bbclass
> @@ -486,6 +486,7 @@ do_shared_workdir () {
>         # Copy files required for module builds
>         cp System.map $kerneldir/System.map-${KERNEL_VERSION}
>         [ -e Module.symvers ] && cp Module.symvers $kerneldir/
> +       [ -e scripts/module.lds ] && install -Dm 0644 scripts/module.lds
> $kerneldir/scripts/module.lds
>         cp .config $kerneldir/
>         mkdir -p $kerneldir/include/config
>         cp include/config/kernel.release
> $kerneldir/include/config/kernel.release
> diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb
> b/meta/recipes-kernel/linux/kernel-devsrc.bb
> index aa8e162f4f..8373c97a31 100644
> --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> @@ -86,6 +86,12 @@ do_install() {
>         # be dealt with.
>         # cp -a scripts $kerneldir/build
>
> +       # although module.lds can be regenerated on target via 'make
> modules_prepare'
> +       # there are several places where 'makes scripts prepare' is done,
> and that won't
> +       # regenerate the file. So we copy it onto the target as a
> migration to using
> +       # modules_prepare
> +       cp -a --parents scripts/module.lds $kerneldir/build/ 2>/dev/null
> || :
> +
>          if [ -d arch/${ARCH}/scripts ]; then
>             cp -a arch/${ARCH}/scripts $kerneldir/build/arch/${ARCH}
>         fi
> --
> 2.28.0
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #2: Type: text/html, Size: 5240 bytes --]

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

* Re: [OE-core] [gatesgarth][PATCH 00/19] gatesgarth review request
  2020-11-17 16:25 ` [OE-core] [gatesgarth][PATCH 00/19] gatesgarth review request Martin Jansa
@ 2020-11-17 23:19   ` Anuj Mittal
  0 siblings, 0 replies; 23+ messages in thread
From: Anuj Mittal @ 2020-11-17 23:19 UTC (permalink / raw)
  To: martin.jansa; +Cc: openembedded-core

Hi Martin,

On Tue, 2020-11-17 at 17:25 +0100, Martin Jansa wrote:
> Hi,
> Do you still plan to upgrade bluez5 in gatesgarth to 5.55 like
> dunfell was recently updated?
> 
> You mentioned it in:
> https://lists.openembedded.org/g/openembedded-core/message/144467
> but I don't see it in this PR.

Yes, I missed it this time and will include it in the next set.

Thanks,

Anuj

> 
> On Tue, Nov 17, 2020 at 4:36 PM Anuj Mittal <anuj.mittal@intel.com>
> wrote:
> > Next set of changes for gatesgarth. Please review.
> > 
> > Passed a-full on autobuilder except for one failure. Ping test
> > failed
> > while executing do_testimage for sato image. 
> > 
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1602
> > 
> > I think this failure is not related to the changes here as the test
> > passed
> > in other configurations. Probably similar to:
> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=14029
> > 
> > Thanks,
> > 
> > Anuj
> > 
> > The following changes since commit
> > a1db1e71129c3e67ddd9dbef21e1c5eb31552e00:
> > 
> >   grub: clean up CVE patches (2020-11-12 11:54:28 +0800)
> > 
> > are available in the Git repository at:
> > 
> >   git://push.openembedded.org/openembedded-core-contrib
> > anujm/gatesgarth
> > 
> > Alexander Kanavin (2):
> >   clutter-gst-3.0: do not call out to host gstreamer plugin scanner
> >   conf-notes.txt: mention more important images than just sato
> > 
> > Bruce Ashfield (1):
> >   kernel: provide module.lds for out of tree builds in v5.10+
> > 
> > Denys Zagorui (1):
> >   binutils: reproducibility: reuse debug-prefix-map for stabs
> > 
> > Diego Santa Cruz (1):
> >   freetype: fix CVE-2020-15999, backport from 2.10.4
> > 
> > Gratian Crisan (1):
> >   kernel-module-split.bbclass: identify kernel modconf files as
> >     configuration files
> > 
> > Jose Quaresma (1):
> >   gstreamer1.0: warn the user when something is wrong with
> > GstBufferPool
> > 
> > Khem Raj (2):
> >   lrzsz: Use Cross AR during compile
> >   gawk: Avoid using host ar during cross compile
> > 
> > Konrad Weihmann (3):
> >   oeqa/core/context: expose results as variable
> >   oeqa/core/context: initialize _run_end_time
> >   testimage: print results for interrupted runs
> > 
> > Mark Jonas (1):
> >   libbsd: Remove BSD-4-Clause from main package
> > 
> > Matt Madison (1):
> >   layer.conf: fix syntax error in PATH setting
> > 
> > Nathan Rossi (1):
> >   diffstat: add nativesdk to BBCLASSEXTEND
> > 
> > Richard Purdie (3):
> >   ptest-runner: Fix license as it contains 'or later' clause
> >   libdnf: Fix license as it contains 'or later' clause
> >   alsa-utils: Fix license to GPLv2 only
> > 
> > Steve Sakoman (1):
> >   openssh: whitelist CVE-2014-9278
> > 
> >  meta/classes/kernel-module-split.bbclass      |  1 +
> >  meta/classes/kernel.bbclass                   |  1 +
> >  meta/classes/testimage.bbclass                | 19 ++++---
> >  meta/conf/conf-notes.txt                      |  2 +
> >  meta/conf/layer.conf                          |  2 +-
> >  meta/lib/oeqa/core/context.py                 |  4 ++
> >  ...mpilation-using-autoconf-detected-AR.patch | 36 +++++++++++++
> >  meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb       |  1 +
> >  .../openssh/openssh_8.3p1.bb                  |  4 ++
> >  .../binutils/binutils-2.35.inc                |  1 +
> >  ...oducibility-for-stabs-debugging-data.patch | 35 +++++++++++++
> >  .../diffstat/diffstat_1.63.bb                 |  2 +
> >  meta/recipes-devtools/libdnf/libdnf_0.48.0.bb |  2 +-
> >  .../0001-Use-cross-AR-during-compile.patch    | 35 +++++++++++++
> >  meta/recipes-extended/gawk/gawk_5.1.0.bb      |  1 +
> >  .../clutter/clutter-gst-3.0.inc               |  2 +
> >  ...-sfnt-Fix-heap-buffer-overflow-59308.patch | 51
> > +++++++++++++++++++
> >  .../freetype/freetype_2.10.2.bb               |  1 +
> >  meta/recipes-kernel/linux/kernel-devsrc.bb    |  6 +++
> >  meta/recipes-multimedia/alsa/alsa-utils.inc   |  3 +-
> >  ...size-in-reset-when-maxsize-is-larger.patch | 49
> > ++++++++++++++++++
> >  .../gstreamer/gstreamer1.0_1.16.3.bb          |  1 +
> >  meta/recipes-support/libbsd/libbsd_0.10.0.bb  |  3 +-
> >  .../ptest-runner/ptest-runner_2.4.0.bb        |  2 +-
> >  24 files changed, 251 insertions(+), 13 deletions(-)
> >  create mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-
> > cross-compilation-using-autoconf-detected-AR.patch
> >  create mode 100644 meta/recipes-devtools/binutils/binutils/0017-
> > gas-improve-reproducibility-for-stabs-debugging-data.patch
> >  create mode 100644 meta/recipes-extended/gawk/gawk/0001-Use-cross-
> > AR-during-compile.patch
> >  create mode 100644 meta/recipes-graphics/freetype/freetype/0001-
> > sfnt-Fix-heap-buffer-overflow-59308.patch
> >  create mode 100644 meta/recipes-
> > multimedia/gstreamer/gstreamer1.0/0005-bufferpool-only-resize-in-
> > reset-when-maxsize-is-larger.patch
> > 


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

end of thread, other threads:[~2020-11-17 23:20 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 15:35 [gatesgarth][PATCH 00/19] gatesgarth review request Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 01/19] freetype: fix CVE-2020-15999, backport from 2.10.4 Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 02/19] ptest-runner: Fix license as it contains 'or later' clause Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 03/19] libdnf: " Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 04/19] alsa-utils: Fix license to GPLv2 only Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 05/19] kernel-module-split.bbclass: identify kernel modconf files as configuration files Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 06/19] clutter-gst-3.0: do not call out to host gstreamer plugin scanner Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 07/19] conf-notes.txt: mention more important images than just sato Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 08/19] openssh: whitelist CVE-2014-9278 Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 09/19] oeqa/core/context: expose results as variable Anuj Mittal
2020-11-17 15:35 ` [gatesgarth][PATCH 10/19] oeqa/core/context: initialize _run_end_time Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 11/19] testimage: print results for interrupted runs Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 12/19] binutils: reproducibility: reuse debug-prefix-map for stabs Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 13/19] lrzsz: Use Cross AR during compile Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 14/19] gawk: Avoid using host ar during cross compile Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 15/19] layer.conf: fix syntax error in PATH setting Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 16/19] libbsd: Remove BSD-4-Clause from main package Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 17/19] kernel: provide module.lds for out of tree builds in v5.10+ Anuj Mittal
2020-11-17 17:05   ` [OE-core] " Bruce Ashfield
2020-11-17 15:36 ` [gatesgarth][PATCH 18/19] gstreamer1.0: warn the user when something is wrong with GstBufferPool Anuj Mittal
2020-11-17 15:36 ` [gatesgarth][PATCH 19/19] diffstat: add nativesdk to BBCLASSEXTEND Anuj Mittal
2020-11-17 16:25 ` [OE-core] [gatesgarth][PATCH 00/19] gatesgarth review request Martin Jansa
2020-11-17 23:19   ` Anuj Mittal

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.