]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agogrub: Further reproducibility fix
Richard Purdie [Thu, 31 Dec 2020 17:12:27 +0000 (17:12 +0000)]
grub: Further reproducibility fix

Fix the ordering in the generated unidata.c file to aid reproducibility.

[YOCTO #14167]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopatch: fix CVE-2019-20633
Scott Murray [Wed, 30 Dec 2020 22:44:18 +0000 (17:44 -0500)]
patch: fix CVE-2019-20633

* CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2019-20633

* upstream tracking: https://savannah.gnu.org/bugs/index.php?56683

* Fixes potential for double free after incomplete fix for CVE-2018-6952
  - src/pch.c (another_hunk): Avoid invalid memory access in context format
    diffs.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: fix "CVE:" line in one of the patches
Scott Murray [Wed, 30 Dec 2020 22:44:17 +0000 (17:44 -0500)]
grub: fix "CVE:" line in one of the patches

The "CVE:" line in the patch for CVEs 2020-14309, CVE-2020-14310, and
CVE-2020-14311 had commas between the CVE numbers, which resulted in
CVE-2020-14310 not being picked up as patched by cve-check.bbclass's
parsing.  Remove the commas to match cve-check.bbclass's expectations.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogdk-pixbuf: fix CVE-2020-29385
Lee Chee Yang [Wed, 30 Dec 2020 09:01:40 +0000 (17:01 +0800)]
gdk-pixbuf: fix CVE-2020-29385

Backport patch from
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bdd3acbd48a575d418ba6bf1b32d7bda2fae1c81

image file in upstream patch is for test purpose only, it cause error during
do_patch so drop it:
File tests/test-images/fail/hang_114.gif: git binary diffs are not supported.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcpcd: upgrade 9.3.4 -> 9.4.0
Yi Zhao [Wed, 30 Dec 2020 08:07:32 +0000 (16:07 +0800)]
dhcpcd: upgrade 9.3.4 -> 9.4.0

Drop backported patches:
  0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch
  0001-privsep-Fix-Linux-i386-for-SECCOMP-as-it-just-uses-s.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/suspend : add test for suspend state
Teoh Jay Shen [Wed, 30 Dec 2020 03:36:59 +0000 (11:36 +0800)]
oeqa/suspend : add test for suspend state

This test case is checking the command and LAN device behaviour before and after suspend state. The Test_if_LAN_device_works_well_after_resume_from_suspend_state and standby manual test cases from oeqa/manual/bsp-hw can be replace by this runtime test.

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibexif: fix CVE-2020-0198; CVE-2020-0452
Changqing Li [Wed, 30 Dec 2020 02:39:53 +0000 (10:39 +0800)]
libexif: fix CVE-2020-0198; CVE-2020-0452

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoell: upgrade 0.33 -> 0.35
Alexander Kanavin [Sat, 26 Dec 2020 09:27:19 +0000 (10:27 +0100)]
ell: upgrade 0.33 -> 0.35

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: Build fixes for 32bit arches with 64bit time_t
Khem Raj [Tue, 29 Dec 2020 07:03:34 +0000 (23:03 -0800)]
util-linux: Build fixes for 32bit arches with 64bit time_t

some 32bit architectures ( e.g. riscv32 and arc ) are using 64bit time_t
from get go, therefore may not have time32 syscalls, these backports
help restore the successful builds for util-linux on such machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: upgrade 2.36 -> 2.36.1
Alexander Kanavin [Sat, 26 Dec 2020 09:27:13 +0000 (10:27 +0100)]
util-linux: upgrade 2.36 -> 2.36.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox.inc: install rcS, rcK and rcS.default only with busybox in VIRTUAL-RUNTIME_in...
Martin Jansa [Sun, 27 Dec 2020 13:53:01 +0000 (14:53 +0100)]
busybox.inc: install rcS, rcK and rcS.default only with busybox in VIRTUAL-RUNTIME_init_manager

* since
  https://git.openembedded.org/openembedded-core/commit/?id=991394be9e695f9ddb5e2fca167c06f7a56a7449
  the rcS.default is in SRC_URI only when VIRTUAL-RUNTIME_init_manager is 'busybox'
  but this section in do_install was controlled by
  CONFIG_INIT=y in /.config which for busybox-initrd from meta-virtualization
  caused:

  ERROR: busybox-initrd-1.32.0-r0 do_install: Execution of '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/temp/run.do_install.1481880' failed with exit code 1:
  CONFIG_FEATURE_MDEV_CONF=y
  install: cannot stat '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/rcS.default': No such file or directory
  WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogawk: add missing ptest dependency
Alexander Kanavin [Mon, 28 Dec 2020 20:04:36 +0000 (21:04 +0100)]
gawk: add missing ptest dependency

Somewhere between the recipe updates, the needed locale
is no longer installed to the ptest image implicitly.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoccache.bbclass: use ccache from host distribution
Alexander Kanavin [Mon, 28 Dec 2020 20:04:34 +0000 (21:04 +0100)]
ccache.bbclass: use ccache from host distribution

ccache 4.x has hard dependencies on cmake-native (used as
build system) and zstd, which means inserting ccache-native
as DEPENDS into everything creates circular dependencies which
are impossible to break.

ccache 3.x did not have this problem as it used plain makefiles
and an in-tree copy of zlib.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoccache: upgrade 3.7.11 -> 4.1
Alexander Kanavin [Mon, 28 Dec 2020 20:04:33 +0000 (21:04 +0100)]
ccache: upgrade 3.7.11 -> 4.1

Convert recipe from autotools to cmake.

zstd is a new hard dependency.

License-Update: formatting

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake: update 3.18.4 -> 3.19.2
Alexander Kanavin [Mon, 28 Dec 2020 20:04:32 +0000 (21:04 +0100)]
cmake: update 3.18.4 -> 3.19.2

License-Update: only the first two lines contain licensing info

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognu-config: update to latest revision
Alexander Kanavin [Mon, 28 Dec 2020 20:04:31 +0000 (21:04 +0100)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomtools: update 4.0.25 -> 4.0.26
Alexander Kanavin [Mon, 28 Dec 2020 20:04:30 +0000 (21:04 +0100)]
mtools: update 4.0.25 -> 4.0.26

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pytest: update 6.1.2 -> 6.2.1
Alexander Kanavin [Mon, 28 Dec 2020 20:04:29 +0000 (21:04 +0100)]
python3-pytest: update 6.1.2 -> 6.2.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostrace: update 5.9 -> 5.10
Alexander Kanavin [Mon, 28 Dec 2020 20:04:28 +0000 (21:04 +0100)]
strace: update 5.9 -> 5.10

Drop 0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch
as upstream has removed IPPROTO_MAX altogether.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibpam: update 1.3.1 -> 1.5.1
Alexander Kanavin [Mon, 28 Dec 2020 20:04:25 +0000 (21:04 +0100)]
libpam: update 1.3.1 -> 1.5.1

Remove crypt_configure.patch, issue fixed upstream.

Remove pam-security-abstract-securetty-handling.patch and
pam-unix-nullok-secure.patch, patches coming from debian,
difficult to rebase, and their purpose is unclear.

Disable doc generation, as libpam messes up native and target
compiler options.

Adjust dependencies and packaging.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-samples: update to latest revision
Alexander Kanavin [Mon, 28 Dec 2020 20:04:24 +0000 (21:04 +0100)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokexec-tools: update 2.0.20 -> 2.0.21
Alexander Kanavin [Mon, 28 Dec 2020 20:04:23 +0000 (21:04 +0100)]
kexec-tools: update 2.0.20 -> 2.0.21

Drop patches that are either backports, or are obsolete
by upstream fixing the issues.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoboost: update 1.74.0 -> 1.75.0
Alexander Kanavin [Mon, 28 Dec 2020 20:04:22 +0000 (21:04 +0100)]
boost: update 1.74.0 -> 1.75.0

Remove 0001-Apply-boost-1.62.0-no-forced-flags.patch.patch:
upstream has refactored the code, purpose of the patch is unclear.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognupg: update 2.2.23 -> 2.2.26
Alexander Kanavin [Mon, 28 Dec 2020 20:04:21 +0000 (21:04 +0100)]
gnupg: update 2.2.23 -> 2.2.26

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: update 3.6.15 -> 3.7.0
Alexander Kanavin [Mon, 28 Dec 2020 20:04:20 +0000 (21:04 +0100)]
gnutls: update 3.6.15 -> 3.7.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoicu: update 68.1 -> 68.2
Alexander Kanavin [Mon, 28 Dec 2020 20:04:19 +0000 (21:04 +0100)]
icu: update 68.1 -> 68.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibjitterentropy: update 2.2.0 -> 3.0.0
Alexander Kanavin [Mon, 28 Dec 2020 20:04:18 +0000 (21:04 +0100)]
libjitterentropy: update 2.2.0 -> 3.0.0

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibksba: update 1.4.0 -> 1.5.0
Alexander Kanavin [Mon, 28 Dec 2020 20:04:17 +0000 (21:04 +0100)]
libksba: update 1.4.0 -> 1.5.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: upgrade 202008 -> 202011
Alexander Kanavin [Mon, 28 Dec 2020 20:04:16 +0000 (21:04 +0100)]
ovmf: upgrade 202008 -> 202011

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevtool: gitsm:// should be handled same as git:// in upgrades
Alexander Kanavin [Mon, 28 Dec 2020 20:04:15 +0000 (21:04 +0100)]
devtool: gitsm:// should be handled same as git:// in upgrades

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Add useradd-staticids to reproducible builds tests
Richard Purdie [Sun, 27 Dec 2020 11:56:00 +0000 (11:56 +0000)]
selftest/reproducible: Add useradd-staticids to reproducible builds tests

Its surprising we've made it this far without this, add in some specific
uid/gid settings to ensure these don't cause false positives to the tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa-selftest/staticids: Add ids for other recipes
Richard Purdie [Sun, 27 Dec 2020 11:54:15 +0000 (11:54 +0000)]
meta-selftest/staticids: Add ids for other recipes

Add dhcpc's uid/gid to the static configs used by meta-selftest for
testing since dhcpc was added to OE-Core.

Also realised many other ids were missing for other OE-Core recipes
so also add those.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotimezone: upgrade to 2020e
Ovidiu Panait [Mon, 28 Dec 2020 07:57:45 +0000 (09:57 +0200)]
timezone: upgrade to 2020e

Briefly:
  Volgograd switches to Moscow time on 2020-12-27 at 02:00.

Changes to future timestamps

  Volgograd changes time zone from +04 to +03 on 2020-12-27 at 02:00.
  (Thanks to Alexander Krivenyshev and Stepan Golosunov.)

Changes to past timestamps

  Correct many pre-1986 transitions, fixing entries originally
  derived from Shanks.  The fixes include:
    - Australia: several 1917 through 1971 transitions
    - Bahamas: several 1941 through 1945 transitions
    - Bermuda: several 1917 through 1956 transitions
    - Belize: several 1942 through 1968 transitions
    - Ghana: several 1915 through 1956 transitions
    - Israel and Palestine: several 1940 through 1985 transitions
    - Kenya and adjacent: several 1908 through 1960 transitions
    - Nigeria and adjacent: correcting LMT in Lagos, and several 1905
      through 1919 transitions
    - Seychelles: the introduction of standard time in 1907, not 1906
    - Vanuatu: DST in 1973-1974, and a corrected 1984 transition
  (Thanks to P Chan.)

  Because of the Australia change, Australia/Currie (King Island) is
  no longer needed, as it is identical to Australia/Hobart for all
  timestamps since 1970 and was therefore created by mistake.
  Australia/Currie has been moved to the 'backward' file and its
  corrected data moved to the 'backzone' file.

Changes to past time zone abbreviations and DST flags

  To better match legislation in Turks and Caicos, the 2015 shift to
  year-round observance of -04 is now modeled as AST throughout before
  returning to Eastern Time with US DST in 2018, rather than as
  maintaining EDT until 2015-11-01.  (Thanks to P Chan.)

Changes to documentation

  The zic man page now documents zic's coalescing of transitions
  when a zone falls back just before DST springs forward.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-devsrc: fix 32bit ARM devsrc builds
Bruce Ashfield [Sat, 26 Dec 2020 21:50:02 +0000 (16:50 -0500)]
kernel-devsrc: fix 32bit ARM devsrc builds

As a follow up to commit: 0fc66a0b64953 [kernel: provide module.lds
for out of tree builds in v5.10+], we must not only copy module.lds
from its new location, we have to not error when it isn't found in
the old location.

With this tweak, we have coverage on all supported arches for the
new location of module.lds, and backwards compatibility through
kernel versions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest-chown: add test for fifos
Trevor Woerner [Sun, 27 Dec 2020 05:24:01 +0000 (00:24 -0500)]
selftest-chown: add test for fifos

Verify that fifos are properly handled by the build system.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocontrib/git-hooks: add a sendemail-validate example hook that adds FROM: lines to...
Chris Laplante [Fri, 25 Dec 2020 18:16:49 +0000 (13:16 -0500)]
contrib/git-hooks: add a sendemail-validate example hook that adds FROM: lines to outgoing patch emails

This is useful for people using Microsoft Exchange / Office 360, which
butchers patches causing author identity to be lost.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomsmtp: upgrade 1.8.13 -> 1.8.14
zangrc [Fri, 25 Dec 2020 01:30:47 +0000 (09:30 +0800)]
msmtp: upgrade 1.8.13 -> 1.8.14

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agozstd: update 1.4.5 -> 1.4.8
Alexander Kanavin [Sat, 26 Dec 2020 09:27:32 +0000 (10:27 +0100)]
zstd: update 1.4.5 -> 1.4.8

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agozstd: add recipe from meta-oe
Alexander Kanavin [Sat, 26 Dec 2020 09:27:31 +0000 (10:27 +0100)]
zstd: add recipe from meta-oe

Zstd is becoming increasingly popular as the modern compression
standard, and there are several recipes in core now that have an option
for it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-bootchart: update 233 -> 234
Alexander Kanavin [Sat, 26 Dec 2020 09:27:30 +0000 (10:27 +0100)]
systemd-bootchart: update 233 -> 234

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-tools: upgrade 1.2.154.0 -> 1.2.162.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:29 +0000 (10:27 +0100)]
vulkan-tools: upgrade 1.2.154.0 -> 1.2.162.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-loader: upgrade 1.2.154.1 -> 1.2.162.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:28 +0000 (10:27 +0100)]
vulkan-loader: upgrade 1.2.154.1 -> 1.2.162.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: update 3.9.0 -> 3.9.1
Alexander Kanavin [Sat, 26 Dec 2020 09:27:27 +0000 (10:27 +0100)]
python3: update 3.9.0 -> 3.9.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-importlib-metadata: update 3.1.1 -> 3.3.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:26 +0000 (10:27 +0100)]
python3-importlib-metadata: update 3.1.1 -> 3.3.0

