]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agotiff: update to 4.1.0
Alexander Kanavin [Mon, 18 Nov 2019 14:28:43 +0000 (15:28 +0100)]
tiff: update to 4.1.0

Drop backported patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython: update to 2.7.17
Alexander Kanavin [Mon, 18 Nov 2019 14:28:40 +0000 (15:28 +0100)]
python: update to 2.7.17

Drop backports, rebase a couple of patches.

This is the second last release of py 2.x; upstream support ends on
1 January 2020, there will be one final 2.x afterwards.

Note that the only thing that still needs python 2.x in oe-core is
u-boot; when the next u-boot update arrives, we should find out
where the py3 migration is for that component before merging the
update.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool/create: Fix to work with reproducible_builds
Richard Purdie [Mon, 18 Nov 2019 15:44:21 +0000 (15:44 +0000)]
recipetool/create: Fix to work with reproducible_builds

The extra diretory created by reproducibile_builds was confusing recipetool
and hence devtool. Ignore this directory to restore the correct behaviour and
allow it to work with the class.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/devtool: Avoid unbound variable errors
Richard Purdie [Mon, 18 Nov 2019 15:20:13 +0000 (15:20 +0000)]
oeqa/devtool: Avoid unbound variable errors

inherits can be unset resulting in:

UnboundLocalError: local variable 'inherits' referenced before assignment

which can mask real errors. Avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobind: Whitelist CVE-2019-6470
Adrian Bunk [Mon, 18 Nov 2019 14:04:43 +0000 (16:04 +0200)]
bind: Whitelist CVE-2019-6470

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocdrtools-native: Don't set uid/gid during install
Paul Barker [Fri, 15 Nov 2019 13:00:48 +0000 (13:00 +0000)]
cdrtools-native: Don't set uid/gid during install

This is a native recipe so won't be installed as root.

If the string 'root' is part of the username then the install script
can get tricked into thinking we are root (regardless of the actual
uid or permissions) resulting in attempts to run chown/chgrp
inappropriately.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years ago/oeqa/manual/compliance-test: remove obsolete test
Armin Kuster [Sun, 17 Nov 2019 03:35:14 +0000 (19:35 -0800)]
/oeqa/manual/compliance-test: remove obsolete test

ltpstress was removed in Oct 2018

https://github.com/linux-test-project/ltp/commit/e752f7c19674d9b2f7d37aed123561a3f6410e97#diff-5231627fc8640e0adb955f9e69c3c08d

Remove LTP stress tests
ltpstress.sh runs stress.part[1-3]. But these runtest files just
duplicate definitions:
* stress.part1: fs, mm, nfs
* stress.part2: ipc, math, nptl
* stress.part3: net.multicast, pty, syscalls

The definitions are outdated anyway. There is no point trying
to keep them sync.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/compliance-test: move crashme to runtime
Armin Kuster [Sun, 17 Nov 2019 03:19:43 +0000 (19:19 -0800)]
oeqa/manual/compliance-test: move crashme to runtime

[v3]
remove fork12 from crashme. runs forever
missed in v2 resend

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/compliance-test: remove crashme tests
Armin Kuster [Sat, 16 Nov 2019 23:38:00 +0000 (15:38 -0800)]
oeqa/manual/compliance-test: remove crashme tests

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomanual/bsd-hw: remove bash tests
Armin Kuster [Sun, 17 Nov 2019 03:35:20 +0000 (19:35 -0800)]
manual/bsd-hw: remove bash tests

done as part of IncompatibleLicensePerImageTests

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-hw: remove usb and SDmicro tests
Armin Kuster [Sun, 17 Nov 2019 03:35:19 +0000 (19:35 -0800)]
oeqa/manual/bsp-hw: remove usb and SDmicro tests

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-hw: move storage tests to runtime
Armin Kuster [Sun, 17 Nov 2019 03:35:18 +0000 (19:35 -0800)]
oeqa/manual/bsp-hw: move storage tests to runtime

move usb mount, r/w and umount tests to runtime
move SD card mount, r/w and umount tests to runtim

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-hw: remove reboot test
Armin Kuster [Sun, 17 Nov 2019 03:35:17 +0000 (19:35 -0800)]
oeqa/manual/bsp-hw: remove reboot test

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/boot: add reboot test
Armin Kuster [Sun, 17 Nov 2019 03:35:16 +0000 (19:35 -0800)]
oeqa/runtime/boot: add reboot test

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-hw: remove rpm -ivh test
Armin Kuster [Sun, 17 Nov 2019 03:35:15 +0000 (19:35 -0800)]
oeqa/manual/bsp-hw: remove rpm -ivh test

