]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agotestimage.bbclass: support hardware-controlled targets
André Draszik [Wed, 16 Oct 2019 09:18:20 +0000 (10:18 +0100)]
testimage.bbclass: support hardware-controlled targets

Since the introduction of the new runtime framework for target
testing in commit 2aa5a4954d76
("testimage.bbclass: Migrate class to use new runtime framework")
commit 3857e5c91da6 in poky.git, target controllers have no
access to the global datastore 'd' anymore.

This makes it impossible for a specific OEQA (hardware)
controller to access documented properties like
TEST_POWERCONTROL_CMD, TEST_SERIALCONTROL_CMD, etc,
meaning it's impossible for those controllers to actually
control the hardware.

To solve this, simply add those documented variables into
the target_kwargs[].

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogawk: add PACKAGECONFIG for readline
Ross Burton [Thu, 17 Oct 2019 11:29:45 +0000 (12:29 +0100)]
gawk: add PACKAGECONFIG for readline

Add a PACKAGECONFIG so that readline can be disabled if desired.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: -dev should depend on distutils
Ross Burton [Thu, 17 Oct 2019 11:29:44 +0000 (12:29 +0100)]
python3: -dev should depend on distutils

python3-config uses distutils:

Traceback (most recent call last):
  File "/usr/bin/python3-config", line 9, in <module>
    from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'

Add the dependency so that distutils is always present.

