]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agostrace: update 5.10 -> 5.11
Alexander Kanavin [Fri, 19 Mar 2021 08:43:56 +0000 (09:43 +0100)]
strace: update 5.10 -> 5.11

Drop disable-git-version-gen.patch as problem fixed upstream.

Add parallel builds to ptest compile.

strace-graph has been removed upstream.

Adjust ptest patch to match upstream changes.

License-Update: copyright years.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: update 1.0.3 -> 1.2.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:55 +0000 (09:43 +0100)]
libhandy: update 1.0.3 -> 1.2.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: update 9.0.4 -> 9.1.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:54 +0000 (09:43 +0100)]
asciidoc: update 9.0.4 -> 9.1.0

Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoattr: update 2.4.48 -> 2.5.1
Alexander Kanavin [Fri, 19 Mar 2021 08:43:53 +0000 (09:43 +0100)]
attr: update 2.4.48 -> 2.5.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.3.4 -> 21.0.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:52 +0000 (09:43 +0100)]
mesa: update 20.3.4 -> 21.0.0

0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.

osmesa is now a simple boolean option.

Swrast has been removed from dri drivers, so as we need at least one
driver to enable dri in native/nativesdk, replace it with nouveau
(which does not take long to build).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: upgrade 2020.6 -> 2020.7
Alexander Kanavin [Fri, 19 Mar 2021 08:43:51 +0000 (09:43 +0100)]
spirv-tools: upgrade 2020.6 -> 2020.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-headers: update to latest revision
Alexander Kanavin [Fri, 19 Mar 2021 08:43:50 +0000 (09:43 +0100)]
spirv-headers: update to latest revision

This is required by latest release of spirv-tools.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: upgrade 9.16.11 -> 9.16.12
Alexander Kanavin [Fri, 19 Mar 2021 08:43:49 +0000 (09:43 +0100)]
bind: upgrade 9.16.11 -> 9.16.12

Adjust library packaging (see link to commit in the recipe).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: upgrade 2.04 -> 2.06~rc1
Naveen Saini [Fri, 19 Mar 2021 07:14:33 +0000 (15:14 +0800)]
grub: upgrade 2.04 -> 2.06~rc1

2.06 RC1 release have a number of CVEs fixed:
CVE-2020-15705
CVE-2021-3418
CVE-2020-27749
CVE-2021-20233
CVE-2021-20225
CVE-2020-25647
CVE-2020-25632
CVE-2020-27779
CVE-2020-14372
CVE-2020-15707
CVE-2020-15706
CVE-2020-14309
CVE-2020-14310
CVE-2020-14311
CVE-2020-14308
CVE-2020-10713
CVE-2014-4607

Dropped backported patches.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/wic: Fix dependency issue in rawcopy test
Richard Purdie [Fri, 19 Mar 2021 13:30:36 +0000 (13:30 +0000)]
selftest/wic: Fix dependency issue in rawcopy test

The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.

Avoid this by using separate image targets instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Update patch to only patch files once
Wang Mingyu [Mon, 15 Mar 2021 01:02:04 +0000 (09:02 +0800)]
gcc: Update patch to only patch files once

This fixes an error in do_patch when using "PATCHTOOL = "patch""

error message:
checking file gcc/configure.ac Hunk #1 FAILED at 6602.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-dummy: add empty dependent packages
Li Wang [Fri, 12 Mar 2021 09:52:50 +0000 (17:52 +0800)]
linux-dummy: add empty dependent packages

some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:

ERROR: Nothing RPROVIDES 'kernel-devicetree'

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: cleanup an old patch that is not used anymore
Jose Quaresma [Sun, 14 Mar 2021 12:53:44 +0000 (12:53 +0000)]
spirv-tools: cleanup an old patch that is not used anymore

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: python3 is need not only for the tests
Jose Quaresma [Sun, 14 Mar 2021 12:53:43 +0000 (12:53 +0000)]
spirv-tools: python3 is need not only for the tests

commit acf109c1a1a30907f7401f6225fcbfb5f2e39a58 remove the python3native
when disabling the tests but python is needed not only for the tests,
so re add it.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevshell.bbclass: Exceptions displayed within devpyshell
Dorinda Bassey [Thu, 18 Mar 2021 15:49:40 +0000 (16:49 +0100)]
devshell.bbclass: Exceptions displayed within devpyshell

