]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agogo-1.14: Update to 1.14.3 minor release
Khem Raj [Fri, 22 May 2020 18:42:20 +0000 (11:42 -0700)]
go-1.14: Update to 1.14.3 minor release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstate.bbclass: When siginfo or sig files are missing, stop fetcher errors
Mark Hatle [Wed, 13 May 2020 16:12:48 +0000 (11:12 -0500)]
sstate.bbclass: When siginfo or sig files are missing, stop fetcher errors

Prior to fetching, the system checks if the sstate file is present
either locally or on the mirror.  If it is, then it goes to the fetch
stage.  Up to three files can be fetched, sstate, sstate.siginfo and
sstate.sig (if signature validation is enabled).

The previous pstaging_fetch function would iterate over these, and if
a download error occurred would spew forth a great amount of fetcher
failure messages as well as stop fetching the next item in the set.

This was resolved by adding a fetcher.checkstatus() call prior to
the download.  If the file isn't present, then the exception will
be triggered, and no fetcher failure messages will reach the user.

The exception handler is then modified to be a pass so that it will
loop and pull the rest of the files that that are requested.

Additionally, a check for the existance of the .sig file was added
to the sstate_installpkg to avoid an error trying to load the .sig
if it wasn't downloaded.

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable
Robert P. J. Day [Wed, 27 May 2020 14:31:22 +0000 (10:31 -0400)]
bitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable

Variable DEPLOY_DIR_TOOLS was introduced in 2007:

  commit f751a20152c651a33f08ceda0502fa1d4f11c005
  Author: Richard Purdie <richard@openedhand.com>
  Date:   Wed Aug 8 21:02:39 2007 +0000

      bitbake.conf: Sync with OE.dev

apparently never used so get rid of it.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibyaml: upgrade 0.2.2 -> 0.2.4
zhengruoqin [Wed, 27 May 2020 15:33:55 +0000 (23:33 +0800)]
libyaml: upgrade 0.2.2 -> 0.2.4

-License-Update: file name changed from LICENSE to License.
                 Copyright year updated to 2020.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogdb: upgrade 9.1 -> 9.2
zhengruoqin [Wed, 27 May 2020 15:33:06 +0000 (23:33 +0800)]
gdb: upgrade 9.1 -> 9.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoliburcu: upgrade 0.12.0 -> 0.12.1
Wang Mingyu [Wed, 27 May 2020 15:32:10 +0000 (23:32 +0800)]
liburcu: upgrade 0.12.0 -> 0.12.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoless: upgrade 551 -> 562
Wang Mingyu [Wed, 27 May 2020 15:31:42 +0000 (23:31 +0800)]
less: upgrade 551 -> 562

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomake-mod-scripts: Fix a rare build race condition
Khem Raj [Wed, 27 May 2020 20:51:07 +0000 (13:51 -0700)]
make-mod-scripts: Fix a rare build race condition

There is a build break which rarely happens but is seen often enough
with 4.1 kernel based builds

/bin/sh: 1: scripts/basic/fixdep: Permission denied
scripts/Makefile.host:124: recipe for target 'scripts/dtc/srcpos.o' failed
make[3]: *** [scripts/dtc/srcpos.o] Error 126

this patch sequences the build targets so it can work reliably with
different kernel versions

Divide the target into scripts_basic scripts is not
strictly necessary and was simply what was used for
testing on kernel 4.1, which is quite an old kernel

perhaps just using scripts is sufficient, but it is not tested to not
known will cause the build race as seen above.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemurunner: fix ip fallback detection
Konrad Weihmann [Wed, 27 May 2020 18:07:58 +0000 (20:07 +0200)]
qemurunner: fix ip fallback detection

When falling back from detecting ip from /proc/./cmdline the
output of runqemu is acutally
'Network configuration: ip=192.168.7.2::192.168.7.1::255.255.255.0'
which doesn't match the given regex and leading to run failure, although
IP is detectable.
Fix regex by inserting an optional 'ip=' prefix to first IP

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/classextend: Drop unneeded comment
Richard Purdie [Wed, 27 May 2020 21:53:57 +0000 (22:53 +0100)]
lib/classextend: Drop unneeded comment

This was leftover debug which can be removed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibubootenv: Remove the DEPENDS on mtd-utils
Adrian Bunk [Wed, 27 May 2020 06:25:07 +0000 (09:25 +0300)]
libubootenv: Remove the DEPENDS on mtd-utils

It was only used for pulling in zlib, but this is now
a direct dependency.

Also move the DEPENDS to a more common location in the file.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pycairo:upgrade 1.19.0 -> 1.19.1
zangrc [Wed, 27 May 2020 09:54:15 +0000 (17:54 +0800)]
python3-pycairo:upgrade 1.19.0 -> 1.19.1

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: fix CVE-2020-8616/7
Lee Chee Yang [Wed, 27 May 2020 09:11:11 +0000 (17:11 +0800)]
bind: fix CVE-2020-8616/7