[ YOCTO #13592 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoi2c-tools: Add missing RDEPEND
Ricardo Ribalda Delgado [Thu, 17 Oct 2019 14:16:19 +0000 (16:16 +0200)]
i2c-tools: Add missing RDEPEND

Fixes:
 # decode-dimms
Can't locate Carp.pm in @INC (you may need to install the Carp module) (@INC contains: /usr/lib/perl5/site_perl/5.28.1/x86_64-linux /usr/lib/perl5/site_perl/5.28.1 /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux /usr/lib/perl5/vendor_perl/5.28.1 /usr/lib/perl5/5.28.1/x86_64-linux /usr/lib/perl5/5.28.1 .) at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
Compilation failed in require at /usr/lib/perl5/5.28.1/x86_64-linux/POSIX.pm line 505.
Compilation failed in require at /usr/bin/decode-dimms line 41.
BEGIN failed--compilation aborted at /usr/bin/decode-dimms line 41.
root@qt5222:~# apt-get install perl-module-carp

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: explicitly disable seccomp
Ross Burton [Fri, 18 Oct 2019 11:28:19 +0000 (12:28 +0100)]
file: explicitly disable seccomp

file will automatically enable seccomp if the seccomp headers are available, but
the build will fail on Opensuse Tumbleweed because the include paths are wrong.

Enabling seccomp is a bad idea because it interacts badly with pseudo (causing
build failures), so explicitly and globally disable seccomp.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/rawcopy: Support files in sub-directories
Eugene Smirnov [Fri, 18 Oct 2019 11:16:14 +0000 (13:16 +0200)]
wic/rawcopy: Support files in sub-directories

If the source file is located in a subdirectory of DEPLOY_DIR
rawcopy will currently fail in sparse_copy function on
open(dst_fname, 'wb'), as the parent directory for destination
file does not exist.

This patch helps to avoid that by recursively creating
parent directories.

Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: fix CVE-2019-16905
Hongxu Jia [Fri, 18 Oct 2019 07:10:01 +0000 (15:10 +0800)]
openssh: fix CVE-2019-16905

Backport a patch from upstream to fix CVE-2019-16905
https://github.com/openssh/openssh-portable/commit/a546b17bbaeb12beac4c9aeed56f74a42b18a93a

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agouninative: check .done file instead of tarball
Stefan Agner [Fri, 11 Oct 2019 09:06:59 +0000 (11:06 +0200)]
uninative: check .done file instead of tarball

In case multiple builds share UNINATIVE_DLDIR's location, one build
might be in the process of downloading the tarball while another is
just checking whether the tarball exists. Check for the done file
instead and rely on the fetchers lockfile mechanism in case two
builds are running.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosanity: check the format of SDK_VENDOR
Ross Burton [Mon, 14 Oct 2019 11:42:57 +0000 (12:42 +0100)]
sanity: check the format of SDK_VENDOR

If SDK_VENDOR isn't formatted as -foosdk and is instead for example -foo-sdk
then the triple that are constructed are not in fact triples, which results in
mysterious compile errors.

Check in sanity.bbclass so this failure is detected early.

[ YOCTO #13573 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsdl2: fix CVE-2019-13616
Yi Zhao [Mon, 14 Oct 2019 06:43:15 +0000 (14:43 +0800)]
libsdl2: fix CVE-2019-13616

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2019-13616

Patch from:
https://hg.libsdl.org/SDL/rev/e7ba650a643a

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemuriscv64: Build smode U-Boot
Alistair Francis [Tue, 15 Oct 2019 00:43:17 +0000 (17:43 -0700)]
qemuriscv64: Build smode U-Boot

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot: Bump from 2019.07 to 2019.10
Alistair Francis [Tue, 15 Oct 2019 00:43:16 +0000 (17:43 -0700)]
u-boot: Bump from 2019.07 to 2019.10

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopensbi: Bump from 0.4 to 0.5
Alistair Francis [Tue, 15 Oct 2019 00:42:19 +0000 (17:42 -0700)]
opensbi: Bump from 0.4 to 0.5

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: Fix for --enable-btpclient
Robert Yang [Tue, 15 Oct 2019 03:08:12 +0000 (11:08 +0800)]
bluez5: Fix for --enable-btpclient

Fixed:
PACKAGECONFIG_append_pn-bluez5 = ' btpclient'

$ bitbake bluez5
btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: fix CVE-2019-16167
Wenlin Kang [Tue, 15 Oct 2019 07:27:43 +0000 (15:27 +0800)]
sysstat: fix CVE-2019-16167

This commit is another part of CVE-2019-16167, please see
https://github.com/sysstat/sysstat/issues/232.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase.bbclass: add dependency on pseudo from do_prepare_recipe_sysroot
Mattias Hansson [Tue, 15 Oct 2019 08:00:15 +0000 (10:00 +0200)]
base.bbclass: add dependency on pseudo from do_prepare_recipe_sysroot

do_prepare_recipe_sysroot may perform groupadd, which requires pseudo.
However, do_prepare_recipe_sysroot does not depend on pseudo explicitly,
which sometimes causes a build error when building a recipe that adds
groups.

This issue only occurs when executing do_prepare_recipe_sysroot for a
recipe that adds groups before finishing a task that depends on pseudo
for a recipe that doesn't add groups.

Signed-off-by: Mattias Hansson <mattihn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: Fix build with clang compiler
Khem Raj [Sun, 13 Oct 2019 00:51:17 +0000 (17:51 -0700)]
glib-2.0: Fix build with clang compiler

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agollvm: Update to 9.0.0
Khem Raj [Sun, 29 Sep 2019 18:13:28 +0000 (11:13 -0700)]
llvm: Update to 9.0.0

libOptRemarks has been renamed as libRemarks
RISC-V backend is now supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiso-codes:upgrade 4.3 -> 4.4
Zang Ruochen [Mon, 7 Oct 2019 06:23:08 +0000 (14:23 +0800)]
iso-codes:upgrade 4.3 -> 4.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofribidi:upgrade 1.0.5 -> 1.0.7
Zang Ruochen [Mon, 7 Oct 2019 06:11:25 +0000 (14:11 +0800)]
fribidi:upgrade 1.0.5 -> 1.0.7

-fribidi/meson.patch
 Removed since this is included in 1.0.7.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxfont2:upgrade 2.0.3 -> 2.0.4
Zang Ruochen [Mon, 7 Oct 2019 05:42:33 +0000 (13:42 +0800)]
libxfont2:upgrade 2.0.3 -> 2.0.4

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomsmtp:upgrade 1.8.5 -> 1.8.6
Zang Ruochen [Mon, 7 Oct 2019 05:06:26 +0000 (13:06 +0800)]
msmtp:upgrade 1.8.5 -> 1.8.6

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo:upgrade 1.10.5 -> 1.10.6
Zang Ruochen [Mon, 7 Oct 2019 03:34:23 +0000 (11:34 +0800)]
librepo:upgrade 1.10.5 -> 1.10.6

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoexpat:upgrade 2.2.8 -> 2.2.9
Zang Ruochen [Mon, 7 Oct 2019 03:11:04 +0000 (11:11 +0800)]
expat:upgrade 2.2.8 -> 2.2.9

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognu-efi: Do not use gcc-only options when building with clang
Khem Raj [Mon, 7 Oct 2019 01:40:12 +0000 (18:40 -0700)]
gnu-efi: Do not use gcc-only options when building with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpcap: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:35 +0000 (13:08 +0000)]
libpcap: Clarify BSD license variant

The License of libpcap is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:44 +0000 (13:08 +0000)]
p11-kit: Clarify BSD license variant