done via runtime

def test_rpm_install(self):

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoboost: fix build for x32
Anuj Mittal [Thu, 14 Nov 2019 04:08:47 +0000 (12:08 +0800)]
boost: fix build for x32

Commit: d336110b94 boost: update to 1.67.0

dropped the patch that ensured boost doesn't over-ride the architecture flags
set by us resulting in errors:

| build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
|          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

Remove the relevant part from gcc.jam again to ensure we are passing
them correctly again.

Fixes [YOCTO #13598]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Upgrade to 19.2.4
Alistair Francis [Thu, 14 Nov 2019 20:22:20 +0000 (12:22 -0800)]
mesa: Upgrade to 19.2.4

Upgrade mesa and mesa-gl to 19.2.4.

The license hash change was a trivial new line removal.

The glx-tls option was removed as it isn't included in the meson.build
file. It has been replaced with 'use-elf-tls' instead.

I have backported the asm removal as an attempt to fix the musl build
issue.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftest/wic: test wic rm with -r flag
Chee Yang Lee [Fri, 15 Nov 2019 01:58:47 +0000 (09:58 +0800)]
selftest/wic: test wic rm with -r flag

selftest to make sure wic rm with -r flag for ext partition
could remove directory and all its content.

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: rm with -r flag support
Chee Yang Lee [Fri, 15 Nov 2019 01:58:48 +0000 (09:58 +0800)]
wic: rm with -r flag support

wic currently unable to remove non-empty directory in ext* partition.
enable wic rm to remove non-empty directory and all the sub-content
with -r flag.
update help documents for 'wic rm'.
[YOCTO #12404]

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: remove ${PN}-xorg-xinitrc
Kai Kang [Fri, 15 Nov 2019 07:42:02 +0000 (15:42 +0800)]
systemd: remove ${PN}-xorg-xinitrc

In 50-systemd-user.sh which is packaged to sub-package
${PN}-xorg-xinitrc, it exports environment variables DISPLAY and
XAUTHORITY to systemd. It fails to start systemd services which require
these environment variables such as thunar.service:

root@qemux86-64:~# systemctl --user status thunar
● thunar.service - Thunar file manager
Loaded: loaded (/usr/lib/systemd/user/thunar.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:Thunar(1)

Nov 14 07:47:29 qemux86-64 systemd[352]: Starting Thunar file manager...
Nov 14 07:47:29 qemux86-64 Thunar[873]: cannot open display:
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Failed with result 'exit-code'.
Nov 14 07:47:29 qemux86-64 systemd[352]: Failed to start Thunar file manager.

It is not convenient to make all such kind of packages require package
${PN}-xorg-xinitrc, so remove the sub-package and merge the only file
provided by it to main package.

No recipe depends on ${PN}-xorg-xinitrc in oe-core and meta-openembedded
now, so no need to set rprovides for it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodistro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename
Denys Dmytriyenko [Fri, 15 Nov 2019 00:40:07 +0000 (19:40 -0500)]
distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename

Besides checking DISTRO_FEATURES for required or conflicting features,
being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also
be useful at times.

Temporarily support the old class name with a warning about future
deprecation.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/native-intercept: Add chgrp intercept
Paul Barker [Tue, 12 Nov 2019 22:10:03 +0000 (22:10 +0000)]
scripts/native-intercept: Add chgrp intercept

Some installation rules have been seen to run chgrp for native recipes
which leads to 'Operation not permitted' errors. To prevent this we
need a chgrp intercept script to go with the existing chown intercept.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostrace: Fix build found with 64bit time_t/musl
Khem Raj [Tue, 12 Nov 2019 20:55:37 +0000 (12:55 -0800)]
strace: Fix build found with 64bit time_t/musl

This ensures that its using linux headers for matching the syscall
structures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowayland: Fix wayland-scanner build for MinGW
Joshua Watt [Tue, 12 Nov 2019 19:33:51 +0000 (13:33 -0600)]
wayland: Fix wayland-scanner build for MinGW

Applies 2 patches to fix the wayland-scanner build for MinGW (e.g.
nativesdk-wayland)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsdl2: fix race when building in parallel
Anuj Mittal [Wed, 13 Nov 2019 08:41:06 +0000 (16:41 +0800)]
libsdl2: fix race when building in parallel

Fixes a race where it tries to build version res file in build directory
before it has even been created. Prevents intermittent errors on
autobuilder when building for mingw:

| /bin/bash ../SDL2-2.0.10/build-scripts/updaterev.sh
| /bin/bash ../SDL2-2.0.10/build-scripts/mkinstalldirs build
| mkdir -p -- build
| x86_64-pokysdk-mingw32-windres --include-dir=/home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-libsdl2/2.0.10-r0/recipe-sysroot/opt/poky/3.0/sysroots/x86_64-pokysdk-mingw32/us
| /include ../SDL2-2.0.10/src/main/windows/version.rc build/version.o
| x86_64-pokysdk-mingw32-windres: build/version.o: No such file or directory
| Makefile:692: recipe for target 'build/version.o' failed
| make: *** [build/version.o] Error 1
| make: *** Waiting for unfinished jobs....
| touch build/.created
| WARNING: exit code 1 from a shell command.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: Add "udevadm trigger" before swap verification in mkswap01.sh
Yongxin Liu [Wed, 13 Nov 2019 06:48:55 +0000 (14:48 +0800)]
ltp: Add "udevadm trigger" before swap verification in mkswap01.sh

Swap verification sometimes fails due to race condition with udev.
This is a known issue: https://github.com/linux-test-project/ltp/issues/458.
"udevadm trigger" forces udev to sync up device events with kernel.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibedit: upgrade 20190324 -> 20191025
Zang Ruochen [Wed, 13 Nov 2019 05:25:13 +0000 (13:25 +0800)]
libedit: upgrade 20190324 -> 20191025

-libedit/0001-readline.c-fix-cannot-get-history.patch
Removed since this is included in 20191025-3.1.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/oe-core: remove crosstab test from manual
Armin Kuster [Tue, 12 Nov 2019 04:33:39 +0000 (20:33 -0800)]
oeqa/manual/oe-core: remove crosstab test from manual

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/runtime_test: add crosstab selftest
Armin Kuster [Tue, 12 Nov 2019 04:33:38 +0000 (20:33 -0800)]
oeqa/selftest/runtime_test: add crosstab selftest

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manua/oe-core: remove manual PACKAGECONFIG_FLAGS tests
Armin Kuster [Tue, 12 Nov 2019 04:33:37 +0000 (20:33 -0800)]
oeqa/manua/oe-core: remove manual PACKAGECONFIG_FLAGS tests

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/oescripts: move list-packageconfig-flags tests from manual to self
Armin Kuster [Tue, 12 Nov 2019 04:33:36 +0000 (20:33 -0800)]
oeqa/selftest/oescripts: move list-packageconfig-flags tests from manual to self

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: remove manual useradd test
Armin Kuster [Tue, 12 Nov 2019 04:33:35 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: remove manual useradd test

useradd tested is done via:
test_non_root_user_can_connect_via_ssh_without_password and
test_non_root_user_can_connect_via_ssh_without_password

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: remove manual bash test
Armin Kuster [Tue, 12 Nov 2019 04:33:34 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: remove manual bash test

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: remove postinit test done w/selftest runtime
Armin Kuster [Tue, 12 Nov 2019 04:33:31 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: remove postinit test done w/selftest runtime

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: remove only_one_connmand_in_background test done at runtime
Armin Kuster [Tue, 12 Nov 2019 04:33:30 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: remove only_one_connmand_in_background test done at runtime

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: drop xserver test done at runtime
Armin Kuster [Tue, 12 Nov 2019 04:33:29 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: drop xserver test done at runtime

xserver testing is done at runtime and selftest via sato image

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: remove KVM enabled which is already done in selftest runqemu
Armin Kuster [Tue, 12 Nov 2019 04:33:28 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: remove KVM enabled which is already done in selftest runqemu

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/manual/bsp-qemu: remove rpm tests already done in runtime
Armin Kuster [Tue, 12 Nov 2019 04:33:27 +0000 (20:33 -0800)]
oeqa/manual/bsp-qemu: remove rpm tests already done in runtime

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core: Add qemu checks
Armin Kuster [Tue, 12 Nov 2019 04:33:21 +0000 (20:33 -0800)]
oeqa/core: Add qemu checks

Some test should not be run in QEMU systems so
add some checks to make that easier

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>