Correct SRC_URI and upstream regex to enable automatic version upgrades.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva-utils: update 2.9.1 -> 2.10.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:25 +0000 (10:27 +0100)]
libva-utils: update 2.9.1 -> 2.10.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdnf: update 0.55.0 -> 0.55.2
Alexander Kanavin [Sat, 26 Dec 2020 09:27:24 +0000 (10:27 +0100)]
libdnf: update 0.55.0 -> 0.55.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosbc: update 1.4 -> 1.5
Alexander Kanavin [Sat, 26 Dec 2020 09:27:23 +0000 (10:27 +0100)]
sbc: update 1.4 -> 1.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopiglit: update to latest revision
Alexander Kanavin [Sat, 26 Dec 2020 09:27:22 +0000 (10:27 +0100)]
piglit: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: update 4.16.0 -> 4.16.1.2
Alexander Kanavin [Sat, 26 Dec 2020 09:27:21 +0000 (10:27 +0100)]
rpm: update 4.16.0 -> 4.16.1.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: update 2.66.2 -> 2.66.4
Alexander Kanavin [Sat, 26 Dec 2020 09:27:20 +0000 (10:27 +0100)]
glib-2.0: update 2.66.2 -> 2.66.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxserver-xorg: upgrade 1.20.9 -> 1.20.10
Alexander Kanavin [Sat, 26 Dec 2020 09:27:18 +0000 (10:27 +0100)]
xserver-xorg: upgrade 1.20.9 -> 1.20.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxprop: upgrade 1.2.4 -> 1.2.5
Alexander Kanavin [Sat, 26 Dec 2020 09:27:17 +0000 (10:27 +0100)]
xprop: upgrade 1.2.4 -> 1.2.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: upgrade 2.30.2 -> 2.30.4
Alexander Kanavin [Sat, 26 Dec 2020 09:27:16 +0000 (10:27 +0100)]
webkitgtk: upgrade 2.30.2 -> 2.30.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-headers: upgrade 1.2.154.0 -> 1.2.162.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:15 +0000 (10:27 +0100)]
vulkan-headers: upgrade 1.2.154.0 -> 1.2.162.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovala: upgrade 0.50.1 -> 0.50.2
Alexander Kanavin [Sat, 26 Dec 2020 09:27:14 +0000 (10:27 +0100)]
vala: upgrade 0.50.1 -> 0.50.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit: upgrade 2.97 -> 2.98
Alexander Kanavin [Sat, 26 Dec 2020 09:27:12 +0000 (10:27 +0100)]
sysvinit: upgrade 2.97 -> 2.98

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.3p1 -> 1.9.4p1
Alexander Kanavin [Sat, 26 Dec 2020 09:27:11 +0000 (10:27 +0100)]
sudo: upgrade 1.9.3p1 -> 1.9.4p1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.11.24 -> 0.12.00
Alexander Kanavin [Sat, 26 Dec 2020 09:27:10 +0000 (10:27 +0100)]
stress-ng: upgrade 0.11.24 -> 0.12.00

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.33.0 -> 3.34.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:09 +0000 (10:27 +0100)]
sqlite3: upgrade 3.33.0 -> 3.34.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools-scm: upgrade 4.1.2 -> 5.0.1
Alexander Kanavin [Sat, 26 Dec 2020 09:27:08 +0000 (10:27 +0100)]
python3-setuptools-scm: upgrade 4.1.2 -> 5.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-py: upgrade 1.9.0 -> 1.10.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:07 +0000 (10:27 +0100)]
python3-py: upgrade 1.9.0 -> 1.10.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-hypothesis: upgrade 5.41.5 -> 5.43.3
Alexander Kanavin [Sat, 26 Dec 2020 09:27:06 +0000 (10:27 +0100)]
python3-hypothesis: upgrade 5.41.5 -> 5.43.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopuzzles: upgrade to latest revision
Alexander Kanavin [Sat, 26 Dec 2020 09:27:05 +0000 (10:27 +0100)]
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoninja: upgrade 1.10.1 -> 1.10.2
Alexander Kanavin [Sat, 26 Dec 2020 09:27:04 +0000 (10:27 +0100)]
ninja: upgrade 1.10.1 -> 1.10.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolighttpd: upgrade 1.4.56 -> 1.4.57
Alexander Kanavin [Sat, 26 Dec 2020 09:27:03 +0000 (10:27 +0100)]
lighttpd: upgrade 1.4.56 -> 1.4.57

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibx11: upgrade 1.6.12 -> 1.7.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:02 +0000 (10:27 +0100)]
libx11: upgrade 1.6.12 -> 1.7.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva: upgrade 2.9.0 -> 2.10.0
Alexander Kanavin [Sat, 26 Dec 2020 09:27:01 +0000 (10:27 +0100)]
libva: upgrade 2.9.0 -> 2.10.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibusb1: upgrade 1.0.23 -> 1.0.24
Alexander Kanavin [Sat, 26 Dec 2020 09:27:00 +0000 (10:27 +0100)]
libusb1: upgrade 1.0.23 -> 1.0.24

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibtirpc: upgrade 1.2.6 -> 1.3.1
Alexander Kanavin [Sat, 26 Dec 2020 09:26:59 +0000 (10:26 +0100)]
libtirpc: upgrade 1.2.6 -> 1.3.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibpcre2: upgrade 10.35 -> 10.36
Alexander Kanavin [Sat, 26 Dec 2020 09:26:58 +0000 (10:26 +0100)]
libpcre2: upgrade 10.35 -> 10.36