The license of p11-kit is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpcre: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:44 +0000 (13:08 +0000)]
libpcre: Clarify BSD license variant

The license of the two libraries are BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibwebp: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:44 +0000 (13:08 +0000)]
libwebp: Clarify BSD license variant

The license of libwebp is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agospeexdsp: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:43 +0000 (13:08 +0000)]
speexdsp: Clarify BSD license variant

The license of speexdsp is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agospeex: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:43 +0000 (13:08 +0000)]
speex: Clarify BSD license variant

The license of speex is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtheora: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:42 +0000 (13:08 +0000)]
libtheora: Clarify BSD license variant

The license of libtheora is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibvorbis: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:42 +0000 (13:08 +0000)]
libvorbis: Clarify BSD license variant

The license of libvorbis is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibogg: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:42 +0000 (13:08 +0000)]
libogg: Clarify BSD license variant

The license of libogg is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxpm: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:41 +0000 (13:08 +0000)]
libxpm: Clarify BSD license variant

The license of libxpm is MIT.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcp-wrappers: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:41 +0000 (13:08 +0000)]
tcp-wrappers: Clarify BSD license variant

The license of tcp-wrappers is BSD-1-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorpcbind: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:40 +0000 (13:08 +0000)]
rpcbind: Clarify BSD license variant

The license of rpcbind is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolighttpd: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:40 +0000 (13:08 +0000)]
lighttpd: Clarify BSD license variant

The license of lighttpd is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopbzip2: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:40 +0000 (13:08 +0000)]
pbzip2: Clarify BSD license variant

The license of pbzip2 is BSD-4-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibarchive: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:39 +0000 (13:08 +0000)]
libarchive: Clarify BSD license variant

The license of libarchive is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtirpc: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:39 +0000 (13:08 +0000)]
libtirpc: Clarify BSD license variant

The license of libtirpc is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-smmap: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:38 +0000 (13:08 +0000)]
python-smmap: Clarify BSD license variant

The license of python-smmap is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-async: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:38 +0000 (13:08 +0000)]
python-async: Clarify BSD license variant

The license of python-async is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofile: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:37 +0000 (13:08 +0000)]
file: Clarify BSD license variant

The license of file is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoflex: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:37 +0000 (13:08 +0000)]
flex: Clarify BSD license variant

The license of flex is BSD-2-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocmake: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:37 +0000 (13:08 +0000)]
cmake: Clarify BSD license variant

The license of cmake is BSD-3-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowpa-supplicant: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:36 +0000 (13:08 +0000)]
wpa-supplicant: Clarify BSD license variant

The license of wpa-supplicant is BSD-3-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoovmf: Clarify BSD license variant
Christophe PRIOUZEAU [Mon, 7 Oct 2019 13:08:36 +0000 (13:08 +0000)]
ovmf: Clarify BSD license variant