If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.

[YOCTO #12156]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:40 +0000 (11:34 +0800)]
vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:39 +0000 (11:34 +0800)]
vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0

0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
removed since it is included in 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:38 +0000 (11:34 +0800)]
vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE
Ming Liu [Thu, 18 Mar 2021 12:47:58 +0000 (13:47 +0100)]
kernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE

There are user cases that a developer wants to add both in-tree and
out-of-tree devicetrees to fitimage, and this is quite normal, for
instance, a developer might need the devicetrees from kernel source
meanwhile maintaining his/her own devicetree overlays to be applied
on top of them.

To support that, we now allow KERNEL_DEVICETREE and
EXTERNAL_KERNEL_DEVICETREE to be both set in configuration files, and
the devicetrees in EXTERNAL_KERNEL_DEVICETREE have higher priority to
override the same names in KERNEL_DEVICETREE.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
Alexander Kanavin [Thu, 18 Mar 2021 11:55:57 +0000 (12:55 +0100)]
libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: upgrade 247.3 -> 247.4
wangmy@fujitsu.com [Thu, 18 Mar 2021 09:05:26 +0000 (17:05 +0800)]
systemd: upgrade 247.3 -> 247.4

refresh the following patches:
systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
systemd/0006-Include-netinet-if_ether.h.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/verify-bashisms: Update checkbashisms.pl URL
Petr Vorel [Thu, 18 Mar 2021 18:51:44 +0000 (19:51 +0100)]
scripts/verify-bashisms: Update checkbashisms.pl URL

anonscm.debian.org is not used any more, update the URL.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: Set $HOME variable for SysVinit manager
Adrian [Mon, 15 Mar 2021 15:01:10 +0000 (16:01 +0100)]
weston-init: Set $HOME variable for SysVinit manager

SysVinit sets by default the $HOME directory to "/" for the init scripts.
It's picked then by the weston-launcher and make weston-terminal to have
wrongly set $HOME environment variable for the root user.

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogptfdisk: upgrade 1.0.6 -> 1.0.7
Wang Mingyu [Wed, 17 Mar 2021 23:52:35 +0000 (07:52 +0800)]
gptfdisk: upgrade 1.0.6 -> 1.0.7

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoexternalsrc: Detect code changes in submodules
Douglas Royds [Wed, 17 Mar 2021 23:37:55 +0000 (12:37 +1300)]
externalsrc: Detect code changes in submodules

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

git submodule status returns a path relative to the cwd for each submodule.
We don't add submodules that are not within our source subtree.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake: Fully-qualified path to ar
Douglas Royds [Wed, 17 Mar 2021 23:25:14 +0000 (12:25 +1300)]
cmake: Fully-qualified path to ar

We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.

By using cmake's own find_program() to search the PATH,
make works as expected from the commandline, outside of bitbake.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-check: CVE_VERSION_SUFFIX to work with patched release
Lee Chee Yang [Thu, 4 Mar 2021 14:44:07 +0000 (22:44 +0800)]
cve-check: CVE_VERSION_SUFFIX to work with patched release

CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.

also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-update-db-native: consider version suffix when update CVE db
Lee Chee Yang [Thu, 4 Mar 2021 14:44:06 +0000 (22:44 +0800)]
cve-update-db-native: consider version suffix when update CVE db

some record from NVD can merge or split suffix from version, for
example:
  CVE-2017-15906
  "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:5.0:p1:*:*:*:*:*:*"
  "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:4.7p1:*:*:*:*:*:*:*"

in such case include the suffix into version when update local CVE db.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomsmtp: upgrade 1.8.14 -> 1.8.15
Wang Mingyu [Tue, 16 Mar 2021 10:10:38 +0000 (18:10 +0800)]
msmtp: upgrade 1.8.14 -> 1.8.15

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: enable strlen and stpcpy on musl/linux too
Khem Raj [Wed, 17 Mar 2021 20:24:59 +0000 (13:24 -0700)]
webkitgtk: enable strlen and stpcpy on musl/linux too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Add packageconfig to chose between size and speed
Khem Raj [Wed, 17 Mar 2021 20:24:58 +0000 (13:24 -0700)]
webkitgtk: Add packageconfig to chose between size and speed