License-Update: email address changed
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibmodulemd: upgrade 2.9.4 -> 2.11.1
Alexander Kanavin [Sat, 26 Dec 2020 09:26:57 +0000 (10:26 +0100)]
libmodulemd: upgrade 2.9.4 -> 2.11.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: upgrade 1.8.1 -> 1.8.2
Alexander Kanavin [Sat, 26 Dec 2020 09:26:56 +0000 (10:26 +0100)]
kea: upgrade 1.8.1 -> 1.8.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokbd: upgrade 2.3.0 -> 2.4.0
Alexander Kanavin [Sat, 26 Dec 2020 09:26:55 +0000 (10:26 +0100)]
kbd: upgrade 2.3.0 -> 2.4.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinit-system-helpers: upgrade 1.58 -> 1.60
Alexander Kanavin [Sat, 26 Dec 2020 09:26:54 +0000 (10:26 +0100)]
init-system-helpers: upgrade 1.58 -> 1.60

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk+3: upgrade 3.24.23 -> 3.24.24
Alexander Kanavin [Sat, 26 Dec 2020 09:26:53 +0000 (10:26 +0100)]
gtk+3: upgrade 3.24.23 -> 3.24.24

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoethtool: upgrade 5.9 -> 5.10
Alexander Kanavin [Sat, 26 Dec 2020 09:26:52 +0000 (10:26 +0100)]
ethtool: upgrade 5.9 -> 5.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: upgrade 3.38.1 -> 3.38.2
Alexander Kanavin [Sat, 26 Dec 2020 09:26:51 +0000 (10:26 +0100)]
epiphany: upgrade 3.38.1 -> 3.38.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoenchant2: upgrade 2.2.13 -> 2.2.14
Alexander Kanavin [Sat, 26 Dec 2020 09:26:50 +0000 (10:26 +0100)]
enchant2: upgrade 2.2.13 -> 2.2.14

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodnf: upgrade 4.4.0 -> 4.5.2
Alexander Kanavin [Sat, 26 Dec 2020 09:26:49 +0000 (10:26 +0100)]
dnf: upgrade 4.4.0 -> 4.5.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: upgrade 161 -> 163
Alexander Kanavin [Sat, 26 Dec 2020 09:26:48 +0000 (10:26 +0100)]
diffoscope: upgrade 161 -> 163

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: upgrade 9.16.9 -> 9.16.10
Alexander Kanavin [Sat, 26 Dec 2020 09:26:47 +0000 (10:26 +0100)]
bind: upgrade 9.16.9 -> 9.16.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoacpica: upgrade 20201113 -> 20201217
Alexander Kanavin [Sat, 26 Dec 2020 09:26:46 +0000 (10:26 +0100)]
acpica: upgrade 20201113 -> 20201217

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane.bbclass: allow fifos
Trevor Woerner [Thu, 24 Dec 2020 07:43:52 +0000 (02:43 -0500)]
insane.bbclass: allow fifos

