]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agooeqa/core: Add a check for MACHINE
Armin Kuster [Tue, 12 Nov 2019 04:33:20 +0000 (20:33 -0800)]
oeqa/core: Add a check for MACHINE

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: Correct when to use the package provided systemd unit files
Peter Kjellerstedt [Wed, 13 Nov 2019 05:14:04 +0000 (06:14 +0100)]
sysstat: Correct when to use the package provided systemd unit files

There have been a number of changes back and forth as to when and how
to use the systemd unit files provided by the package. The correct
condition is actually that both cron and systemd need to be enabled
for them to be installed.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: Correct our systemd unit file
Peter Kjellerstedt [Wed, 13 Nov 2019 05:14:03 +0000 (06:14 +0100)]
sysstat: Correct our systemd unit file

In commit 8862f21e (sysstat: 12.1.3 -> 12.1.6), sa_lib_dir was changed
from "${libdir}/sa" to "${libexecdir}/sa" to avoid problems with
multilib. However, the systemd unit file was not changed accordingly,
which lead to the following error when trying to start the service:

  systemd[4698]: sysstat.service: Failed at step EXEC spawning
  /usr/lib/sa/sa1: No such file or directory

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-six:upgrade 1.12.0 -> 1.13.0
Zang Ruochen [Wed, 13 Nov 2019 05:09:43 +0000 (13:09 +0800)]
python3-six:upgrade 1.12.0 -> 1.13.0

-License-Update: Copyright year updated to 2019.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibinput:upgrade 1.14.1 -> 1.14.3
Zang Ruochen [Wed, 13 Nov 2019 05:03:28 +0000 (13:03 +0800)]
libinput:upgrade 1.14.1 -> 1.14.3

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomc: Fix build reproducibility
Joshua Watt [Wed, 13 Nov 2019 04:10:31 +0000 (22:10 -0600)]
mc: Fix build reproducibility

Fixes some issues with reproducible builds. Adds a patch to allow the
configure arguments to be omitted from the build and also explicitly
setting some autoconf paths that were picking up hosttools.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocurl:upgrade 7.66.0 -> 7.67.0
Zang Ruochen [Wed, 13 Nov 2019 03:39:20 +0000 (11:39 +0800)]
curl:upgrade 7.66.0 -> 7.67.0

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibcheck:upgrade 0.12.0 -> 0.13.0
Zang Ruochen [Wed, 13 Nov 2019 03:23:31 +0000 (11:23 +0800)]
libcheck:upgrade 0.12.0 -> 0.13.0

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoicecc-create-env: Use OE patchelf in SDK
Joshua Watt [Wed, 13 Nov 2019 21:24:00 +0000 (15:24 -0600)]
icecc-create-env: Use OE patchelf in SDK

The Icecream environment creation script runs when the SDK is installed
and uses patchelf to fix up executables. Rather than rely on the host
system to provided patchelf (which often can be older versions that
produce buggy executables), mark the OE version of patchelf as a
dependency of icecc-create-env when included in the SDK.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/store.py: Enable add extra test environment data
Yeoh Ee Peng [Thu, 7 Nov 2019 09:50:30 +0000 (17:50 +0800)]
resulttool/store.py: Enable add extra test environment data

Enable the option to add extra test environment data to the
configuration of each test result (as optional).

Example of optional test environment data include:
- custom packages included for runtime test
- detail machine specification used as target
- detail host environment used for bitbake

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/resulttool/report: Add total statistic to test result.
Yeoh Ee Peng [Thu, 7 Nov 2019 09:50:29 +0000 (17:50 +0800)]
scripts/resulttool/report: Add total statistic to test result.

Add total passed, failed, and skipped statistic to test result.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/resulttool/report: Enable output raw test results
Yeoh Ee Peng [Thu, 7 Nov 2019 09:50:28 +0000 (17:50 +0800)]
scripts/resulttool/report: Enable output raw test results

In case of debugging, report user need to acccess the raw
test result. Instead of going back to source file/directory/URL
to manually pull out the raw result, provide alternative
way to let report showing raw test results by providing
the result id (optional).

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/resulttool/report: Enable report to use regression_map
Yeoh Ee Peng [Thu, 7 Nov 2019 09:50:27 +0000 (17:50 +0800)]
scripts/resulttool/report: Enable report to use regression_map

By default, report will use the store_map to generate the key
to reference each result set. In some situation when using store_map
with multiple set of tests sharing similar test configurations,
the report will only showing partial result set for results
that having identical result_id (use of multiconfig to run tests
where it generate identical result_id).

Enable report to have the option to use the regression_map (optional)
instead of the default store_map, where it will take larger
set of configurations to generate the key to reference each
result set, this will prevent the report from only showing
partial result set.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Fix invalid argument of pstore log entry
Yongxin Liu [Thu, 7 Nov 2019 23:16:27 +0000 (07:16 +0800)]
systemd: Fix invalid argument of pstore log entry