fix CVE-2020-8616 and CVE-2020-8617

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agore2c: fix CVE-2020-11958
Lee Chee Yang [Wed, 27 May 2020 09:11:10 +0000 (17:11 +0800)]
re2c: fix CVE-2020-11958

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE
Alexander Kanavin [Thu, 21 May 2020 17:00:20 +0000 (19:00 +0200)]
qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE

Note that to actually use accelerated GL passthrough, there are two options

1) a suitable frontend need to be also enabled - gtk+ and SDL both seem to work well.
Previously I struggled to make SDL work, but now it seems fine.

2) it is also possible to render off-screen with -display egl-headless option,
and see the output with a VNC viewer (for which, qemu needs to be started
with a VNC server):

$ runqemu kvm egl-headless publicvnc

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEA...
Alexander Kanavin [Thu, 21 May 2020 17:00:19 +0000 (19:00 +0200)]
libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURES

This allows virgl support in qemu with the SDL frontend

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target
Alexander Kanavin [Thu, 21 May 2020 17:00:18 +0000 (19:00 +0200)]
bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target

This will allow better control over native virgl/qemu configurations.

Adjust gtk+3/cairo native configurations to actually ignore opengl
when building for -native: we do not need it, and it would cause build
failures as only a limited subset of mesa-native is currently built.

Drop native/nativesdk overrides from virglrenderer/libepoxy recipes
as opengl feature is now correctly set for those variants.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoterminal.py: do not stop searching for auto
Joe Slater [Thu, 21 May 2020 18:41:07 +0000 (11:41 -0700)]
terminal.py: do not stop searching for auto

If a terminal fails to spawn() we should continue looking.
gnome-terminal, in particular can be present but not start.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomultilib/recipes: Use new RecipePostKeyExpansion event
Richard Purdie [Wed, 15 Apr 2020 15:25:12 +0000 (16:25 +0100)]
multilib/recipes: Use new RecipePostKeyExpansion event

There are issues with multilib due to the ordering of events where some
functions see the remapped multilib dependencies and some do not. A significant
problem is that the multilib class needs to make some changes before key expansion
and some afterwards but by using existing event handlers, some code sees things
in a partially translated state, leading to bugs.

This patch changes things to use a new event handler from bitbake which makes the
ordering of the changes explcit.

The challenge in doing this is that it breaks some existing anonymous python and
dyanmic assignments. In some cases these used to be translated and no longer are,
meaning MLPREFIX has to be added. In some cases these are now translated and the
MLPREFIX can be removed.

This change does now make it very clear when MLPREFIX is required and when it is
not, its just the migration path which is harder. The patch changes the small number
of cases where fixes are needed.

In particular, where a variable like RDEPENDS is conditionally extended (e.g.
with an override), MLPREFIX is now required.

This patch also reverts:
base: Revert 'base.bbclass: considering multilib when setting LICENSE_EXCLUSION'

This reverts 6597130256a1609c3e05ec5891aceaf549c37985 as the changes
to multilib datastore handling mean its no longer necessary.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Exclude the memcg_stress tests due to timeout problems
Richard Purdie [Tue, 26 May 2020 20:50:10 +0000 (21:50 +0100)]
ltp: Exclude the memcg_stress tests due to timeout problems

This test runs for 900s, we often see tests killed after 300s without
output which makes the test results unreliable and inconsistent. The
easiest solution for now is to skip this long running test, patching
it out wth sed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoresulttool/log: Add ability to dump ltp logs as well as ptest
Richard Purdie [Tue, 26 May 2020 20:56:18 +0000 (21:56 +0100)]
resulttool/log: Add ability to dump ltp logs as well as ptest

Currently only ptest logs are accessible with the log command, this
adds support so the ltp logs can be extracted too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoresulttool/report: Remove leftover debugging
Richard Purdie [Tue, 26 May 2020 19:52:34 +0000 (20:52 +0100)]
resulttool/report: Remove leftover debugging

I've long since wondered why there was some odd output in result reports,
remove the leftover debug which was causing it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Add missing dependencies on coreutils, bc, e2fsprogs and gdb
Richard Purdie [Tue, 26 May 2020 14:48:38 +0000 (15:48 +0100)]
ltp: Add missing dependencies on coreutils, bc, e2fsprogs and gdb

When the tests are run we see messages like:

/opt/ltp/testcases/bin/run_cpuctl_stress_test.sh: line 242: nice: command not found
/opt/ltp/testcases/bin/run_cpuctl_test_fj.sh: line 66: tac: command not found
vma05 1 TCONF: 'gdb' not found
memcg_failcnt 1 TCONF: 'bc' not found
Owner=nobody; perms=-rw-------; sudo: lsattr: command not found