The license of ovmf is BSD-2-Clause

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosqlite3:upgrade 3.29 -> 3.30
Zang Ruochen [Wed, 9 Oct 2019 01:53:04 +0000 (09:53 +0800)]
sqlite3:upgrade 3.29 -> 3.30

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodbus: Change path of system_bus_socket from /var/run/dbus/ to /run/dbus/
Peiran Hong [Tue, 8 Oct 2019 15:33:31 +0000 (11:33 -0400)]
dbus: Change path of system_bus_socket from /var/run/dbus/ to /run/dbus/

Fixed a warning message during startup caused by referencing the legacy
directory /var/run instead of /run. An extra parameter is passed to the
configure script to achiveve this. Upstream cannot provide a fix due to
another Linux distribution (Slackware) uses /var/run and /run as
different directories.

Refer to https://gitlab.freedesktop.org/dbus/dbus/issues/282 for
details.

Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Remove disabling of high resolution timer
Joerg Vehlow [Fri, 11 Oct 2019 06:03:57 +0000 (08:03 +0200)]
runqemu: Remove disabling of high resolution timer

The option 'highres=off' sneaked itself into the runqemu script for all
configurations, where the root filesystem type is not 'cpio' or 'cpio.gz'.
See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13590

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa: add missing description in recipes-extended
Maxime Roussin-Bélanger [Fri, 11 Oct 2019 04:13:59 +0000 (00:13 -0400)]
meta: add missing description in recipes-extended

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: update homepage and bugtracker
Maxime Roussin-Bélanger [Fri, 11 Oct 2019 04:13:58 +0000 (00:13 -0400)]
shadow: update homepage and bugtracker

The previous homepage and issue tracker is no longer available.

Remove some trailing whitespace

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocreaterepo-c: upgrade to 0.15.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:54 +0000 (13:47 +0200)]
createrepo-c: upgrade to 0.15.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodulemd: remove the recipe
Alexander Kanavin [Fri, 11 Oct 2019 11:47:53 +0000 (13:47 +0200)]
libmodulemd: remove the recipe

Version 2 of the recipe is not actually required by anything; the
lidmodulemd dependency in createrepo-c is optional, and the
libmodulemd feature is not used in YP.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibmodulemd-v1: introduce the recipe
Alexander Kanavin [Fri, 11 Oct 2019 11:47:52 +0000 (13:47 +0200)]
libmodulemd-v1: introduce the recipe

Upstream has split version 1 of the libmodulemd recipe into
its own branch and removed version 1 from the master
branch and 2.x releases; as libdnf requires v1 of libmodulemd,
this commit introduces a v1-specific revipe.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: update to 0.52.0
Alexander Kanavin [Fri, 11 Oct 2019 11:47:51 +0000 (13:47 +0200)]
meson: update to 0.52.0

Drop backported patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovala: upgrade 0.44.7 -> 0.46.3
Alexander Kanavin [Fri, 11 Oct 2019 11:47:50 +0000 (13:47 +0200)]
vala: upgrade 0.44.7 -> 0.46.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: upgrade 0.23.16.1 -> 0.23.18.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:49 +0000 (13:47 +0200)]
p11-kit: upgrade 0.23.16.1 -> 0.23.18.1

Drop the patch that has been merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agompg123: upgrade 1.25.11 -> 1.25.12
Alexander Kanavin [Fri, 11 Oct 2019 11:47:48 +0000 (13:47 +0200)]
mpg123: upgrade 1.25.11 -> 1.25.12

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsecret: upgrade 0.19.0 -> 0.19.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:47 +0000 (13:47 +0200)]
libsecret: upgrade 0.19.0 -> 0.19.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibdazzle: upgrade 3.32.3 -> 3.34.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:46 +0000 (13:47 +0200)]
libdazzle: upgrade 3.32.3 -> 3.34.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogtk-doc: upgrade 1.31 -> 1.32
Alexander Kanavin [Fri, 11 Oct 2019 11:47:45 +0000 (13:47 +0200)]
gtk-doc: upgrade 1.31 -> 1.32

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: update 2.24.4 -> 2.26.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:44 +0000 (13:47 +0200)]
webkitgtk: update 2.24.4 -> 2.26.1