Allow recipes to create fifos. If insane.bbclass tries to read() a fifo,
the process will hang waiting for something to read(). Therefore, skip any
check that would try to read() the object, if the object is a fifo.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest/cases/devtool.py: fix typo in ignore_patterns call
Steve Sakoman [Wed, 23 Dec 2020 14:11:49 +0000 (04:11 -1000)]
oeqa/selftest/cases/devtool.py: fix typo in ignore_patterns call

Causes intermittent autobuilder errors:

2020-12-21 19:34:23,035 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 68, in setUpModule
    bb.utils.edit_bblayers_conf(bblayers_conf, None, None, bblayers_edit_cb)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1460, in edit_bblayers_conf
    (updated, newlines) = edit_metadata(newlines, ['BBLAYERS'], handle_bblayers)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1290, in edit_metadata
    if handle_var_end():
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1215, in handle_var_end
    (newvalue, newop, indent, minbreak) = varfunc(in_var, full_value, op, newlines)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1425, in handle_bblayers
    res = edit_cb(layer, canonicalise_path(layer))
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 60, in bblayers_edit_cb
    shutil.copytree(pth, destdir, ignore=ignore_patterns('*.pyc', '__pycache__'))
NameError: name 'ignore_patterns' is not defined

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap-ng: upgrade 0.8.1 -> 0.8.2
Yi Zhao [Wed, 23 Dec 2020 02:23:26 +0000 (10:23 +0800)]
libcap-ng: upgrade 0.8.1 -> 0.8.2