This packageconfig when selected will use -Os -DNDEBUG instead of -O2
-DNDEBUG, which should generate smaller binaries and libs but perhaps at
the expense of some runtime performance, defaults are kept as it is

size reduction when enabled

--rwxr-xr-x root       root         23503680 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
+-rwxr-xr-x root       root         17536152 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
--rwxr-xr-x root       root         53314616 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9
+-rwxr-xr-x root       root         40195672 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Reduce stack and heap sizes for jsc on musl
Khem Raj [Wed, 17 Mar 2021 20:24:57 +0000 (13:24 -0700)]
webkitgtk: Reduce stack and heap sizes for jsc on musl

Fixes

[YOCTO #14281]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.6 -> 1.9.6p1
zhengruoqin [Wed, 17 Mar 2021 17:49:02 +0000 (01:49 +0800)]
sudo: upgrade 1.9.6 -> 1.9.6p1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsdl2: disable shared memory for native builds
Awais Belal [Wed, 17 Mar 2021 14:06:44 +0000 (19:06 +0500)]
libsdl2: disable shared memory for native builds

libsdl2 currently does not handle the failures that
occur due to shared memory in case of remote hosts
where it should ideally switch to socket based writing
when a failure is seen with shared memory.
Consider a scenario where a qemu build is done with
graphics support on a build machine and then accessed
remotely using ssh. If the remote host's X presents
MIT-SHM as an extension, launching qemu fails with

runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()

This is most often seen when the remote machine doing
ssh is a Ubuntu 20.04. The libsdl2 native are mainly
used for qemu at this time so it is a major usecase.
A report of such a failure was also presented at
https://lists.yoctoproject.org/g/poky/topic/78854857

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobase: respect downloadfilename when sniffing the SRC_URI for dependencies
Ross Burton [Tue, 16 Mar 2021 19:38:50 +0000 (19:38 +0000)]
base: respect downloadfilename when sniffing the SRC_URI for dependencies

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Drop ovmf exclusion
Richard Purdie [Fri, 19 Mar 2021 17:51:55 +0000 (17:51 +0000)]
selftest/reproducible: Drop ovmf exclusion

The hardcoded path issue was fixed, drop the exclusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: make output binaries reproducible
Ross Burton [Tue, 16 Mar 2021 19:38:02 +0000 (19:38 +0000)]
ovmf: make output binaries reproducible

OVMF is mostly reproducible, but the final .efi binaries have a 'NM10'
segment in that references the original input file, and this input file
has the build path in.

This can be solved by passing --zero to GenFw so that this segment is
zero'd out in release builds.

[ YOCTO #14264 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: Fix packaging
Michael Trensch [Tue, 16 Mar 2021 20:26:38 +0000 (20:26 +0000)]
linux-firmware: Fix packaging

Upstream directory layout has changed after update in commit 3c2f8b750ab9c53773fb5a9a1a874e475740b4ee, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.

See log.do_packaging:
DEBUG: linux-firmware-bcm43340 contains dangling link /lib/firmware/cypress/cyfmac43340-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43362 contains dangling link /lib/firmware/cypress/cyfmac43362-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4339 contains dangling link /lib/firmware/cypress/cyfmac4339-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4354 contains dangling link /lib/firmware/cypress/cyfmac4354-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356 contains dangling link /lib/firmware/cypress/cyfmac4356-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43570 contains dangling link /lib/firmware/cypress/cyfmac43570-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4373 contains dangling link /lib/firmware/cypress/cyfmac4373-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
DEBUG: target found in linux-firmware

Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: make pydoc rdepend on python3-io
Bartosz Golaszewski [Sun, 7 Mar 2021 15:19:06 +0000 (16:19 +0100)]
python3: make pydoc rdepend on python3-io

pydoc needs tempfile (provided by python3-io) to work. Add python3-io
to its RDEPENDS.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: backport patch to skip build of unused objects
Luca Boccassi [Tue, 16 Mar 2021 11:38:36 +0000 (11:38 +0000)]
util-linux: backport patch to skip build of unused objects

util-linux-uuid does not need libtcolors.a and libcommon.a but
they get build regardless. Backport a patch from upstream to
skip them and save some compilation time.

https://github.com/karelzak/util-linux/commit/c65953d72bbc7412f32e566d9fa6e780d84f0696

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.5p2 -> 1.9.6
Richard Purdie [Mon, 15 Mar 2021 07:18:04 +0000 (07:18 +0000)]
sudo: upgrade 1.9.5p2 -> 1.9.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.34.1 -> 3.35.0
Richard Purdie [Mon, 15 Mar 2021 16:29:23 +0000 (16:29 +0000)]
sqlite3: upgrade 3.34.1 -> 3.35.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: upgrade 2.12.4 -> 2.12.5
Richard Purdie [Mon, 15 Mar 2021 14:04:23 +0000 (14:04 +0000)]
lttng-modules: upgrade 2.12.4 -> 2.12.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: upgrade 2.12.2 -> 2.12.3
Richard Purdie [Mon, 15 Mar 2021 14:27:32 +0000 (14:27 +0000)]
lttng-tools: upgrade 2.12.2 -> 2.12.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibedit: upgrade 20191231-3.1 -> 20210216-3.1
Khem Raj [Mon, 15 Mar 2021 18:13:40 +0000 (11:13 -0700)]
libedit: upgrade 20191231-3.1 -> 20210216-3.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: Work around determinism issue
Richard Purdie [Mon, 15 Mar 2021 23:48:34 +0000 (23:48 +0000)]
meson: Work around determinism issue

The meson determinism issue is the same frozenset issue we encountered with
python itself. Remove the problematic pyc file until upstream work out the
best way to address the issue (as with core python).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa-selftest: Add HOMEPAGE / DESCRIPTION
Dorinda Bassey [Mon, 15 Mar 2021 12:40:54 +0000 (13:40 +0100)]
meta-selftest: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 15 Mar 2021 15:17:41 +0000 (15:17 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Add gatesgarth back for now to allow for transition
Richard Purdie [Mon, 15 Mar 2021 15:17:31 +0000 (15:17 +0000)]
layer.conf: Add gatesgarth back for now to allow for transition

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 15 Mar 2021 14:59:51 +0000 (14:59 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Update for hardknott release series
Richard Purdie [Mon, 15 Mar 2021 14:54:09 +0000 (14:54 +0000)]
layer.conf: Update for hardknott release series

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoprocps: update 3.3.16 -> 3.3.17
Alexander Kanavin [Sun, 28 Feb 2021 15:36:56 +0000 (16:36 +0100)]
procps: update 3.3.16 -> 3.3.17

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage.bbclass: deltask do_packagedata
Robert Yang [Thu, 11 Mar 2021 08:46:22 +0000 (00:46 -0800)]
image.bbclass: deltask do_packagedata

This can fix a do_package error when compile with meta-secure-core layer:
http://layers.openembedded.org/layerindex/branch/master/layer/meta-secure-core/

$ bitbake kernel-initramfs
[snip]
WARNING:kernel-initramfs-1.0-r0 do_package: Manifest
build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-secure-core-image-initramfs.packagedata
not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')?
[snip]

This is because kernel-initramfs wants to pack an initramfs image into
kernel-initramfs.rpm which adds a dependency in kernel-initramfs.bb to do this:

d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')

This causes kernel-initramfs' do_package depends on
${INITRAMFS_IMAGE}:do_image_complete's do_packagedata, then we will get the
error. Delete do_packagedata as other do_package relelated tasks for the image
recipe will fix the error.

RP: There is a side effect from this change which means that image
tasks will no longer run their fetch/unpack/configure/compile/install
tasks as these become detached from the dependency chain. The standard
tasks are noexec or deleted anyway already so this shouldn't be a
significant change.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes
Richard Purdie [Sat, 27 Feb 2021 18:02:02 +0000 (18:02 +0000)]
scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes

Update after tinfoil API changes in bitake for REQUIRED_VERSION.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomultilib_global: handle REQUIRED_VERSION
Charlie Davies [Thu, 18 Feb 2021 20:52:21 +0000 (20:52 +0000)]
multilib_global: handle REQUIRED_VERSION

Add logic to multilib_global.bbclass to handle new REQUIRED_VERSION
variable.

Fixes [YOCTO #10096]

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agozstd: upgrade 1.4.8 -> 1.4.9
Randy MacLeod [Sun, 14 Mar 2021 15:50:34 +0000 (11:50 -0400)]
zstd: upgrade 1.4.8 -> 1.4.9

Shave fuzz off the Makefile-sort-all-wildcard-file-list-expansions patch

CHANGELOG:

    v1.4.9  (Mar 1, 2021)
    bug: Use `umask()` to Constrain Created File Permissions (#2495, @felixhandte)
    bug: Make Simple Single-Pass Functions Ignore Advanced Parameters (#2498, @terrelln)
    api: Add (De)Compression Tracing Functionality (#2482, @terrelln)
    api: Support References to Multiple DDicts (#2446, @senhuang42)
    api: Add Function to Generate Skippable Frame (#2439, @senhuang42)
    perf: New Algorithms for the Long Distance Matcher (#2483, @mpu)
    perf: Performance Improvements for Long Distance Matcher (#2464, @mpu)
    perf: Don't Shrink Window Log when Streaming with a Dictionary (#2451, @terrelln)
    cli: Fix `--output-dir-mirror`'s Rejection of `..`-Containing Paths (#2512, @felixhandte)
    cli: Allow Input From Console When `-f`/`--force` is Passed (#2466, @felixhandte)
    cli: Improve Help Message (#2500, @senhuang42)
    tests: Remove Flaky Tests (#2455, #2486, #2445, @Cyan4973)
    tests: Correctly Invoke md5 Utility on NetBSD (#2492, @niacat)
    tests: Avoid Using `stat -c` on NetBSD (#2513, @felixhandte)
    build: Zstd CLI Can Now be Linked to Dynamic `libzstd` (#2457, #2454 @Cyan4973)
    build: Hide and Avoid Using Static-Only Symbols (#2501, #2504, @skitt)
    build: CMake: Enable Only C for lib/ and programs/ Projects (#2498, @concatime)
    build: CMake: Use `configure_file()` to Create the `.pc` File (#2462, @lazka)
    build: Fix Fuzzer Compiler Detection & Update UBSAN Flags (#2503, @terrelln)
    build: Add Guards for `_LARGEFILE_SOURCE` and `_LARGEFILE64_SOURCE` (#2444, @indygreg)
    build: Improve `zlibwrapper` Makefile (#2437, @Cyan4973)
    contrib: Add `recover_directory` Program (#2473, @terrelln)
    doc: Change License Year to 2021 (#2452 & #2465, @terrelln & @senhuang42)
    doc: Fix Typos (#2459, @ThomasWaldmann)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodistrodata.py: Test to track recipes without HOMEPAGE or DESCRIPTION
Dorinda Bassey [Sun, 14 Mar 2021 12:58:03 +0000 (13:58 +0100)]
distrodata.py: Test to track recipes without HOMEPAGE or DESCRIPTION

This test is to keep track of recipes that do not have a HOMEPAGE or DESCRIPTION,
with exceptions to recipes whose SRC_URI are not linked to external sources.

Results of this test: it take about 2 to 3 minutes for this test to complete execution
depending on the laptop used, Recipes that didn't have a homepage or description were found,
and using list data structure instead of set() returned an ordered list of recipes that
didn't have a homepage. Hence it's easier to view recipes with missing homepage and description.

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibunwind: Link with libucontext on musl
Khem Raj [Fri, 12 Mar 2021 07:26:25 +0000 (23:26 -0800)]
libunwind: Link with libucontext on musl

Functions like unw_getcontext in libunwind call getcontext() which are
not part of musl C library like glibc, however there is a supplimental
library providing these functions called libucontext, therefore link
libunwind with a static version of this library to resolve such symbols,
this inturn helps packages needing libunwind, who look for certain
APIs in libunwind during configure e.g. heaptrack

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-dep: Remove
Khem Raj [Fri, 12 Mar 2021 06:21:07 +0000 (22:21 -0800)]
go-dep: Remove

go-dep was an effort for dependency management before go modules, which
since 2020 has been deprecated in favor of go modules. Since its not
developed any longer and go mdules is officially supported, this should
be retired from OE-core as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: Update to 1.16.2
Khem Raj [Fri, 12 Mar 2021 06:21:06 +0000 (22:21 -0800)]
go: Update to 1.16.2

This is bugfix release in 1.16 series [1]

[1] https://golang.org/doc/devel/release.html#go1.16.minor

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: Drop volatile qualifier
Khem Raj [Thu, 4 Mar 2021 19:38:40 +0000 (11:38 -0800)]
glib-2.0: Drop volatile qualifier

Fixes
glib/gatomic.h:112:5: error: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Werror=incompatible-pointer-types]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Package new module mapper tool
Khem Raj [Thu, 4 Mar 2021 19:38:17 +0000 (11:38 -0800)]
gcc: Package new module mapper tool

This is new tool in GCC 11 [1]

[1] https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Module-Mapper.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake-whatchanged: change ending quote to proper period
Robert P. J. Day [Sun, 7 Mar 2021 18:41:29 +0000 (13:41 -0500)]
bitbake-whatchanged: change ending quote to proper period

Pretty sure that trailing quote should be a period; it
appears to work properly.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopulate_sdk_ext: record METADATA_REVISION
Chen Qi [Fri, 5 Mar 2021 10:10:40 +0000 (18:10 +0800)]
populate_sdk_ext: record METADATA_REVISION

As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.

  WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
  but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64

So we record METADATA_REVISION in eSDK generation time to fix this problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: upgrade 202011 -> 202102
Wang Mingyu [Wed, 10 Mar 2021 11:48:41 +0000 (19:48 +0800)]
ovmf: upgrade 202011 -> 202102

0003-ovmf-enable-long-path-file.patch
removed since it is not available in 202102.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolicense.bbclass: Improve parsing time when INCOMPATIBLE_LICENSES is big
Peter Kjellerstedt [Fri, 12 Mar 2021 03:18:52 +0000 (04:18 +0100)]
license.bbclass: Improve parsing time when INCOMPATIBLE_LICENSES is big

The commit 08cbf1748 (licenses: Update INCOMPATIBLE_LICENSE for
'or-later' handling) increased the parsing time considerably if there
are many licenses in INCOMPATIBLE_LICENSE. Reorganize the code to get
almost all the time back.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibunwind: Do not assume libdir for ppc64
Khem Raj [Fri, 12 Mar 2021 06:21:05 +0000 (22:21 -0800)]
libunwind: Do not assume libdir for ppc64

This ensures that build respects OE's choice for libdir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibucontext: Recognize ppc64le architecture
Khem Raj [Fri, 12 Mar 2021 06:21:04 +0000 (22:21 -0800)]
libucontext: Recognize ppc64le architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevtool: Fix do_kernel_configme task
Alejandro Hernandez Samaniego [Fri, 12 Mar 2021 17:41:15 +0000 (10:41 -0700)]
devtool: Fix do_kernel_configme task

The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.

This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.

Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake.bbclass: Create cmake arch mapping for ppc64le
Khem Raj [Sat, 13 Mar 2021 08:57:19 +0000 (00:57 -0800)]
cmake.bbclass: Create cmake arch mapping for ppc64le

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoEnable qemu usermode on ppc64
Khem Raj [Sat, 13 Mar 2021 03:37:36 +0000 (19:37 -0800)]
Enable qemu usermode on ppc64

d044743cdc4 disabled it, perhaps it did not work back in 2016

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: Add support for building for qemuriscv32
Alistair Francis [Fri, 12 Mar 2021 21:38:25 +0000 (13:38 -0800)]
u-boot: Add support for building for qemuriscv32

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperf: Remove libunwind for rv32
Khem Raj [Fri, 12 Mar 2021 01:36:26 +0000 (17:36 -0800)]
perf: Remove libunwind for rv32

libunwind is not yet ported to RISCV32

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: fix pthread_cond_destroy hangs with process-shared mutex
Yanfei Xu [Fri, 12 Mar 2021 04:54:08 +0000 (12:54 +0800)]
glibc: fix pthread_cond_destroy hangs with process-shared mutex

This bug can cause pthread_cond_destroy hang with process-shared
mutex. And it is since glibc-2.32, will be fixed in glibc-2.34.

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Fix CVE-2021-27645
Khairul Rohaizzat Jamaluddin [Thu, 11 Mar 2021 15:21:28 +0000 (23:21 +0800)]
glibc: Fix CVE-2021-27645

CVE:
CVE-2021-27645

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiso-codes: fix protocol in SRC_URI
Martin Jansa [Fri, 12 Mar 2021 14:33:18 +0000 (15:33 +0100)]
iso-codes: fix protocol in SRC_URI

* it doesn't listen on http and the redirect sometimes doesn't work

WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available

The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass:git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \

from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometadata_scm.bbclass: Use immediate expansion for the METADATA_* variables
Peter Kjellerstedt [Fri, 12 Mar 2021 03:18:53 +0000 (04:18 +0100)]
metadata_scm.bbclass: Use immediate expansion for the METADATA_* variables

Define METADATA_BRANCH and METADATA_REVISION using immediate expansion.
This avoids running `git rev-parse HEAD` multiple times during recipe
parsing.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agouninative-tarball: Add a dependency on nativesdk-glibc-dbg
Peter Kjellerstedt [Wed, 24 Feb 2021 20:53:32 +0000 (21:53 +0100)]
uninative-tarball: Add a dependency on nativesdk-glibc-dbg

This adds the debug symbols for the binaries included in the uninative
tar ball. These are needed if one wants to run valgrind on a native
binary when uninative is used. Or get complete backtraces using gdb.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoreproducibile: remove perf from exclusions
Bruce Ashfield [Tue, 9 Mar 2021 19:23:37 +0000 (14:23 -0500)]
reproducibile: remove perf from exclusions

We have fixes for perf reproducibility, so we can drop it from the
exclusion list.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: Upgrade 54.1.0 -> 54.1.1
Khem Raj [Thu, 11 Mar 2021 08:30:45 +0000 (00:30 -0800)]
python3-setuptools: Upgrade 54.1.0 -> 54.1.1

Changes [1]
[1] https://github.com/pypa/setuptools/commit/d2ae3cd2cfc66c300bc6661ca33f0ba1f651fd56

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojquery: upgrade 3.5.1 -> 3.6.0
Wang Mingyu [Thu, 11 Mar 2021 03:28:25 +0000 (11:28 +0800)]
jquery: upgrade 3.5.1 -> 3.6.0

License file updated:
Copyright changed from "JS Foundation" to "OpenJS Foundation"
Source code changed

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox-inittab: rename for PV to match with busybox's PV
Martin Jansa [Wed, 10 Mar 2021 13:37:31 +0000 (14:37 +0100)]
busybox-inittab: rename for PV to match with busybox's PV

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobusybox: refresh the defconfig from 1.33.0
Martin Jansa [Wed, 10 Mar 2021 13:37:30 +0000 (14:37 +0100)]
busybox: refresh the defconfig from 1.33.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: split uuid in separate recipe to allow bootstrapping
Luca Boccassi [Thu, 11 Mar 2021 15:09:59 +0000 (15:09 +0000)]
util-linux: split uuid in separate recipe to allow bootstrapping

Recently util-linux gained an (optional) build dependency on libcryptsetup.
But libcryptsetup build-depends on util-linux for blkid (optional, can be disabled)
and uuid (mandatory).
Split out util-linux-uuid in a different recipe to break the cycle.

https://github.com/karelzak/util-linux/pull/898

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperf: reproducibility fixes for pmu-events.c
Bruce Ashfield [Thu, 11 Mar 2021 01:52:14 +0000 (20:52 -0500)]
perf: reproducibility fixes for pmu-events.c

perf generates pmu-events.c as part of the build process. The
code that generates the events is doing tree walks and potentially
other non-determinstic things.

We'd rather not mess with that implementation, so we add a script
that knows how to read the pmu-events.c, sort the entries and then
copy it over the generated one.

With this, we should always have events in the same order, improving
reproducibility.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobmap-tools: upgrade 3.5 -> 3.6
Alexander Kanavin [Sun, 28 Feb 2021 15:36:40 +0000 (16:36 +0100)]
bmap-tools: upgrade 3.5 -> 3.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: Replace strncpy with memcpy
Khem Raj [Sat, 27 Feb 2021 08:18:11 +0000 (00:18 -0800)]
spirv-tools: Replace strncpy with memcpy

Fixes warnings produced with gcc 11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolocal.conf.sample.extended: sample value for SDK_PS1
Kai Kang [Mon, 1 Mar 2021 14:16:34 +0000 (22:16 +0800)]
local.conf.sample.extended: sample value for SDK_PS1

Provides a sample default value for SDK_PS1 in
local.conf.sample.extended. It will look like:

poky-glibc-x86_64--cortexa57-qemuarm64sdk:$

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotoolchain-scripts.bbclass: customize prompt string for SDKs
Kai Kang [Mon, 1 Mar 2021 14:16:33 +0000 (22:16 +0800)]
toolchain-scripts.bbclass: customize prompt string for SDKs

Introduce a new variable SDK_PS1 to customize prompt string for SDKs
when source script environment-setup-script. If variable SDK_PS1 is not
set or empty, nothing changed. Otherwise new PS1 with the value of
SDK_PS1 is used after source the sdk environment file.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosanity.bbclass: Add az fetcher to accepted URI protocols for mirrors sanity
Alejandro Hernandez Samaniego [Wed, 24 Feb 2021 17:28:15 +0000 (10:28 -0700)]
sanity.bbclass: Add az fetcher to accepted URI protocols for mirrors sanity

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiso-codes: upgrade 4.5.0 -> 4.6.0
Wang Mingyu [Wed, 10 Mar 2021 11:46:05 +0000 (19:46 +0800)]
iso-codes: upgrade 4.5.0 -> 4.6.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agohelp2man: upgrade 1.48.1 -> 1.48.2
Wang Mingyu [Wed, 10 Mar 2021 11:46:04 +0000 (19:46 +0800)]
help2man: upgrade 1.48.1 -> 1.48.2

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysklogd: upgrade 2.2.1 -> 2.2.2
Wang Mingyu [Wed, 10 Mar 2021 11:49:21 +0000 (19:49 +0800)]
sysklogd: upgrade 2.2.1 -> 2.2.2

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-zipp: upgrade 3.4.0 -> 3.4.1
Wang Mingyu [Wed, 10 Mar 2021 11:49:06 +0000 (19:49 +0800)]
python3-zipp: upgrade 3.4.0 -> 3.4.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pygments: upgrade 2.8.0 -> 2.8.1
Wang Mingyu [Wed, 10 Mar 2021 11:49:05 +0000 (19:49 +0800)]
python3-pygments: upgrade 2.8.0 -> 2.8.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: modify novga to conform to documentation
Jon Mason [Wed, 10 Mar 2021 23:05:33 +0000 (18:05 -0500)]
runqemu: modify novga to conform to documentation

Passing 'novga' only adds '-vga none' to the qemu commandline and does
not prevent other vga devices from being added, contrary to the
documentation/help.  Clean-up the vga logic and add the ability to
prevent other vga devices from being added.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I7ff8f9f3e419ce8bae3f3847d75f9275ca30406a
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: correct forcing of ttyS0
Jon Mason [Wed, 10 Mar 2021 23:05:32 +0000 (18:05 -0500)]
runqemu: correct forcing of ttyS0

Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm
and qemuarm64).  The hardcoding of this can cause issues.  Modify
runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of
hardcoding.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorunqemu: add QB_GRAPHICS
Jon Mason [Wed, 10 Mar 2021 23:05:31 +0000 (18:05 -0500)]
runqemu: add QB_GRAPHICS

Add a new runqemu field for VGA devices.  Currently, these are being set
in QB_OPT_APPEND, which can make them difficult to override if importing
the config file into another one.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I8cb9527954c5b06c083c42fe2466cb3338584b7d
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Dorinda Bassey [Wed, 10 Mar 2021 22:23:43 +0000 (23:23 +0100)]
meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION

Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa/recipes-graphics: Add HOMEPAGE / DESCRIPTION
Dorinda [Tue, 9 Mar 2021 11:35:51 +0000 (12:35 +0100)]
meta/recipes-graphics: Add HOMEPAGE / DESCRIPTION

Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>