Drop patches:
- 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch - this
has been a pain to rebase for a while as upstream keeps shifting and
changing the code that needs to be modified. If the issue the patch
is addressing is still relevant, please work with upstream to fix it
at the source

- 0001-gstreamer-add-a-missing-format-string.patch, narrowing.patch
are integrated upstream

- detect-gstreamer-gl.patch is adjusting something that is better done
from the yocto package configuration

Add an option to disable an enabled-by-default sandbox that requires
a component that oe-core does not have.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoepiphany: upgrade 3.32.4 -> 3.34.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:43 +0000 (13:47 +0200)]
epiphany: upgrade 3.32.4 -> 3.34.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-networking: update to 2.62.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:41 +0000 (13:47 +0200)]
glib-networking: update to 2.62.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: upgrade to 2.62.1
Alexander Kanavin [Fri, 11 Oct 2019 11:47:40 +0000 (13:47 +0200)]
glib-2.0: upgrade to 2.62.1

Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch
and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where
upstream has removed the problematic bit.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogobject-introspection: update to 1.62.0
Alexander Kanavin [Fri, 11 Oct 2019 11:47:39 +0000 (13:47 +0200)]
gobject-introspection: update to 1.62.0

Upstream has removed autotools support entirely, so we can drop
the chunks of patches that touch it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: unset another environment variable for 'egl-headless'
Alexander Kanavin [Fri, 11 Oct 2019 11:47:38 +0000 (13:47 +0200)]
runqemu: unset another environment variable for 'egl-headless'

Some host distributions (opensuse for example) are using 'pkgconf',
which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR
to every directory from the .pc file.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa: simplify over descriptive descriptions in devtools
Maxime Roussin-Bélanger [Wed, 9 Oct 2019 02:08:48 +0000 (22:08 -0400)]
meta: simplify over descriptive descriptions in devtools

fix commandline -> command-line typo.
according to:
    https://en.wikipedia.org/wiki/Command-line_interface
    https://wiki.debian.org/Apt

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: CVE-2019-16056
Chen Qi [Wed, 9 Oct 2019 08:36:39 +0000 (16:36 +0800)]
python3: CVE-2019-16056

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython: CVE-2019-16056
Chen Qi [Wed, 9 Oct 2019 08:36:40 +0000 (16:36 +0800)]
python: CVE-2019-16056

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense_image.bbclass: check and reject packages which have incompatible licenses
Alexander Kanavin [Thu, 10 Oct 2019 11:18:48 +0000 (13:18 +0200)]
license_image.bbclass: check and reject packages which have incompatible licenses

The use case is setting INCOMPATIBLE_LICENSE per image,
rather than as an awkward, and too strict global setting.

This for example would allow building development images with gplv3 tools,
but production images without them, and checking that nothing gpl3-licensed
gets into the latter.

Examples are provided via the selftest: four scenarios are tested:

- bash is added to the image, with a default gpl3 license; this is rejected
- bash is added to the image, with a "gpl3 & other" license; this is also rejected
- bash is added to the image, with a "gpl3 | other" license; this is accepted, but
only 'other' is added to the license manifest (this was already handled correctly
previously).
- bash is added to the image with a default gpl3 license, and is additionally
whitelisted for that image; this is accepted.

Eventually, this would allow deprecating the meta-gplv2 layer, while still
enforcing the no-gpl3 rule where possible and needed.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense.bbclass: split incompatible license check into a helper function
Alexander Kanavin [Thu, 10 Oct 2019 11:18:47 +0000 (13:18 +0200)]
license.bbclass: split incompatible license check into a helper function