SRC_URI update: http -> https

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap: update 2.45 -> 2.46
Yi Zhao [Wed, 23 Dec 2020 02:23:25 +0000 (10:23 +0800)]
libcap: update 2.45 -> 2.46

Rebase 0001-tests-do-not-statically-link-a-test.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopulate_sdk_base: Fix condition syntax if SDK_RELOCATE_AFTER_INSTALL is disabled
Tomasz Dziendzielski [Tue, 22 Dec 2020 13:21:54 +0000 (14:21 +0100)]
populate_sdk_base: Fix condition syntax if SDK_RELOCATE_AFTER_INSTALL is disabled

If variable is set to empty string the comparison is "if [ -eq 1 ]"
which fails with "[: -eq: unary operator expected".

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolicense.bbclass: Add COMMON_LICENSE_DIR and LICENSE_PATH dirs to PSEUDO_IGNORE_PATHS
Martin Jansa [Tue, 22 Dec 2020 18:08:09 +0000 (19:08 +0100)]
license.bbclass: Add COMMON_LICENSE_DIR and LICENSE_PATH dirs to PSEUDO_IGNORE_PATHS

* now without ${COREBASE}/meta in PSEUDO_IGNORE_PATHS after:
  73d538f207 bitbake.conf: Prevent pyc file generation in pseudo context
  the do_package tasks are failing when LICENSE_CREATE_PACKAGE is enabled
  pseudo.log shows that it's because of license texts copied from
  ${COREBASE}/meta:
  path mismatch [46 links]: ino 96733640 db '/OE/build/tmp-glibc/work/all-oe-linux/foo/1.0/image/usr/share/licenses/foo/generic_Apache-2.0' req '/OE/build/openembedded-core/meta/files/common-licenses/Apache-2.0'.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolocal.conf: add aarch64 to the SDKMACHINE example values