so add missing dependencies to avoid these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Add net-tools as rdependency
Daniel Díaz [Mon, 25 May 2020 17:07:06 +0000 (12:07 -0500)]
ltp: Add net-tools as rdependency

The version of ifconfig provided by Busybox is not enough for
some tests. Here's an example of how it fails with test
netns_breakns_ns_exec_ipv4_ioctl:
  ifconfig: bad address '192.168.0.2/24'
  ifconfig: bad address 'inet6'

This works with net-tools' ifconfig.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo.bbclass: Add `-trimpath` to default build flags
Otavio Salvador [Fri, 22 May 2020 02:22:37 +0000 (23:22 -0300)]
go.bbclass: Add `-trimpath` to default build flags

The `-trimpath` option is important for reproducible builds so full
build paths and module paths are not embedded.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-dep: Avoid use of 'go mod' support
Otavio Salvador [Fri, 22 May 2020 02:22:36 +0000 (23:22 -0300)]
go-dep: Avoid use of 'go mod' support

dep utility must not use 'go mod' support, so we explicitly disable it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglide: Avoid use of 'go mod' support
Otavio Salvador [Fri, 22 May 2020 02:22:35 +0000 (23:22 -0300)]
glide: Avoid use of 'go mod' support

Glide utility must not use 'go mod' support, so we explicitly disable
it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-mod.bbclass: Add class for `go mod` support
Otavio Salvador [Fri, 22 May 2020 02:22:34 +0000 (23:22 -0300)]
go-mod.bbclass: Add class for `go mod` support

When using Go Modules, the the current working directory MUST be at or
below the location of the 'go.mod' file when the go tool is used, and
there is no way to tell it to look elsewhere.  It will automatically
look upwards for the file, but not downwards.

To support this use case, we provide the `GO_WORKDIR` variable, which
defaults to `GO_IMPORT` but allows for easy override.