Fix "systemd-pstore: Failed to log pstore entry: Invalid argument"
by backporting 1b3156edd291e0882d80a695d035dd30521345d1 from upstream.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: beautify 'wic help'
Chee Yang Lee [Fri, 8 Nov 2019 03:41:19 +0000 (11:41 +0800)]
wic: beautify 'wic help'

The Wic help returned to the user is unreadable.

Use a custom ArgumentParser to override argparse help message.

change help message as suggest in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12205
[YOCTO #12205]

changes applies to 'wic help', 'wic -h', 'wic --h' and 'wic --help'

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibnsl2: Update to latest master
Khem Raj [Fri, 8 Nov 2019 02:01:02 +0000 (18:01 -0800)]
libnsl2: Update to latest master

Get following patches

Detect recursive lock between yp_all() and do_ypcall()
Detect recursive NIS calls

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-update-db-native: don't refresh more than once an hour
Ross Burton [Thu, 7 Nov 2019 23:58:30 +0000 (23:58 +0000)]
cve-update-db-native: don't refresh more than once an hour

We already fetch the yearly CVE metadata and check that for updates before
downloading the full data, but we can speed up CVE checking further by only
checking the CVE metadata once an hour.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocve-check: we don't actually need to unpack to check
Ross Burton [Thu, 7 Nov 2019 23:58:29 +0000 (23:58 +0000)]
cve-check: we don't actually need to unpack to check

The patch scanner works with patch files in the layer, not in the workdir, so it
doesn't need to unpack.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoovmf: unify DEPENDS
Ross Burton [Thu, 7 Nov 2019 23:58:28 +0000 (23:58 +0000)]
ovmf: unify DEPENDS

Instead of depending on iasl-native, depend on ovmf-native as iasl was merged
into that recipe some time ago.

bc-native doesn't appear to be a build requirement anymore, and for clarity
merge two overridden DEPENDS into a single DEPENDS.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoacpica: upgrade to 20191018
Ross Burton [Thu, 7 Nov 2019 23:58:27 +0000 (23:58 +0000)]
acpica: upgrade to 20191018

The upstream tarballs now have a unified source license of Intel|BSD|GPLv2 and
the old BSD|GPLv2 tarballs are deprecated.

Add the Intel license to the license collection, update the LICENSE field, and
update the license checksum to actually point at a license fragment.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsoup: update patch upstream status
Ross Burton [Thu, 7 Nov 2019 23:58:26 +0000 (23:58 +0000)]
libsoup: update patch upstream status

This has been merged to master now, so mark as a backport.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopopulate_sdk_ext.bbclass: Make integrated buildtools optional
Mark Hatle [Thu, 7 Nov 2019 23:26:26 +0000 (17:26 -0600)]
populate_sdk_ext.bbclass: Make integrated buildtools optional

If the host system is expected to have enough capabilities that the
buildtools-tarball is not required, we don't need to bundle it.

This can save some significant space, especially when using with a minimal
eSDK.

minimal eSDK - core-image-minimal-qemux86-64

with buildtools-tarball     - 34 MB installer - 281 MB installed
without buildtoools-tarball - 11 MB installer -  48 MB installed

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildtools-tarball: export OPENSSL_CONF for openssl
Liwei Song [Fri, 8 Nov 2019 09:19:05 +0000 (17:19 +0800)]
buildtools-tarball: export OPENSSL_CONF for openssl

export OPENSSL_CONF to aviod SDK openssl can not find openssl.cnf.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo: Refactor patches for 1.13.3
Alex Kube [Fri, 25 Oct 2019 13:58:26 +0000 (18:28 +0430)]
go: Refactor patches for 1.13.3

Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildhistory: fix "version went backwards" QA error message
Denys Dmytriyenko [Fri, 8 Nov 2019 20:59:29 +0000 (15:59 -0500)]
buildhistory: fix "version went backwards" QA error message

Fix parentheses placement in the message from:
Package version for package X went backwards which would break package feeds from (Y to Z)
to this one:
Package version for package X went backwards which would break package feeds (from Y to Z)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodhcp: Workaround busybox limitation in Linux dhclient-script
Haris Okanovic [Fri, 8 Nov 2019 21:46:31 +0000 (15:46 -0600)]
dhcp: Workaround busybox limitation in Linux dhclient-script

Busybox's implementation of chown and chmod doesn't provide a
"--reference" option used in the latest version of dhclient-script.
This change works around that limitation by using stat to read
ownership and permissions flags and simple chown/chmod calls
supported in both coreutils and busybox.

Patch submitted upstream to ISC, tracked as bug 48771.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-misc: add python3-audio to RDEPENDS
Trevor Gamblin [Sat, 9 Nov 2019 01:46:40 +0000 (20:46 -0500)]
python3-misc: add python3-audio to RDEPENDS

Import issues are encountered for the python3 aifc module,
on images with python3-misc installed:

|>>> import aifc
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.7/aifc.py", line 254, in <module>
|from chunk import Chunk
|ModuleNotFoundError: No module named 'chunk'
|>>>

The chunk module is part of python3-audio. Add python3-audio
to RDEPENDS for python3-misc to fix the error.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiputils: Whitelist CVE-2000-1213 CVE-2000-1214
Adrian Bunk [Mon, 4 Nov 2019 20:55:03 +0000 (22:55 +0200)]
iputils: Whitelist CVE-2000-1213 CVE-2000-1214

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoarchiver: avoid empty incfile in ar_recipe
grygorii tertychnyi [Fri, 1 Nov 2019 07:10:43 +0000 (09:10 +0200)]
archiver: avoid empty incfile in ar_recipe

do_ar_recipe fails on perf recipe on line:

include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}