Ross Burton [Tue, 22 Dec 2020 17:23:15 +0000 (17:23 +0000)]
local.conf: add aarch64 to the SDKMACHINE example values

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: default SDKMACHINE to the build host architecture
Ross Burton [Tue, 22 Dec 2020 17:23:14 +0000 (17:23 +0000)]
bitbake.conf: default SDKMACHINE to the build host architecture

Currently there's a limitation that Extensible SDKs can only be build on a
machine with the same architecture as the SDK.

However, SDKMACHINE defaults to x86-64, which means eSDKs cannot be built
out of the box on arm64 systems.

By defaulting SDKMACHINE to ${BUILD_ARCH} we generate SDKs for the build
host, so they'll always work out of the box.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinetutils: add dnsdomainname to ALTERNATIVE
Yi Zhao [Tue, 22 Dec 2020 08:29:34 +0000 (16:29 +0800)]
inetutils: add dnsdomainname to ALTERNATIVE

The dnsdomainname can also be provided by busybox and net-tools. Also
move it from ${bindir} to ${base_bindir} because the command provided by
busybox or net-tools is located here.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcpcd: fix SECCOMP for i386
Yi Zhao [Tue, 22 Dec 2020 08:29:33 +0000 (16:29 +0800)]
dhcpcd: fix SECCOMP for i386