This would help with checking incompatible licenses at do_rootfs step
in image creation, where it is beneficial to pass the license string
directly to the function.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoelfutils: do not depend on target libtool
Alexander Kanavin [Thu, 10 Oct 2019 11:18:46 +0000 (13:18 +0200)]
elfutils: do not depend on target libtool

This seems to be entirely unneeded.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobind: do not RDEPEND on bash
Alexander Kanavin [Thu, 10 Oct 2019 11:18:45 +0000 (13:18 +0200)]
bind: do not RDEPEND on bash

Nothing in the target installation actually needs it.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiproute2: make elfutils support optional
Alexander Kanavin [Thu, 10 Oct 2019 11:18:44 +0000 (13:18 +0200)]
iproute2: make elfutils support optional

The use case is as well allowing gpl3-free builds without
pulling in outdated meta-gpl2 recipes.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibcheck: split /usr/bin/checkmk into its own package
Alexander Kanavin [Thu, 10 Oct 2019 11:18:43 +0000 (13:18 +0200)]
libcheck: split /usr/bin/checkmk into its own package

This allows not pulling in gawk, which is gplv3 licensed when
only the libcheck library itself is needed. checkmk is a
development tool that writes out a C boilerplate for tests.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: un-break disabling the readline PACKAGECONFIG
Alexander Kanavin [Thu, 10 Oct 2019 11:18:42 +0000 (13:18 +0200)]
python3: un-break disabling the readline PACKAGECONFIG

Previously the readline module would have been built regardless of
readline's presence in the sysroot, and the recipe would
fail at package_qa.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: make gdbm optional
Alexander Kanavin [Thu, 10 Oct 2019 11:18:41 +0000 (13:18 +0200)]
python3: make gdbm optional

The use case is building a gpl3-free image, without having
to rely on outdated recipes from meta-gplv2 layer.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: make gdbm optional
Alexander Kanavin [Thu, 10 Oct 2019 11:18:40 +0000 (13:18 +0200)]
perl: make gdbm optional

Recent versions of gdbm are gplv3, so in some scenarios
it is beneficial to not depend on it.