[YOCTO #13883]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoat-spi2-atk: dont inherit features_check
Ming Liu [Sun, 24 May 2020 16:25:28 +0000 (18:25 +0200)]
at-spi2-atk: dont inherit features_check

In commit be18dabd:
[ at-spi2: Make X11 support truly optional ]

REQUIRED_DISTRO_FEATURES was dropped, so it does not have to inherit
features_check.bbclass.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage_rpm.bbclass: add PACKAGE_ADD_METADATA_RPM to sstate variables
Michael Ho [Mon, 25 May 2020 08:23:01 +0000 (10:23 +0200)]
package_rpm.bbclass: add PACKAGE_ADD_METADATA_RPM to sstate variables

Refactor the addition of vardeps for this package class to use RPMEXTRAVARS
and pass the items through gen_packagevar so package name specific overrides
are accounted for. This matches the style used in package_ipk.bbclass. Since
do_package_write_rpm does not have any "extra vars" that affect the rpm
packaging yet, this commit has to add the variable.

This refactoring is needed to add PACKAGE_ADD_METADATA_RPM to RPMEXTRAVARS
so it affects the sstate hash of do_package_write_rpm.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage_deb.bbclass: add PACKAGE_ADD_METADATA_DEB to sstate variables
Michael Ho [Mon, 25 May 2020 08:23:00 +0000 (10:23 +0200)]
package_deb.bbclass: add PACKAGE_ADD_METADATA_DEB to sstate variables

Refactor the addition of vardeps for this package class to use DEBEXTRAVARS
and pass the items through gen_packagevar so package name specific overrides
are accounted for. This matches the style used in package_ipk.bbclass.

Additionally add PACKAGE_ADD_METADATA_DEB to the DEBEXTRAVARS list so the
packaging is redone if the variable changes value.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage_ipk.bbclass: add PACKAGE_ADD_METADATA_IPK to sstate variables
Michael Ho [Mon, 25 May 2020 08:22:59 +0000 (10:22 +0200)]
package_ipk.bbclass: add PACKAGE_ADD_METADATA_IPK to sstate variables

Add PACKAGE_ADD_METADATA_IPK to IPKEXTRAVARS so it affects the sstate hash
of do_package_write_ipk.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage.bbclass: add PACKAGE_ADD_METADATA to sstate variables
Michael Ho [Mon, 25 May 2020 08:22:58 +0000 (10:22 +0200)]
package.bbclass: add PACKAGE_ADD_METADATA to sstate variables

The PACKAGE_ADD_METADATA can be used to define additional metadata for
packages. Changes to this variable should affect the packaging sstate hash
so packages are re-generated when this variable changes.

This variable is added to both PKGDATA_VARS and PACKAGEVARS. It is needed
in PACKAGEVARS to ensure changes invoke do_package to re-run. It is needed
in PKGDATA_VARS to ensure changes are written into the pkgdata so that the
hash equiv reports a change and does not skip over the package_write tasks.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage_rpm.bbclass: respect package overrides for the main package
Michael Ho [Mon, 25 May 2020 07:45:49 +0000 (09:45 +0200)]
package_rpm.bbclass: respect package overrides for the main package

Apply ${PN} to OVERRIDES when determining the base package spec variables.
Without this, there is a mismatch in behaviour where overrides for the base
package have no effect while overrides for subpackages do. The subpackages
should not be affected by this override as they apply their own package
overrides and will by default fetch the base variables and apply them in
the spec file.

This makes the behaviour for package overrides match the implementation
in package_deb.bbclass and package_ipk.bbclass.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver.bbclass: Fix duplicated SRC_URIs for do_ar_original
Robert Yang [Thu, 21 May 2020 04:05:56 +0000 (21:05 -0700)]
archiver.bbclass: Fix duplicated SRC_URIs for do_ar_original

The argument urls of bb.fetch2.Fetch(urls, d) are duplicated to SRC_URI, which caused errors like:

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The SCMs are:
git://github.com/docker/notary.git;destsuffix=git/src/github.com/docker/notary
git://github.com/docker/notary.git

The first one is from original SRC_URI, the second one is from the
variable 'urls', so cleanup SRC_URI before call bb.fetch2.Fetch() can fix the
problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysstat: upgrade 12.2.1 -> 12.2.2
zhengruoqin [Sat, 23 May 2020 15:33:28 +0000 (23:33 +0800)]
sysstat: upgrade 12.2.1 -> 12.2.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosanity.bbclass: Detect and fail if 'inherit' is used in conf file
Gregor Zatko [Sun, 24 May 2020 10:24:04 +0000 (12:24 +0200)]
sanity.bbclass: Detect and fail if 'inherit' is used in conf file

'inherit' directive may not be used in conf files as it's supposed
to be used for the inheritance of classes.
Correct form in conf file is INHERIT.

This commit adds:
- a sanity check to find whether the wrong case exists
- fail the build if so
- tell user about the difference in directives

[YOCTO #5426]

Signed-off-by: Gregor Zatko <gzatko@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/concurrencytest: don't delete build directory for failed tests
Steve Sakoman [Fri, 22 May 2020 22:38:18 +0000 (12:38 -1000)]
oeqa/concurrencytest: don't delete build directory for failed tests

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agochecklayer: Skip layers without a collection
Joshua Watt [Fri, 22 May 2020 22:08:26 +0000 (17:08 -0500)]
checklayer: Skip layers without a collection

As in other places in the file, skip layers that don't define a
collection when searching for a layer to resolve a dependency. Fixes
KeyError exceptions when attempting to access the layer collections
later

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "webkitgtk, pinentry: require gobject-introspection-data in DISTRO_FEATURES...
Kai Kang [Fri, 22 May 2020 07:00:23 +0000 (15:00 +0800)]
Revert "webkitgtk, pinentry: require gobject-introspection-data in DISTRO_FEATURES when libsecret PACKAGECONFIG is enabled"

This reverts commit 91264e5e0ab40b796e214edd84c72bc88b363778.

It adds meson options 'instrospection' to disable gobject introspection
files build. So no need to check distro feature 'gobject-introspection-data'
any longer.

Keep the spaces adjustment and comment removal.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsecret: add meson option introspection
Kai Kang [Fri, 22 May 2020 07:00:22 +0000 (15:00 +0800)]
libsecret: add meson option introspection

Add meson option 'introspection' for libsecret. For bsp which doesn't
support qemu usermode, it could disable gobject introspection build.
Then remove distro feature check for 'gobject-introspection-data' too.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoruby: upgrade 2.7.0 -> 2.7.1
zhengruoqin [Fri, 22 May 2020 22:44:04 +0000 (06:44 +0800)]
ruby: upgrade 2.7.0 -> 2.7.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiproute2: upgrade 5.5.0 -> 5.6.0
Wang Mingyu [Fri, 22 May 2020 18:23:23 +0000 (02:23 +0800)]
iproute2: upgrade 5.5.0 -> 5.6.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiso-codes: upgrade 4.4 -> 4.5.0
Wang Mingyu [Fri, 22 May 2020 18:23:15 +0000 (02:23 +0800)]
iso-codes: upgrade 4.4 -> 4.5.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoboost: upgrade 1.72.0 -> 1.73.0
Wang Mingyu [Fri, 22 May 2020 18:23:08 +0000 (02:23 +0800)]
boost: upgrade 1.72.0 -> 1.73.0

refresh 0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
remove 0001-revert-cease-dependence-on-range.patch
since it is included in 1.73.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-magic: upgrade 0.4.15 -> 0.4.18
Joshua Watt [Thu, 21 May 2020 15:23:20 +0000 (10:23 -0500)]
python3-magic: upgrade 0.4.15 -> 0.4.18

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: upgrade 143 -> 144
Joshua Watt [Thu, 21 May 2020 15:22:59 +0000 (10:22 -0500)]
diffoscope: upgrade 143 -> 144

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-check: Run it after do_fetch
Khem Raj [Thu, 21 May 2020 15:18:47 +0000 (08:18 -0700)]
cve-check: Run it after do_fetch

Certain recipes e.g. bash readline ( from meta-gplv2 ) download patches instead of having them in
metadata, this could fail cve_check

ERROR: readline-5.2-r9 do_cve_check: File Not found: qemuarm/build/../downloads/readline52-001

This patch ensures that download is done before running CVE scan, even
though these will be external patches and may not contain CVE tags as it
expects, but it will fix the run failures as seen above

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Update to tip of master
Khem Raj [Wed, 20 May 2020 14:44:33 +0000 (07:44 -0700)]
musl: Update to tip of master

Detailed changes [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=040c1d16b468c50c04fc94edff521f1637708328..1b4e84c56df0f8ca30f6bc05962a860f869e71df

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofile: add bzip2-replacement-native to DEPENDS to fix sstate issue
Jan-Simon Moeller [Thu, 21 May 2020 14:07:04 +0000 (16:07 +0200)]
file: add bzip2-replacement-native to DEPENDS to fix sstate issue

file-native when built on a Debian 10 host will embed a dependency to
'libbz2.so.1.0' (instead of 'libbz2.so.1'). This can cause issues
when sharing the sstate between hosts e.g.:

 recipe-sysroot-native/usr/lib/rpm/rpmdeps:
      error while loading shared libraries: libbz2.so.1.0: \
        cannot open shared object file: No such file or directory

To avoid this situation, let's add the bzip2-replacement-native to the
file recipe's DEPENDS_class-native .

Details in https://bugzilla.yoctoproject.org/show_bug.cgi?id=13915 .

Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-modules.tgz: fix file permissions to root
Li Wang [Wed, 20 May 2020 07:27:22 +0000 (15:27 +0800)]
linux-modules.tgz: fix file permissions to root

the files of linux-modules should be same permissions with rootfs.tar.bz2,
because it is a part of rootfs when used to install.

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoavahi: Don't advertise example services by default
Paul Barker [Wed, 20 May 2020 16:31:09 +0000 (17:31 +0100)]
avahi: Don't advertise example services by default

The example service files are placed into /etc/avahi/services when we
run `make install` for avahi. This results in ssh and sftp-ssh services
being announced by default even if no ssh server is installed in an
image.

These example files should be moved away to another location such as
/usr/share/doc/avahi (taking inspiration from Arch Linux).

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotestresults.json: add duration of the tests as well
Alexander Kanavin [Thu, 30 Apr 2020 12:30:33 +0000 (14:30 +0200)]
testresults.json: add duration of the tests as well

This is printed by testimage, but isn't actually saved.
It's a useful metric for tracking execution times.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Fix format security warnings with gcc10
Khem Raj [Wed, 20 May 2020 05:26:34 +0000 (22:26 -0700)]
ltp: Fix format security warnings with gcc10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Petr Vorel <petr.vorel@gmail.com>
Cc: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: Update to 20200515
Petr Vorel [Mon, 18 May 2020 20:36:44 +0000 (22:36 +0200)]
ltp: Update to 20200515

Inherit also pkgconfig (required for TI-RPC and Netlink based route
tests), to fix:
configure:6045: error: possibly undefined macro: AC_DEFINE

Refreshed patches (some tests have been fixed for musl)
* 0001-build-Add-option-to-select-libc-implementation.patch
(add a note here)
* 0001-Add-more-musl-exclusions.patch

Removed patches (different fix in upstream)
* 0003-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch

Removed patches (accepted upstream)
* 0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
* 0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch

Update upstream status
* 0004-guard-mallocopt-with-__GLIBC__.patch

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevtool: do not write md5sums into upgraded recipes
Alexander Kanavin [Tue, 19 May 2020 17:10:31 +0000 (19:10 +0200)]
devtool: do not write md5sums into upgraded recipes

This will drop them md5sums from recipes that still have them,
and will not re-add them for recipes where they're already
removed.

[RP: Added fix for the test recipe]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoacpica: Upgrade 20200214 -> 20200430 for gcc-10 fixes
Joe Slater [Tue, 19 May 2020 21:09:26 +0000 (14:09 -0700)]
acpica: Upgrade 20200214 -> 20200430 for gcc-10 fixes

Advance to version 20200430 to avoid multiple definition errors for uninitialized variables.
In this case, it is not enough to add -fcommon to CFLAGS.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobase/insane: Check pkgs lics are subset of recipe lics only once
Quentin Schulz [Mon, 20 Apr 2020 20:13:29 +0000 (22:13 +0200)]
base/insane: Check pkgs lics are subset of recipe lics only once

Move logic checking that all packages licenses are only a subset of
recipe licenses from base.bbclass to the insane.bbclass so that it's
evaluated only once, during do_package_qa.

As explained in the linked bugzilla entry, if a package license is not
part of the recipe license, the warning message gets shown an
unreasonable amount of time because it's evaluated every time a recipe
is parsed.

[YOCTO #10130]

This also makes it possible to silence this error with INSANE_SKIP.

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-11869
Lee Chee Yang [Mon, 18 May 2020 05:50:45 +0000 (13:50 +0800)]
qemu: fix CVE-2020-11869

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclasses/image_types_wic: Reorder do_flush_pseudodb
Ricardo Ribalda [Mon, 18 May 2020 10:22:04 +0000 (12:22 +0200)]
classes/image_types_wic: Reorder do_flush_pseudodb

When IMAGE_FSTYPES contains more types than wic, it can happen than the
pseudo database is not flushed properly.

This can be solved by changing the order of when do_flush_pseudodb is
launched.

Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13898
Fixes: dde90a5dd2b2 ("wic: Fix multi images .wks with bitbake")
Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibubootenv: Depend on zlib
Marek Vasut [Mon, 18 May 2020 08:27:55 +0000 (10:27 +0200)]
libubootenv: Depend on zlib

The libubootenv depends on zlib as it calls at least crc32() from
there and links against it. Add the DEPENDS entry.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxz: upgrade 5.2.4 -> 5.2.5
Denys Dmytriyenko [Mon, 18 May 2020 21:01:55 +0000 (17:01 -0400)]
xz: upgrade 5.2.4 -> 5.2.5

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: Upgrade to 4.4.16
Khem Raj [Tue, 19 May 2020 03:15:19 +0000 (20:15 -0700)]
libxcrypt: Upgrade to 4.4.16

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agore2c: Upgrade to 1.3
Khem Raj [Tue, 19 May 2020 03:15:18 +0000 (20:15 -0700)]
re2c: Upgrade to 1.3

License-update: License moved to its own file in topdir instead of
checksumming portions of README, the license still remains PD

Extend to build nativesdk as well, which is needed in SDKs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/recipeutils.py: passthrough of FETCHCMD
Konrad Weihmann [Mon, 18 May 2020 19:28:07 +0000 (21:28 +0200)]
lib/oe/recipeutils.py: passthrough of FETCHCMD

let FETCHCMD_* settings be passed to upstream check functions from
get_recipe_upgrade_status. It enables using different values for
the fetching tools, as otherwise always the defaults are used.
E.g. use different timeout or retry values for wget.
This is especially useful for remote server that do request-limiting (429)
or that are simply unavailable (500, 504) and can speedup upgrade-check
for a larger set of recipe significantly

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsoup-2.4: upgrade 2.68.4 -> 2.70.0
Anuj Mittal [Tue, 19 May 2020 03:57:26 +0000 (11:57 +0800)]
libsoup-2.4: upgrade 2.68.4 -> 2.70.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogsettings-desktop-schemas: upgrade 3.36.0 -> 3.36.1
Anuj Mittal [Tue, 19 May 2020 03:57:25 +0000 (11:57 +0800)]
gsettings-desktop-schemas: upgrade 3.36.0 -> 3.36.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomtools: upgrade 4.0.23 -> 4.0.24
Anuj Mittal [Tue, 19 May 2020 03:57:24 +0000 (11:57 +0800)]
mtools: upgrade 4.0.23 -> 4.0.24

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: upgrade to 2.12.0
Ovidiu Panait [Tue, 19 May 2020 08:43:09 +0000 (11:43 +0300)]
lttng-tools: upgrade to 2.12.0

Upgrade lttng-tools 2.11.2 -> 2.12.0:
* drop x32 patch, as it was merged upstream
* update ptest file mi-lttng-3.0.xsd -> mi-lttng-4.0.xsd
* add local patch to fix ptest build failure on musl
* License-Update: licenses were moved under LICENSES directory and changed in
  upstream commit [1]

[1] https://github.com/lttng/lttng-tools/commit/ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomake-mod-scripts: Fix dependence error.
zhengruoqin [Tue, 19 May 2020 14:46:46 +0000 (22:46 +0800)]
make-mod-scripts: Fix dependence error.

Error:
 Problem: conflicting requests
  - nothing provides make-mod-scripts = 1.0-r0 needed by
make-mod-scripts-dev-1.0-r0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: Update to 20200122 -> 20200421
Aníbal Limón [Tue, 19 May 2020 03:35:05 +0000 (22:35 -0500)]
linux-firmware: Update to 20200122 -> 20200421

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-kernel/linux-firmware: Add adreno-a630 firmware package
Aníbal Limón [Tue, 19 May 2020 03:35:04 +0000 (22:35 -0500)]
recipes-kernel/linux-firmware: Add adreno-a630 firmware package

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package
Aníbal Limón [Tue, 19 May 2020 03:35:03 +0000 (22:35 -0500)]
recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: add the missing rdepends
Mingli Yu [Mon, 18 May 2020 05:33:36 +0000 (13:33 +0800)]
python3-setuptools: add the missing rdepends

Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import setuptools.lib2to3_ex
 [snip]
 ModuleNotFoundError: No module named 'lib2to3'
 ModuleNotFoundError: No module named 'pickle'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Remove mudflap remnants
Adrian Bunk [Sun, 17 May 2020 12:59:52 +0000 (15:59 +0300)]
gcc: Remove mudflap remnants

mudflap was removed in gcc 4.9.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver.bbclass: Make do_deploy_archives a recursive dependency
Paul Barker [Mon, 9 Mar 2020 14:21:36 +0000 (14:21 +0000)]
archiver.bbclass: Make do_deploy_archives a recursive dependency

To ensure that archives are captured for all dependencies of a typical
bitbake build we add do_deploy_archives to the list of recursive
dependencies of do_build. Without this, archives may be missed for
recipes such as gcc-source which do not create packages or populate a
sysroot.

do_deploy_archives is also added to the recursive dependencies of
do_populate_sdk so that all sources required for an SDK can be captured.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobmap-tools: update development snapshot revision
Diego [Thu, 14 May 2020 22:26:14 +0000 (00:26 +0200)]
bmap-tools: update development snapshot revision

Update from a previous development snapshot to the latest development snapshot
that includes, among other improvements, support for zstd compression format.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoimage_types: declare support for wic.zst
Diego [Thu, 14 May 2020 22:16:02 +0000 (00:16 +0200)]
image_types: declare support for wic.zst

Declare images in wic.zst format as supported, as bmaptool now supports
zstd:
https://github.com/intel/bmap-tools/commit/1b8437d58447d3796dc11fd0f2c62bec5746e5d6
Given the very fast decompression speed of zstd over, for example, gzip,
writing images with bmaptool can provide big write speed improvements
when decompression speed is the limiting factor (especially with very
sparse images).

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: Fix "LTTng: vmalloc_sync_all symbol lookup failed" warnings
Ovidiu Panait [Fri, 15 May 2020 12:11:06 +0000 (15:11 +0300)]
lttng-modules: Fix "LTTng: vmalloc_sync_all symbol lookup failed" warnings

Fix the following warnings introduced after backporting linux kernel commit [1]
to stable branches:
# lttng create session
...
[  483.242037] LTTng: vmalloc_sync_all symbol lookup failed.
[  483.257056] Page fault handler and NMI tracing might trigger faults.
...

These patches should be dropped when a new stable 12.0 release is available.

[1] https://github.com/torvalds/linux/commit/763802b53a427ed3cbd419dbba255c414fdd9e7c

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-ust: upgrade to 2.12.0
Ovidiu Panait [Fri, 15 May 2020 12:11:04 +0000 (15:11 +0300)]
lttng-ust: upgrade to 2.12.0

Upgrade lttng-ust 2.11.1 -> 2.12.0.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: upgrade to 2.12.0
Ovidiu Panait [Fri, 15 May 2020 12:11:03 +0000 (15:11 +0300)]
lttng-modules: upgrade to 2.12.0

Upgrade lttng-modules 2.11.2 -> 2.12.0.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Backport upstream patch to fix __getauxval needs
Khem Raj [Fri, 15 May 2020 15:19:11 +0000 (08:19 -0700)]
valgrind: Backport upstream patch to fix __getauxval needs

Drop disabling outline-atomics since that was added to fix this issue in
particular

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosyslinux: Fix build with gcc10
Khem Raj [Sat, 16 May 2020 15:58:43 +0000 (08:58 -0700)]
syslinux: Fix build with gcc10

Bring in a patch from fedora to fix -fno-common issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomultilib_header_wrapper: Drop using __MHWORDSIZE
Khem Raj [Sat, 16 May 2020 15:58:42 +0000 (08:58 -0700)]
multilib_header_wrapper: Drop using __MHWORDSIZE

This is not needed as __WORDSIZE already represents same value and is
directly defined in wordsize.h, this simplifies the multlib headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomultilib_header: Fall back to worsize form libc for bpf target
Khem Raj [Sat, 16 May 2020 15:58:41 +0000 (08:58 -0700)]
multilib_header: Fall back to worsize form libc for bpf target

Setting bpf to use 64bit for wordlength is not right, it happens to
work perhaps becuase the targets its being run on are 64bit inherently

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomultilib_header_wrapper.h: Remove pragma once
Khem Raj [Sat, 16 May 2020 15:58:40 +0000 (08:58 -0700)]
multilib_header_wrapper.h: Remove pragma once

This was a bandaid to avoid include recursion caused by multilibbed
wordsize.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Do not synthesize wordsize.h for arm multilibs
Khem Raj [Sat, 16 May 2020 15:58:39 +0000 (08:58 -0700)]
glibc: Do not synthesize wordsize.h for arm multilibs

This has been constant source of trouble, because it is fundamental file
which sets machine word length and everything else builts on top of that
so when it is sythesized like this, where the sythesize template itself
needs wordsize.h to determine machine word length, it creates the
catch-22 problem, which is seen when building things like bpf, or
running clang-tidy etc. where compiler internal defines may not be used
this ends up in all sorts of problems. Now that glibc provides exact
same header for arm and aarch64, its no longer needed to be multilibbed
here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Unify wordsize.h for arm and aarch64
Khem Raj [Sat, 16 May 2020 15:58:38 +0000 (08:58 -0700)]
glibc: Unify wordsize.h for arm and aarch64

Should help simplify multilib in arm world

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk, pinentry: require gobject-introspection-data in DISTRO_FEATURES when libse...
Martin Jansa [Sat, 16 May 2020 00:45:45 +0000 (02:45 +0200)]
webkitgtk, pinentry: require gobject-introspection-data in DISTRO_FEATURES when libsecret PACKAGECONFIG is enabled

* gobject-introspection is mandatory since libsecret upgrade to 0.20.3
* enable libsecret in webkitgtk only when gobject-introspection-data
  is in DISTRO_FEATURES
* drop comment about libsecret being in meta-gnome from pinentry

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsecret: inherit features_check
Martin Jansa [Sat, 16 May 2020 00:45:44 +0000 (02:45 +0200)]
libsecret: inherit features_check

* otherwise REQUIRED_DISTRO_FEATURES doesn't do anything

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Move to gatesgarth naming
Richard Purdie [Fri, 15 May 2020 14:31:50 +0000 (15:31 +0100)]
layer.conf: Move to gatesgarth naming

We're still compatible with dunfell from the core perspective so
that is left for compatibility (probably for the next week or two).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoghostscript: Remove leftover file
Richard Purdie [Fri, 15 May 2020 15:22:53 +0000 (16:22 +0100)]
ghostscript: Remove leftover file

This should have been removed in a previous change but was accidentally
left behind and points at an invalid directory.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pyelftools: Upgrade 0.25 -> 0.26
Joshua Watt [Thu, 14 May 2020 21:04:58 +0000 (16:04 -0500)]
python3-pyelftools: Upgrade 0.25 -> 0.26

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pycryptodome(x): Upgrade 3.9.4 -> 3.9.7
Joshua Watt [Thu, 14 May 2020 21:04:57 +0000 (16:04 -0500)]
python3-pycryptodome(x): Upgrade 3.9.4 -> 3.9.7

Also splits apart the SRC_URI checksums to make automatic upgrades
easier

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopyelftools: Import from meta-python
Joshua Watt [Thu, 14 May 2020 21:04:56 +0000 (16:04 -0500)]
pyelftools: Import from meta-python

Imports the pyelftools recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").

This recipe is commonly used by other layers, so moving it into
OE-core helps to cut down on layer dependencies.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopycryptodome: Import from meta-python
Joshua Watt [Thu, 14 May 2020 21:04:55 +0000 (16:04 -0500)]
pycryptodome: Import from meta-python

Imports the pycryptodome recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").

These recipes are commonly used by other layers, so moving them into
OE-core helps to cut down on layer dependencies.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosquashfs-tools: Backport fix for compiling with gcc 10
Jacob Kroon [Thu, 14 May 2020 20:49:29 +0000 (22:49 +0200)]
squashfs-tools: Backport fix for compiling with gcc 10

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemuarm64.conf: Use cortext-a57 as default tune
Khem Raj [Thu, 14 May 2020 18:28:20 +0000 (11:28 -0700)]
qemuarm64.conf: Use cortext-a57 as default tune

This is more appropriate for the machine we are emulating

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Drop reverting __getauxval patch
Khem Raj [Thu, 14 May 2020 17:30:10 +0000 (10:30 -0700)]
gcc: Drop reverting __getauxval patch

Issue has been fixed in valgrind itself

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Do not use outline-atomics on aarch64
Khem Raj [Thu, 14 May 2020 17:30:09 +0000 (10:30 -0700)]
valgrind: Do not use outline-atomics on aarch64

This avoids the __getauxval undefined reference error seen with gcc10 on
doing static linking with -nodefaultlibs, which is uncommon usecase
anyway, disabling outline-atomics is not a huge deal for OE in terms of
performance as we already use -mcpu which is tuned enough to the SOC the
code is being generated for

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>