The dhcpcd doesn't work on Intel 32bit platform. Backport a patch to fix
the issue.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: add a patch to increase a test timeout
Alexander Kanavin [Tue, 22 Dec 2020 09:37:57 +0000 (10:37 +0100)]
glib-2.0: add a patch to increase a test timeout

There have been intermittent ptest failures in this test;
I couldn't reproduce the failures in isolation, and
this is the only reason I can think of from reading code.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel: set COMPATIBLE_HOST to *-linux
Ross Burton [Fri, 11 Dec 2020 16:09:22 +0000 (16:09 +0000)]
kernel: set COMPATIBLE_HOST to *-linux

The target system triple contains whether the target is Linux or not,
so use it to avoid situations where you can attempt to build a kernel
for systems which don't support Linux.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocurl: Update 7.73.0 -> 7.74.0
Khairul Rohaizzat Jamaluddin [Fri, 18 Dec 2020 03:59:49 +0000 (11:59 +0800)]
curl: Update 7.73.0 -> 7.74.0

update to version 7.74.0

curl 7.74.0 hsts: add experimental support for Strict-Transport-Security with various bug fixes

Reference:
https://curl.se/changes.html#7_74_0

update includes fix for CVE:
CVE-2020-8284
CVE-2020-8285
CVE-2020-8286

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.2.4 -> 20.3.1
Trevor Woerner [Fri, 18 Dec 2020 04:52:45 +0000 (23:52 -0500)]
mesa: update 20.2.4 -> 20.3.1

Two of the patches have been applied upstream:
0001-meson-Add-xcb-fixes-to-loader-when-using-x11-and-dri.patch
0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch

The 'surfaceless' platform is now enabled by default, therefore it is no
longer a valid choice. The meson build system is intelligent enough now to
decide if 'drm' needs to be enabled based on whether or not gbm is available.
Therefore 'drm' also is no longer a valid platform choice:

ERROR: Options "drm, surfaceless" are not in allowed choices: "auto, x11, wayland, haiku, android, windows"

RP: Add missing mesa-gl upgrade
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4/cfg: fix FIRMWARE_LOADER warnings
Bruce Ashfield [Wed, 23 Dec 2020 15:43:06 +0000 (10:43 -0500)]
linux-yocto/5.4/cfg: fix FIRMWARE_LOADER warnings

Integrating the following commit(s):

    a1b2d188bdf config: set firmware loader to 'y'

The updated kern-tools are showing us warnings that were previously
hidden. To silence the fw_loader warning, we need to set the value
to 'y' (since it is 'y' selected by other options and we can't
override that).

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemtap: fix on target build for 4.4 and 5.10+
Bruce Ashfield [Tue, 22 Dec 2020 14:28:26 +0000 (09:28 -0500)]
systemtap: fix on target build for 4.4 and 5.10+

The following systemtap commit:

    commit 7615cae790c899bc8a82841c75c8ea9c6fa54df3
    Author: Frank Ch. Eigler <fche@redhat.com>
    Date:   Mon Nov 9 19:18:19 2020 -0500

        PR26665: relayfs-on-procfs megapatch

Changes the way that capabilities are checked when compiling
a systemtap probe.

In our cross-build -> on target workflow, this results in a
mismatch between the systemtap configuration capabilities and
the kernel configuration.

The result is a compilation failure since the security
components are protected by two different #ifdef's, and they
can be out of sync. By protecting the include and callsite with
the same #ifdef, we ensure they are in sync and fix our
on target problem.

While this fix is oe-specific, a variant will be proposed
upstream once a deeper analsysis of other options has been
completed.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemtap: upgrade 4.3 -> 4.4
zangrc [Tue, 22 Dec 2020 14:28:25 +0000 (09:28 -0500)]
systemtap: upgrade 4.3 -> 4.4

The test log of oe-selftest is as follows:
2020-11-23 15:48:49,144 - oe-selftest - INFO - test_crosstap_helloworld (runtime_test.SystemTap)
2020-11-23 17:06:55,949 - oe-selftest - INFO -  ... ok
2020-11-23 17:06:55,951 - oe-selftest - INFO - test_crosstap_pstree (runtime_test.SystemTap)
2020-11-23 17:08:07,921 - oe-selftest - INFO -  ... ok
2020-11-23 17:08:07,922 - oe-selftest - INFO - test_crosstap_syscalls_by_pid (runtime_test.SystemTap)
2020-11-23 17:09:20,084 - oe-selftest - INFO -  ... ok
2020-11-23 17:09:20,085 - oe-selftest - INFO - test_crosstap_syscalls_by_proc (runtime_test.SystemTap)
2020-11-23 17:10:31,349 - oe-selftest - INFO -  ... ok
2020-11-23 17:12:58,052 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-11-23 17:12:58,054 - oe-selftest - INFO - Ran 4 tests in 5051.537s
2020-11-23 17:12:58,054 - oe-selftest - INFO - OK
2020-11-23 17:13:08,416 - oe-selftest - INFO - RESULTS:
2020-11-23 17:13:08,417 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_helloworld: PASSED (4686.81s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_pstree: PASSED (71.97s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_pid: PASSED (72.16s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_proc: PASSED (71.26s)
2020-11-23 17:13:08,432 - oe-selftest - INFO - SUMMARY:
2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest () - Ran 4 tests in 5051.540s
2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=4, skipped=0, failures=0, errors=0)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4/cfg: fix -tiny warnings
Bruce Ashfield [Tue, 22 Dec 2020 14:28:24 +0000 (09:28 -0500)]
linux-yocto/5.4/cfg: fix -tiny warnings

Integrating the following commit(s) to fixup warnings when -tiny is
build with the latest kern-tools:

    b721178c41a drm: change CONFIG_DRM_KMS_HELPER to =m
    d9ac6174eaf tiny: enable CONFIG_FW_LOADER on a per-BSP basis
    a135c720bc7 i915: adust helper to 'm'

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>