(thanks Ross for leading the way with the db option :)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosocat: turn hard readline dependency into an option
Alexander Kanavin [Thu, 10 Oct 2019 11:18:39 +0000 (13:18 +0200)]
socat: turn hard readline dependency into an option

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision 2019-10 2019-10-zeus yocto-3.0
Richard Purdie [Wed, 9 Oct 2019 21:28:44 +0000 (22:28 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoreadline-native: Fix builds on tumbleweed
Richard Purdie [Wed, 9 Oct 2019 17:02:31 +0000 (18:02 +0100)]
readline-native: Fix builds on tumbleweed

OpenSuse's libreadline has extra symbol information which upsets our uninative
loader as our libreadline is missing symbols with the appropriate versions.

The simplest solution is to add the version information as they're harmless.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/gen-lockedsig-cache: Don't list paths which don't exist
Richard Purdie [Wed, 9 Oct 2019 16:06:00 +0000 (17:06 +0100)]
scripts/gen-lockedsig-cache: Don't list paths which don't exist

This avoids failures seen on the autobuilder when generating eSDKs
and release sstate copies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 9 Oct 2019 13:13:43 +0000 (14:13 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpcap:upgrade 1.9.0 -> 1.9.1
Zang Ruochen [Mon, 7 Oct 2019 02:52:14 +0000 (10:52 +0800)]
libpcap:upgrade 1.9.0 -> 1.9.1

-libpcap/0001-pcap-usb-linux.c-add-missing-limits.h-for-musl-syste.patch
 Removed since this is included in 1.9.1.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/imagefeatures: improve test_hypervisor_fmts
Ross Burton [Wed, 9 Oct 2019 11:00:51 +0000 (12:00 +0100)]
oeqa/selftest/imagefeatures: improve test_hypervisor_fmts

If this test fails then the output doesn't help in any meaningful way, so
improve the test to output the unparsable JSON and display unexpected output.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: add needed character encoding for ptests
Ross Burton [Tue, 8 Oct 2019 10:46:04 +0000 (11:46 +0100)]
bluez5: add needed character encoding for ptests

The test-gobject-header test suite needs UTF-16 encoding:

test_decode_header_name_ascii:
assertion failed (err == NULL):
Unicode conversion failed:
Conversion from character set ?UTF-16BE? to ?UTF-8? is not supported (g-obex-error-quark, 256)

Add gconv-utf-16 to the bluez5-ptest RDEPENDS.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogdb: Bump from 8.3 to 8.3.1
Alistair Francis [Tue, 8 Oct 2019 15:50:15 +0000 (08:50 -0700)]
gdb: Bump from 8.3 to 8.3.1

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agollvm: remove -mlongcall from CXXFLAGS for powerpc
Changqing Li [Tue, 8 Oct 2019 05:14:21 +0000 (13:14 +0800)]
llvm: remove -mlongcall from CXXFLAGS for powerpc

after gcc upgrade to 9.1.0, with this flags will make below error:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]

remove it as workaround, after remove it, powerpc can compile successfully

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: Handle PACKAGES_DYNAMIC for perl-native
Khem Raj [Tue, 8 Oct 2019 05:06:29 +0000 (22:06 -0700)]
perl: Handle PACKAGES_DYNAMIC for perl-native

A perl module recipe extending to provide native version causes target
perl dependencies to be pulled into native build if the module recipe
has RDEPENDS_${PN} = "perl-module-XXXX" e.g. libxml-sax-base-perl
recipe.

The reason is that native bbclass empties out PACKAGES_DYNAMIC and
perl's PACKAGES_DYNAMIC_class-target is greedy enough to usurp native
modules as well.

Eventually we end up with errors like when sstate is used across
machines

* ERROR: libxml-sax-base-perl-native different signature for task do_populate_sysroot.sigdata between qemux86copy and qemuarm

Therefore, to fix this native case needs to handled specially when
re-assigning module dependencies in split_perl_packages(), where the
modules are named correctly for native case and have a single dependency
on perl-native, secondly, PACKAGES_DYNAMIC for target case needs to be
reined in to spare, -native modules, thirdly, let perl-native take over
the case for providing native modules

This will fix several sstate signature errors like above with external
perl modules providing native variants and having runtime dependencies on
modules which are provided by perl proper

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodnf.py: check busybox for case test_dnf_installroot
Kai Kang [Tue, 8 Oct 2019 07:51:02 +0000 (15:51 +0800)]
dnf.py: check busybox for case test_dnf_installroot

Check package busybox which is required by cases test_dnf_installroot
and test_dnf_installroot_usrmerge.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd.bbclass: add RMINITDIR for nativesdk builds
Trevor Gamblin [Fri, 27 Sep 2019 15:07:40 +0000 (11:07 -0400)]
systemd.bbclass: add RMINITDIR for nativesdk builds

nativesdk builds such as nativesdk-dnf are installing systemd
service files, leading bitbake to throw installed-vs-shipped
warnings, but these are not needed in nativesdk:

 WARNING: nativesdk-dnf-4.2.2-r0 do_package: QA Issue: nativesdk-dnf: Files/directories were installed but not shipped in any package:
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic.timer
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-makecache.timer
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic.service
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-makecache.service
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-notifyonly.timer
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-download.service
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-download.timer
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-notifyonly.service
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-install.timer
      /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-install.service
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    nativesdk-dnf: 13 installed and not shipped files. [installed-vs-shipped]

Rather than have each recipe remove the files, an RMINITDIR case
for nativesdk builds should be added to systemd.bbclass.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopango: remove obsolete libtool FILES
Ross Burton [Tue, 8 Oct 2019 13:18:22 +0000 (14:18 +0100)]
pango: remove obsolete libtool FILES

We now build Pango with Meson which doesn't use libtool, so we can remove the
FILES that packages up non-existant .la files.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/5.2: fix strace/ptrace long runtime issues
Bruce Ashfield [Tue, 8 Oct 2019 14:26:29 +0000 (10:26 -0400)]
linux-yocto/5.2: fix strace/ptrace long runtime issues

Bumping SRCREVs to pickup the following kernel commit:

[
    Author: Bruce Ashfield <bruce.ashfield@gmail.com>
    Date:   Tue Oct 8 13:15:46 2019 +0000

        signal/ptrace: fix cgroup2/freezer long runtimes

        As reported in the thread: https://lkml.org/lkml/2019/10/1/789, in
        kernels with commit 76f969e8948d82 [cgroup: cgroup v2 freezer], we
        were seeing much longer runtime in strace/ptrace tests (4 minutes
        versus 4 seconds).

        The issue only manifests if CONFIG_PREEMPT is enabled, which is in
        all of the default configurations.

        As sugggested in the thread, the movement of preempt_enable_no_resched()
        until after the cgroup is frozen returns the behaviour to pre-5.2
        runtimes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

With this change in place, our times are back to normal:

   root@qemux86-64:~# cd /usr/lib/strace/ptest/tests
   root@qemux86-64:/usr/lib/strace/ptest/tests# time ../strace -o log -qq -esignal=none -e/clock ./printpath-umovestr>ttt

   real    0m3.909s
   user    0m0.534s
   sys     0m3.342s

This will eventually loop around via -stable, or may need future
tweaks, but it does address the immediate issue/symptom that we are
seeing, with no obvious side effects.

[YOCTO #13556]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto-rt/5.2: update to -rt9
Bruce Ashfield [Tue, 8 Oct 2019 16:01:44 +0000 (12:01 -0400)]
linux-yocto-rt/5.2: update to -rt9

Updating to 5.2-rt9. Which comprises the following fixes:

   90a5890111ca v5.2.17-rt9
   7700ef5f6438 sched: migrate disable: Protect cpus_ptr with lock
   11d09bb2607b sched: Remove dead __migrate_disabled() check
   ceb75897bca0 sched: __set_cpus_allowed_ptr: Check cpus_mask, not cpus_ptr
   70d3cef7a488 printk: devkmsg: read: Return EPIPE when the first message user-space wants has gone
   eef2411714d4 drm/i915: Drop the IRQ-off asserts
   f063808d4629 drm/i915: Don't disable interrupts for intel_engine_breadcrumbs_irq()
   d3136b34629a rcutorture: Avoid problematic critical section nesting on RT
   ded0345350a6 rcu: Use rcuc threads on PREEMPT_RT as we did
   ea804ff7a3de sched: migrate_dis/enable: Use sleeping_lock…() to annotate sleeping points
   5221cc57007f rcu: Acquire RCU lock when disabling BHs
   b05b0d20c207 posix-timers: Unlock expiry lock in the early return
   066bbfed5243 v5.2.17-rt8
   163d8462f622 v5.2.14-rt7
   41f51767f77d hrtimer: Add a missing bracket and hide `migration_base' on !SMP
   8d0056d6bd7a v5.2.14-rt6

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/sdk: improve Meson test
Ross Burton [Tue, 8 Oct 2019 11:52:01 +0000 (12:52 +0100)]
oeqa/sdk: improve Meson test

Verify that the build inside the SDK is detected as a cross compilation.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoharfbuzz: add PACKAGECONFIGs for all the optional dependencies
Ross Burton [Tue, 8 Oct 2019 11:02:21 +0000 (12:02 +0100)]
harfbuzz: add PACKAGECONFIGs for all the optional dependencies

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotoolchain-scripts: export READELF
Ross Burton [Fri, 4 Oct 2019 13:19:48 +0000 (14:19 +0100)]
toolchain-scripts: export READELF

The readelf binary is prefixed, so export READELF in the SDKs so that the
correct readelf binary can be used.

This fixes problems with the symbol extractor in Meson with multilib SDKs where
readelf can't be found correctly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>