1. "${...}" part expands into empty string
2. bb.utils.which() takes empty string and returns first directory name from bbpath
3. shutil.copy() fails on copying directory:

Exception: IsADirectoryError: [Errno 21] Is a directory: ......

Hence, check "incfile" variable on each step.

Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinsane: improve textrel warning message
Ross Burton [Mon, 11 Nov 2019 12:45:12 +0000 (12:45 +0000)]
insane: improve textrel warning message

Clean the displayed path so it clearly shows the package name and path in that
package.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodbus: drop unused group netdev
Stefan Agner [Mon, 11 Nov 2019 13:36:26 +0000 (13:36 +0000)]
dbus: drop unused group netdev

The whole D-Bus source has no reference to the netdev group. It
seems that the netdev group is nowhere used. Early avahi package
versions used this group for the D-Bus specific rules. However,
today avahi uses --with-avahi-priv-access-group=adm and hence
uses the adm group for its D-Bus policy rules.

If a package is using the netdev group in its D-Bus policy rules,
that package should add the group instead.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosqlite3: Drop pic as we no longer need the sqlite3 static lib
Richard Purdie [Mon, 11 Nov 2019 13:20:42 +0000 (13:20 +0000)]
sqlite3: Drop pic as we no longer need the sqlite3 static lib

This was added in:
https://git.openembedded.org/openembedded-core/commit/?id=6a58e12d19c539deac9e90679a68438497a42fa4
but is no longer needed now pseudo doesn't use sqlite's static lib.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Add runtime dependency on new ldconfig package
Andreas Oberritter [Thu, 7 Nov 2019 20:49:43 +0000 (21:49 +0100)]
systemd: Add runtime dependency on new ldconfig package

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage.bbclass: Always include ldconfig fragment
Andreas Oberritter [Thu, 7 Nov 2019 20:49:42 +0000 (21:49 +0100)]
package.bbclass: Always include ldconfig fragment

Now that ldconfig may get installed from a feed, use it when it's
available on the target.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc: move ldconfig to its own package
Andreas Oberritter [Thu, 7 Nov 2019 20:49:41 +0000 (21:49 +0100)]
glibc: move ldconfig to its own package

Only recommend its installation, if it's enabled in distro features.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa: add missing description for some recipes in graphics
Maxime Roussin-Bélanger [Thu, 7 Nov 2019 02:34:36 +0000 (21:34 -0500)]
meta: add missing description for some recipes in graphics

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopseudo: Drop static linking to sqlite3
Richard Purdie [Fri, 8 Nov 2019 14:36:36 +0000 (14:36 +0000)]
pseudo: Drop static linking to sqlite3

Back in 2010[1] we made pseudo statically link against sqlite3. Since then
the world has changed, pseudo now has separate processes for the database
in the server and the client and they have separate linking commands.

Also, whilst there were concerns about needing specific versions of sqlite3,
in the OE environment, this is always the case.

[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ad0ac0ecd38fc77daf42485489fccc10a5e1e3e7

The static sqlite3-native is causing us problems, in particular:

tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+060058bb29-r0/recipe-sysroot-native/usr/lib/libsqlite3.a(sqlite3.o):(.data.rel+0xb0): undefined reference to `fcntl64'

which occurs if sqlite3-native was built on a machine with glibc 2.28 or later
and pseudo-native is being built on glibc before that. With dyanmical linking,
libc is backwards compatible and works but with static linking it does not.

There appears to be no easy way to avoid this other than adding a copy of
sqlite3 into the pseudo recipe. Given the static linking doesn't seem to
be required any longer due to the separate processes, drop that to fix
those issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiproute2: update 5.2.0 -> 5.3.0
Changhyeok Bae [Thu, 7 Nov 2019 09:09:07 +0000 (10:09 +0100)]
iproute2: update 5.2.0 -> 5.3.0

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorm_work: Simplify logic for setscene promotion
Jacob Kroon [Thu, 7 Nov 2019 15:35:15 +0000 (16:35 +0100)]
rm_work: Simplify logic for setscene promotion

* Instead of overwriting the stamp name with 'dummy', handle
  setscene promotion in the default case block
* Merge '*do_image_complete_setscene*' and '*do_image_qa_setscene*'
  case handling

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotune-cortexa32: Fix libgcc-initial build issue for cortex-a32
Jagadeesh Krishnanjanappa [Thu, 7 Nov 2019 14:57:50 +0000 (20:27 +0530)]
tune-cortexa32: Fix libgcc-initial build issue for cortex-a32

When we try to build images for machine which is tuned for
cortex-a32, then libgcc-initial recipe fails to build with
below error message.

-- snip --
configure:3529: aarch64-poky-linux-gcc  -mcpu=cortex-a32+crc -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=.../tmp/work/aarch64-poky-linux/libgcc-initial/9.2.0-r0/recipe-sysroot -o conftest  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=.../tmp/work/aarch64-poky-linux/libgcc-initial/9.2.0-r0=/usr/src/debug/libgcc-initial/9.2.0-r0                      -fdebug-prefix-map=.../tmp/work/aarch64-poky-linux/libgcc-initial/9.2.0-r0=/usr/src/debug/libgcc-initial/9.2.0-r0                      -fdebug-prefix-map=.../tmp/work/aarch64-poky-linux/libgcc-initial/9.2.0-r0/recipe-sysroot=                      -fdebug-prefix-map=.../tmp/work/aarch64-poky-linux/libgcc-initial/9.2.0-r0/recipe-sysroot-native=   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now conftest.c  >&5
aarch64-poky-linux-gcc: fatal error: unknown value 'cortex-a32+crc' for '-mcpu'
-- snip --

- Replacing TUNE_FEATURES from aarch64 to armv8a will solve the above
build issue.
- Changed BASE_LIB to 'lib', as cortex-a32 is a 32bit ARMv8a architecture.

The sample machine config file (qemuarma32.conf) used to reproduce
the error looks like:

-- snip --

require conf/machine/include/tune-cortexa32.inc
require conf/machine/include/qemu.inc

KERNEL_IMAGETYPE = "Image"

SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0"

KMACHINE_qemuarma32 = "qemuarm64"
-- snip --

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoharfbuzz: split libharfbuzz-subset.so to its own binary package
Mikko Rapeli [Thu, 7 Nov 2019 13:39:11 +0000 (15:39 +0200)]
harfbuzz: split libharfbuzz-subset.so to its own binary package

harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
1365431 bytes in yocto 3.0. Most of the size increase is in the new
libharfbuzz-subset.so* library
https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset

Split it to its own binary package which will be installed if anyone needs it.
Effect to harfbuzz binary package size is:

-PKGSIZE = 1476271
+PKGSIZE = 1007424

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa/lib/oe/package_manager.py: Enable sha256 checksums in opkg indexer
Haris Okanovic [Thu, 7 Nov 2019 22:07:36 +0000 (16:07 -0600)]
meta/lib/oe/package_manager.py: Enable sha256 checksums in opkg indexer

Pass `--checksum md5` and `--checksum sha256` to opkg-make-index.

Sha256 checksum enables more reliable install-time validation of IPKs.
This is particularly useful when installing from signed feeds --
I.e. feeds using signed Packages index files that deliver otherwise
unsigned IPKs. Such feeds rely on hash validation of enclosed IPKs to
thwart tampering. After download, opkg verifies IPK's checksum against
the (signed) Packages index file. Weak hashes like md5 are prone to
collision and therefore tampering.

The md5 checksum is purely for backward compatibility. Sha256 validation
was recently added to opkg. Newer builds of opkg will use it. Older
builds still look for an md5 checksum. Md5 is deprecated and should be
removed once old build are phased out.

Testing: I ran `bitbake package-index` after building a few IPKs and
verified MD5Sum and SHA256sum attributes are present in Packages.
Using opkg-utils 0.4.0.

Performance Impact: It takes about 40 seconds to cleanly re-index 8000
IPKs on an Intel Xeon E5-1620 machine. This was previously about
20 seconds.

NOTE: It's recommended to delete all Packages* files after applying this
patch. Otherwise, some IPKs won't have sha256.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognupg/libksba/npth/pinentry: Add nativesdk to BBCLASSEXTEND
Haris Okanovic [Thu, 7 Nov 2019 22:06:51 +0000 (16:06 -0600)]
gnupg/libksba/npth/pinentry: Add nativesdk to BBCLASSEXTEND

Enable nativesdk builds of gnupg and it's dependencies (libksba, npth,
and pinentry) to fix builds of nativesdk-opkg.

This is necessary on distribution which enable gpg signature
verification in opkg and also build SDK images that include opkg.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopkg: RDEPEND "gnupg-gpg" instead of "gnupg"
Haris Okanovic [Thu, 7 Nov 2019 22:04:21 +0000 (16:04 -0600)]
opkg: RDEPEND "gnupg-gpg" instead of "gnupg"

gnupg-gpg is a minimal installation of gnupg with enough functionality
to verify signatures and manage keys. Use this package instead of full
gnupg to slim down opkg installations with "--enable-gpg".

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognupg: Split gpg and gpg-agent into a minimal gnupg-gpg package
Haris Okanovic [Thu, 7 Nov 2019 22:04:19 +0000 (16:04 -0600)]
gnupg: Split gpg and gpg-agent into a minimal gnupg-gpg package

Add minimal "gnupg-gpg" package containing just enough binaries to run
gpg and gpg-agent. Add dependency in normal "gnupg" package to preserve
old behavior.

Some applications like opkg don't need all functionality provided by
normal gnupg installations. This minimal package provides just enough
functionality to verify and manage keys in opkg, in order to minimize
disk overhead.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: update packaging (one package per shared library)
André Draszik [Thu, 7 Nov 2019 15:36:39 +0000 (15:36 +0000)]
libevent: update packaging (one package per shared library)

libevent produces several libraries that might or might not
be used in the end. We can prevent those potentially unused
libraries from being pulled into a file-system by splitting
the individual shared libraries into individual packages.

Because this recipe only provides shared libraries which are
handled automatically by bitbake (shlibs), there is no need
to add the subpackages to the RDEPENDS of PN for backwards
compatibility. The packaging process of dependees will
simply pull in the sub-packages as runtime dependency as
needed.

This also how Debian splits this up.

While updating the packaging, we can also drop event_rpcgen.py
which appears to be a tool for generating rpc bindings, i.e.
something that should normally be in -dev. Given Debian
doesn't package this at all, and given it actually requires
python to run but no runtime dependency is stated at the
moment, it would appear that no users of this exist.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinitscripts/sysfs.sh: Mount /sys/firmware/efi/efivars when possible
Haris Okanovic [Thu, 7 Nov 2019 19:24:54 +0000 (13:24 -0600)]
initscripts/sysfs.sh: Mount /sys/firmware/efi/efivars when possible

Without this change, efibootmgr is unable to recover BootOrder if lost
during a previous write operation, e.g. exceeded storage capacity. This
is problematic using EFI to manage boot flow from Linux (E.g. via RAUC).

https://www.kernel.org/doc/Documentation/filesystems/efivarfs.txt

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoisoimage-isohybrid.py: Parameterize ESP partition size
Haris Okanovic [Thu, 7 Nov 2019 18:51:42 +0000 (12:51 -0600)]
isoimage-isohybrid.py: Parameterize ESP partition size

Add "esp_extra_blocks" plugin parameter so that caller may change
ESP's free space from the default 100 blocks.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoisoimage-isohybrid.py: Parameterize ESP label
Haris Okanovic [Thu, 7 Nov 2019 18:51:15 +0000 (12:51 -0600)]
isoimage-isohybrid.py: Parameterize ESP label

Add "esp_label" plugin parameter so that caller may override default
ESP partition label 'EFIimg'.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtirpc: create the symbol link for rpc header files
Zhixiong Chi [Thu, 7 Nov 2019 03:30:29 +0000 (19:30 -0800)]
libtirpc: create the symbol link for rpc header files

Since the Sun RPC is deprecated in glibc, the rpc header files
are not provided any more, but it allows alternative RPC
implementations, such as TIRPC or rpcsvc-proto, to be used.

So we create the symbol link for rpc header files for tirpc to
be more compatible with the glibc version and the application usage.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: upgrade 2.26.1 -> 2.26.2
Andreas Müller [Thu, 7 Nov 2019 00:11:49 +0000 (01:11 +0100)]
webkitgtk: upgrade 2.26.1 -> 2.26.2

>From announcement:

What's new in the WebKitGTK 2.26.2 release?
===========================================

  - Improve performance of querying system fallback fonts.
  - Don't use prgname in dbus-proxy socket path.
  - Fix thread-safety issues in image decoders.
  - Fix the build with WebDriver disabled.
  - Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland.
  - Fill the objects category in emoji picker.
  - Fix several crashes and rendering issues.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopseudo: Add statx support to fix fedora30 issues
Richard Purdie [Wed, 6 Nov 2019 13:20:01 +0000 (13:20 +0000)]
pseudo: Add statx support to fix fedora30 issues

Modern distros (e.g. fedora30) are starting to use the new statx() syscall through
the newly exposed glibc wrapper function in software like coreutils (e.g. the ls
command). Add support to intercept this to pseudo.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: reproducible: Add option to capture bad packages
Joshua Watt [Thu, 24 Oct 2019 18:07:19 +0000 (13:07 -0500)]
oeqa: reproducible: Add option to capture bad packages

Adds an option that can be used to copy the offending packages to a temp
directory for later evaluation. This is useful on the Autobuilder to
investigate failures.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodhcp/ruby/ffpmeg: Use CFLAGS, not TARGET_CFLAGS
Richard Purdie [Wed, 3 Jul 2019 09:41:57 +0000 (10:41 +0100)]
dhcp/ruby/ffpmeg: Use CFLAGS, not TARGET_CFLAGS

There isn't anything specific about the target in these cases an in
general recipes should touch CFLAGS. This ensures people don't
copy/paste bad example usages. In reality, behaviour is mostly
unchanged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorm_work: Promote do_image_qa stamps to setscene versions
Jacob Kroon [Wed, 6 Nov 2019 12:34:58 +0000 (13:34 +0100)]
rm_work: Promote do_image_qa stamps to setscene versions

[ YOCTO #13212 ]

Suggested-by: Romuald Jeanne <romuald.jeanne@st.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-firmware: update packaging for brcm files
Samuli Piippo [Wed, 6 Nov 2019 09:39:26 +0000 (09:39 +0000)]
linux-firmware: update packaging for brcm files

Add new package for bcm4366c and include available NVRAM config files
into the corrent bcm* packages.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsoup-2.4: upgrade to 2.66.4
Ross Burton [Tue, 5 Nov 2019 15:24:18 +0000 (15:24 +0000)]
libsoup-2.4: upgrade to 2.66.4

Fixes CVE-2019-17266.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsoup: set CVE_PRODUCT
Ross Burton [Tue, 5 Nov 2019 15:24:17 +0000 (15:24 +0000)]
libsoup: set CVE_PRODUCT

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibdrm:upgrade 2.4.99 -> 2.4.100
Zang Ruochen [Wed, 6 Nov 2019 07:09:06 +0000 (15:09 +0800)]
libdrm:upgrade 2.4.99 -> 2.4.100

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoethtool:upgrade 5.2 -> 5.3
Zang Ruochen [Wed, 6 Nov 2019 05:55:21 +0000 (13:55 +0800)]
ethtool:upgrade 5.2 -> 5.3

-Refresh the following patch:
 ethtool/avoid_parallel_tests.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostrace: Fix ptest build
Khem Raj [Wed, 6 Nov 2019 04:05:08 +0000 (20:05 -0800)]
strace: Fix ptest build

include stdint.h since the test uses uintptr_t C99 type

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtirpc: Do not include bits/endian.h directly
Khem Raj [Wed, 6 Nov 2019 02:47:48 +0000 (18:47 -0800)]
libtirpc: Do not include bits/endian.h directly

this file is supposed be included via endian.h indirectly, moreover
Future musl versions does not have this file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoruby:upgrade 2.6.4 -> 2.6.5
Zang Ruochen [Wed, 6 Nov 2019 01:20:47 +0000 (09:20 +0800)]
ruby:upgrade 2.6.4 -> 2.6.5

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftest/signing: Fix test_locked_signatures to use a temporary layer
Richard Purdie [Sun, 27 Oct 2019 10:59:03 +0000 (10:59 +0000)]
selftest/signing: Fix test_locked_signatures to use a temporary layer

Tests shouldn't be writing to layers during tests as this could corrupt
other tests running in parallel.

Modify the test to write the bbappend to a separate temporary layer
which is added and removed by the test. This avoids race failures
on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Add ability to hide summary output for sstate
Richard Purdie [Mon, 4 Nov 2019 17:28:58 +0000 (17:28 +0000)]
sstate: Add ability to hide summary output for sstate

Its confusing to keep seeing sstate summary messages when hash equivalency is
active. This adds an option to control it. A default value is given which
maintains compatibility with different bitbake versions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostaging: Handle files moving between dependencies
Richard Purdie [Mon, 4 Nov 2019 17:27:52 +0000 (17:27 +0000)]
staging: Handle files moving between dependencies

Currently, if files move between recipes, do_prepare_sysroot can fail with a message like

Exception: FileExistsError: [Errno 17] File exists:
'TMPDIR/sysroots-components/core2-64/libx11/usr/include/X11/extensions/XKBgeom.h' ->
'TMPDIR/work/core2-64-poky-linux/gtk+3/3.24.8-r0/recipe-sysroot/usr/include/X11/extensions/XKBgeom.h'

This is because files are removed and then added per package. What needs to
happen is all removes need to be processed, then all additions.

This patch changes the code to process in two phases, removals first, then additions,
which avoids the problem.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolz4: Whitelist CVE-2014-4715
Adrian Bunk [Mon, 4 Nov 2019 20:55:04 +0000 (22:55 +0200)]
lz4: Whitelist CVE-2014-4715

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: Upgrade 3.7.4 -> 3.7.5
Adrian Bunk [Mon, 4 Nov 2019 19:10:47 +0000 (21:10 +0200)]
python3: Upgrade 3.7.4 -> 3.7.5

Backported patches removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpam: set CVE_PRODUCT
Ross Burton [Mon, 4 Nov 2019 16:23:50 +0000 (16:23 +0000)]
libpam: set CVE_PRODUCT

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogit: update to 2.24.0
Oleksandr Kravchuk [Mon, 4 Nov 2019 16:09:09 +0000 (17:09 +0100)]
git: update to 2.24.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsndfile1: whitelist CVE-2018-13419
Ross Burton [Mon, 4 Nov 2019 14:26:54 +0000 (14:26 +0000)]
libsndfile1: whitelist CVE-2018-13419

This is a memory leak that nobody else can replicate and has been rejected by
upstream.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoprocps: whitelist CVE-2018-1121
Ross Burton [Mon, 4 Nov 2019 14:26:53 +0000 (14:26 +0000)]
procps: whitelist CVE-2018-1121

This CVE is about race conditions in 'ps' which make it unsuitable for security
audits.  As these race conditions are unavoidable ps shouldn't be used for
security auditing, so this isn't a valid CVE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpng: whitelist CVE-2019-17371
Ross Burton [Mon, 4 Nov 2019 14:26:52 +0000 (14:26 +0000)]
libpng: whitelist CVE-2019-17371

This is actually a memory leak in gif2png 2.x, so whitelist it in the libpng
recipe.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovte: upgrade 0.56.3 -> 0.58.2
Andreas Müller [Fri, 1 Nov 2019 23:08:59 +0000 (00:08 +0100)]
vte: upgrade 0.56.3 -> 0.58.2

* they moved to meson build
* all autotools specific patches must go
* although not inheriting gettext dependency on intltool-native can go
* tested with all variants of PACKAGECONFIG
* need it for gnome-terminal 3.34

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopsplash: Do mount psplash tmpfs if not mounted
Torbjörn Svensson [Sat, 2 Nov 2019 15:42:39 +0000 (16:42 +0100)]
psplash: Do mount psplash tmpfs if not mounted

The change in 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9 cases the
following to be printed during boot:
/etc/rcS.d/S00psplash.sh: line 28: [: -q: binary operator expected
and the volume is thus never mounted, neither when invoked during
boot nor shutdown/reboot.

Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopatch: the CVE-2019-13638 fix also handles CVE-2018-20969
Ross Burton [Mon, 4 Nov 2019 12:27:13 +0000 (12:27 +0000)]
patch: the CVE-2019-13638 fix also handles CVE-2018-20969

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: run test suite when building natively
Ross Burton [Mon, 4 Nov 2019 12:14:57 +0000 (12:14 +0000)]
file: run test suite when building natively

As we apply the same patches to native and target builds of file, we can verify
that the patches are not breaking by executing the test suite during the build
of file-native.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: remove redundant upstream check workaround
Ross Burton [Mon, 4 Nov 2019 12:14:56 +0000 (12:14 +0000)]
file: remove redundant upstream check workaround

This tag has been removed, so we don't need to work around it anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: fix CVE-2019-18218
Ross Burton [Mon, 4 Nov 2019 12:14:55 +0000 (12:14 +0000)]
file: fix CVE-2019-18218

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/oe-pkgdata-util: Enable list-pkgs to print ordered packages
Yeoh Ee Peng [Fri, 1 Nov 2019 06:43:47 +0000 (14:43 +0800)]
scripts/oe-pkgdata-util: Enable list-pkgs to print ordered packages

The list-pkgs currently print packages in unordered format.
Enable list-pkgs to print ordered packages that will ease
viewing.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibksba: Fix license specification
Alexander Hirsch [Fri, 1 Nov 2019 11:47:16 +0000 (12:47 +0100)]
libksba: Fix license specification

The tools (e.g. build system, tests) & manual are licensed as GPLv3+ and
the library itself is GPLv2+ | LGPLv3+.

This is documented in libksba/AUTHORS:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=blob;f=AUTHORS;h=c161951281f2a432ad0ff112111f70a83e1d93fa;hb=3df0cd32e3b21b7da96a93d1f84d6cb6a77b89be

Signed-off-by: Alexander Hirsch <alexander.hirsch@gin.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoselftest: add a test for gpl3-free images
Alexander Kanavin [Thu, 31 Oct 2019 13:53:05 +0000 (14:53 +0100)]
selftest: add a test for gpl3-free images

Existing tests check that adding a specific gpl3 package (bash)
to core-image-minimal results in expected behaviour.

These tests check the ability to build two common images
without gpl3 components in them:

1. core-image-minimal needs no further tweaks and works
out of the box.

2. core-image-full-cmdline requires dropping the GNU packages
that it pulls in; for good measure this tweaked image is
verified with runtime tests.

These two tests allow dropping meta-gplv2 from being tested
on the autobuilder, however there should be a community consensus
first.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoofono: update to 1.31
Oleksandr Kravchuk [Thu, 31 Oct 2019 18:35:48 +0000 (19:35 +0100)]
ofono: update to 1.31

Changelog:
- Fix issue with handling CID 0 context identifier
- Fix issue with handling detach state and running LTE
- Fix issue with handling SIM states and Quectel modems

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agognu-efi: Upgrade 3.0.10 -> 3.0.11
Adrian Bunk [Thu, 31 Oct 2019 18:33:06 +0000 (20:33 +0200)]
gnu-efi: Upgrade 3.0.10 -> 3.0.11

Patch applied upstream removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoell: update to 0.26
Oleksandr Kravchuk [Thu, 31 Oct 2019 17:23:03 +0000 (18:23 +0100)]
ell: update to 0.26

Changelog:
- Fix issue with memory leak and TLS certificates
- Fix issue with buffer size and TLS PRF handling
- Add support for D-Bus non-root ObjectManager

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agonfs-utils: do not depend on bash unnecessarily
Alexander Kanavin [Thu, 31 Oct 2019 13:53:04 +0000 (14:53 +0100)]
nfs-utils: do not depend on bash unnecessarily

Nothing in the target install actually needs it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agorecipeutils-test: use a small dependency in the dummy recipe
Ross Burton [Thu, 31 Oct 2019 15:51:24 +0000 (15:51 +0000)]
recipeutils-test: use a small dependency in the dummy recipe

recipeutils-test has virtual/libx11 as a DEPENDS, but this will cause errors if
the recipe is built in an environment without x11 in DISTRO_FEATURES.

This dependency isn't actually used for anything so we could remove it, but to
save updating the test cases too just swap virtual/libx11 for zlib.

[ YOCTO #13611 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoselftest: skip virgl test on centos 7 entirely
Alexander Kanavin [Thu, 31 Oct 2019 09:36:51 +0000 (10:36 +0100)]
selftest: skip virgl test on centos 7 entirely

With the sdl frontend, qemu isn't able to even boot fully,
so let's skip the test early.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG
Yann Dirson [Wed, 30 Oct 2019 09:32:15 +0000 (10:32 +0100)]
mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosanity: check for more bits of Python
Ross Burton [Wed, 30 Oct 2019 17:38:15 +0000 (17:38 +0000)]
sanity: check for more bits of Python

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogst-examples: rename so PV is in filename
Ross Burton [Wed, 30 Oct 2019 10:37:20 +0000 (10:37 +0000)]
gst-examples: rename so PV is in filename

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibgcrypt: upgrade 1.8.4 -> 1.8.5
Trevor Gamblin [Tue, 29 Oct 2019 19:29:47 +0000 (12:29 -0700)]
libgcrypt: upgrade 1.8.4 -> 1.8.5

Upgrade libgcrypt. Upstream repo now has a pkg-config
feature. The new patch for compatibility with oe-core
is a replacement for a patch that added pkg-config as
a feature when upstream did not have it.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer: Change SRC_URI to use HTTPS access instead of HTTP
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:27 +0000 (16:59 +0200)]
gstreamer: Change SRC_URI to use HTTPS access instead of HTTP

Some GStreamer recipes like gstreamer1.0-vaapi already use HTTPS instead
of http. Also, access to http:// is simply redirected by the freedesktop
server to https://, and using HTTPS is anyway generally recommended over
plain HTTP for security reasons. So, normalize the URLs to use HTTPS only.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogst-validate: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:26 +0000 (16:59 +0200)]
gst-validate: upgrade to version 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-rtsp-server: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:25 +0000 (16:59 +0200)]
gstreamer1.0-rtsp-server: upgrade to version 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-python: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:24 +0000 (16:59 +0200)]
gstreamer1.0-python: upgrade to version 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-omx: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:23 +0000 (16:59 +0200)]
gstreamer1.0-omx: upgrade to version 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-vaapi: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:22 +0000 (16:59 +0200)]
gstreamer1.0-vaapi: upgrade to version 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-libav: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:21 +0000 (16:59 +0200)]
gstreamer1.0-libav: upgrade to version 1.16.1

Removed gtkdoc-no-tree.patch since its changes are now included in 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogstreamer1.0-plugins-ugly: upgrade to version 1.16.1
Carlos Rafael Giani [Tue, 22 Oct 2019 14:59:20 +0000 (16:59 +0200)]
gstreamer1.0-plugins-ugly: upgrade to version 1.16.1

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>