]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agoutil-linux: fix hwclock settimeofday error
Liwei Song [Thu, 20 Feb 2020 03:50:45 +0000 (11:50 +0800)]
util-linux: fix hwclock settimeofday error

The change of settimeofday() systemcall since Glibc 2.31
will cause "hwclock -s" doesn't work with error:
"hwclock: settimeofday() failed: Invalid argument"
Backport a upstream patch to fix this issue.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonfs-utils: upgrade 2.4.2 -> 2.4.3
Wang Mingyu [Thu, 20 Feb 2020 09:41:34 +0000 (01:41 -0800)]
nfs-utils: upgrade 2.4.2 -> 2.4.3

0001-Don-t-build-tools-with-CC_FOR_BUILD.patch
Removed since it is included in 2.4.3.

refresh the following patch:
0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: upgrade 19.3.3 -> 19.3.4
Wang Mingyu [Thu, 20 Feb 2020 09:41:25 +0000 (01:41 -0800)]
mesa: upgrade 19.3.3 -> 19.3.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-pages: upgrade 5.04 -> 5.05
Wang Mingyu [Thu, 20 Feb 2020 09:41:16 +0000 (01:41 -0800)]
man-pages: upgrade 5.04 -> 5.05

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxkbcommon: upgrade 0.9.1 -> 0.10.0
Wang Mingyu [Thu, 20 Feb 2020 09:41:00 +0000 (01:41 -0800)]
libxkbcommon: upgrade 0.9.1 -> 0.10.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/combo-layer: Fix deprecation warning
Richard Purdie [Wed, 19 Feb 2020 22:53:08 +0000 (22:53 +0000)]
scripts/combo-layer: Fix deprecation warning

Resolve:
combo-layer:83: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibubootenv: bump to revision ba952d0
Pierre-Jean Texier [Wed, 19 Feb 2020 21:37:12 +0000 (22:37 +0100)]
libubootenv: bump to revision ba952d0

This includes following changes:

ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Acked-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiproute2: add devlink support to iproute2
Scott Branden [Wed, 19 Feb 2020 20:41:03 +0000 (12:41 -0800)]
iproute2: add devlink support to iproute2

Add devlink support to iproute2 recipe.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovirglrenderer: upgrade 0.8.1 -> 0.8.2
Alexander Kanavin [Wed, 19 Feb 2020 19:47:52 +0000 (20:47 +0100)]
virglrenderer: upgrade 0.8.1 -> 0.8.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovala: upgrade 0.46.5 -> 0.46.6
Alexander Kanavin [Wed, 19 Feb 2020 19:47:51 +0000 (20:47 +0100)]
vala: upgrade 0.46.5 -> 0.46.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: upgrade 0.53.0 -> 0.53.1
Alexander Kanavin [Wed, 19 Feb 2020 19:47:49 +0000 (20:47 +0100)]
meson: upgrade 0.53.0 -> 0.53.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsecret: upgrade 0.20.0 -> 0.20.1
Alexander Kanavin [Wed, 19 Feb 2020 19:47:48 +0000 (20:47 +0100)]
libsecret: upgrade 0.20.0 -> 0.20.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoepiphany: upgrade 3.34.3.1 -> 3.34.4
Alexander Kanavin [Wed, 19 Feb 2020 19:47:47 +0000 (20:47 +0100)]
epiphany: upgrade 3.34.3.1 -> 3.34.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocreaterepo-c: upgrade 0.15.5 -> 0.15.7
Alexander Kanavin [Wed, 19 Feb 2020 19:47:46 +0000 (20:47 +0100)]
createrepo-c: upgrade 0.15.5 -> 0.15.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemumips: use std vga instead of cirrus vga
Alexander Kanavin [Wed, 19 Feb 2020 19:47:45 +0000 (20:47 +0100)]
qemumips: use std vga instead of cirrus vga

This is what the upstream recommends nowadays:
https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/

I have verified that both X and weston continue to boot and look
right; however xorg.conf file needs to be removed as it is cirrus
specific and doesn't work and isn't needed with std vga.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston-init: use the drm/kms backend rather than fbdev one for qemux86 machines
Alexander Kanavin [Wed, 19 Feb 2020 19:47:44 +0000 (20:47 +0100)]
weston-init: use the drm/kms backend rather than fbdev one for qemux86 machines

The fbdev backend is not documented, and not the default;
as the emulated hardware in qemu now supports DRM/KMS
(both std and virtio), we should align with upstream default
and vast majority of users. Empty init file will cause
weston to default to the KMS backend.

Note that 3D acceleration via virgl is not required; the backend
renders fine via the software driver in mesa. However, kvm
is more or less required to keep the UI responsive.

Also, other qemu targets (mips and arm in particular) continue
to use the fbdev backend, as in the absence of kvm, the performance
of software GL paths falls to unacceptable level.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: unbreak wayland build
Alexander Kanavin [Wed, 19 Feb 2020 19:47:42 +0000 (20:47 +0100)]
webkitgtk: unbreak wayland build

webkit nowadays requires a couple of supplementary libraries for this,
so bring them in (courtesy of meta-webkit[1], which will hopefully
adjust without a lot of trouble).

[1] https://github.com/Igalia/meta-webkit/

[RP: Add missing maintainers entries]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: x11 and wayland are not mutually exclusive
Alexander Kanavin [Wed, 19 Feb 2020 19:47:41 +0000 (20:47 +0100)]
webkitgtk: x11 and wayland are not mutually exclusive

Also enabling wayland if x11 is not enabled is not necessarily
the correct decision.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Drop 'backup' code and SIGTERM handler
Richard Purdie [Wed, 19 Feb 2020 18:32:19 +0000 (18:32 +0000)]
oeqa/selftest: Drop 'backup' code and SIGTERM handler

Now selftest is using its own copied build directory, we can stop worrying about
copying files around as backup, and drop the SIGTERM handler to try and restore
them, simplifying the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Standardise seperate builddir for concurrent and non-concurrent selftest
Richard Purdie [Wed, 19 Feb 2020 18:19:49 +0000 (18:19 +0000)]
oeqa/selftest: Standardise seperate builddir for concurrent and non-concurrent selftest

Currently oe-selftest reuses the current build directory and the concurrent
version run with -j does not.

Standardise and use a separate new build directory in both cases. This will lead
to simpler code and more reliable user run tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftest/context: Avoid tracebacks from tests using multiprocessing
Richard Purdie [Wed, 19 Feb 2020 17:27:26 +0000 (17:27 +0000)]
selftest/context: Avoid tracebacks from tests using multiprocessing

We can see tracebacks where the SIGTERM handler catches things
it shouldn't. Avoid exit(1) unless we're the process that
it was intended for.

[YOCTO #13664]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-tools: upgrade 2.11.0 -> 2.11.2
Richard Purdie [Tue, 18 Feb 2020 22:09:00 +0000 (14:09 -0800)]
lttng-tools: upgrade 2.11.0 -> 2.11.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooescripts.py: use unittest.SkipUnless for class skip
Trevor Gamblin [Thu, 5 Dec 2019 16:55:19 +0000 (11:55 -0500)]
oescripts.py: use unittest.SkipUnless for class skip

Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663

Prior to this fix, the try/except block in OEScriptTests' setUpClass
did both the import and the raise unittest.SkipTest for the
subsequent OEPybootchartguyTests. The consequence of the this meant
that, when cairo was not available on the test host, the raise was
counted only once as a class setup issue, instead of once for each
of the tests to be run, resulting in incorrect skip counts in the
test results.

Instead of raising unittest.SkipTest in setUpClass, the more
proper method is to use the unittest.skipUnless method along with
importlib.util.find_spec to check for the presence of the
python3-cairo module. This allows the entire class to be skipped
if cairo is not present, while also correctly passing along the
skip state for each of the class's tests, and avoiding the UNKNOWN
results to appear in cases where the -j option was provided to
oe-selftest, but the tests were still skipped.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolocal.conf.sample.extended: Document how to limit parallel fetch tasks
Richard Purdie [Wed, 19 Feb 2020 21:41:42 +0000 (21:41 +0000)]
local.conf.sample.extended: Document how to limit parallel fetch tasks

[YOCTO #13235]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodistro_alias: Fix typos
Richard Purdie [Wed, 19 Feb 2020 22:07:58 +0000 (22:07 +0000)]
distro_alias: Fix typos

[YOCTO #13433]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer: Fix reproducibility issue around libcap
Richard Purdie [Wed, 19 Feb 2020 15:15:19 +0000 (15:15 +0000)]
gstreamer: Fix reproducibility issue around libcap

Add an option to avoid builds depending on the presence of setcap
from the host system.

[YOCTO #13786]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: Fix makefile race causing configuration differences
Richard Purdie [Wed, 19 Feb 2020 14:38:23 +0000 (14:38 +0000)]
perl: Fix makefile race causing configuration differences

Add a missing makefile dependency which can cause differences in
configuration (submitted upstream).

[YOCTO #13800]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: reproducible: Include jquery in results
Joshua Watt [Wed, 19 Feb 2020 00:44:44 +0000 (18:44 -0600)]
oeqa: reproducible: Include jquery in results

Includes jquery in the output directory to make the diffoscope output
easier to navigate

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agojquery: Add recipe
Joshua Watt [Wed, 19 Feb 2020 00:44:43 +0000 (18:44 -0600)]
jquery: Add recipe

Adds a recipe that packages jQuery in a manner borrowed from debian. The
primary purpose is to make the diffoscope output from the autobuilder
easier to navigate.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: add dependencies to fix ptest failures
Mingde (Matthew) Zeng [Tue, 18 Feb 2020 19:46:49 +0000 (14:46 -0500)]
glib-2.0: add dependencies to fix ptest failures

There are a number of ptest failures due to executables not found in
the image. Since these executables are in FILES_${PN}-dev, depending
all of -dev which is an overkill. We take them out of -dev and put in
-utils, then depend on the latter instead.

When starting a glib ptest but decided to Ctrl-c interrupt midway,
./run-ptest cannot be restarted unless running `userdel glib2-test`
manually. Therefore adding a check prior to ptest will ensure the
ptest can be restarted.

Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorpm2cpio.sh: fix to handle newline character
Lori Hikichi [Tue, 18 Feb 2020 19:14:22 +0000 (11:14 -0800)]
rpm2cpio.sh: fix to handle newline character

This script is attempting to read binary data from an rpm file.
If any of the bytes it is attempt to read is the binary value 0xa
(i.e. a newline) then the script does not properly deal with this
special case. Due to the behavior of command substitution, instead of
fetching the value 0xa, the script makes an error and get the value 0
instead.

The fix and the following explantion was taken from this post...

https://unix.stackexchange.com/questions/10801/
how-to-use-bash-script-to-read-binary-file-content

Command substitution $(…) strips final newlines in the command output.
There's a fairly easy workaround.  Make sure the output ends in a
character other than a newline, then strip that one character.

Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonewlib: Move syscalls from newlib to libgloss
Mark Hatle [Fri, 14 Feb 2020 18:34:14 +0000 (12:34 -0600)]
newlib: Move syscalls from newlib to libgloss

By passing --disabled-newlib-supplied-syscalls, newlib will disable the
generation of builtin syscalls and move this to libgloss.  (This also
affects the generation of crt0.o.)

libgloss SHOULD then provide the syscalls, crt0.o and other functions that
are no longer part of newlib itself.  This now means that you must link
with both newlib and libgloss, whereas before newlib would run in many
configurations by itself.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: Fix encode module reproducibility issues
Richard Purdie [Tue, 18 Feb 2020 17:27:26 +0000 (17:27 +0000)]
perl: Fix encode module reproducibility issues

The code is encoding host compiler parameters into target builds. Avoid
this for our target builds. This should resolve builds which aren't
reproducible between hosts with different compilers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc-package.inc: fix multilib headers conflict
Kai Kang [Tue, 11 Feb 2020 15:07:41 +0000 (23:07 +0800)]
glibc-package.inc: fix multilib headers conflict

Pass bits/endianness.h and bits/struct_rwlock.h to oe_multilib_header in
glibc-package.inc to fix files conflict:

| Error: Transaction check error:
|   file /usr/include/bits/endianness.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64
|   file /usr/include/bits/struct_rwlock.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoconcurrencytest.py: add outSideTestaddSkip for subunit
Trevor Gamblin [Tue, 18 Feb 2020 14:56:18 +0000 (09:56 -0500)]
concurrencytest.py: add outSideTestaddSkip for subunit

see: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663

When running oe-selftest in concurrency mode (e.g. with oe-selftest
--run-tests oescripts.OEPybootchartguyTests -j 4), if a skip occurred
during setUpClass() rather than within individual tests, the entire
suite would show "UNKNOWN" as each test's result. This is because
subunit doesn't know how to handle skips outside of individual tests.
An example of where this occurs is when running the above call to
oe-selftest in concurrency mode on a host machine that does not have
python3-cairo installed.

Patch subunit inside concurrencytest.py to provide a method called
outSideTestaddSkip, which will allow subunit to correctly detect the
skip in setUpClass().

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agop11-kit: Fix builds with systemd
Richard Purdie [Tue, 18 Feb 2020 13:52:29 +0000 (13:52 +0000)]
p11-kit: Fix builds with systemd

In systemd enabled builds this was failing with unpackaged unit files.
Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: Fix errors when api-documentation is enabled
Richard Purdie [Tue, 18 Feb 2020 13:27:48 +0000 (13:27 +0000)]
webkitgtk: Fix errors when api-documentation is enabled

This recipe hasn't built correctly since we removed "python" from HOSTTOOLS
when api-documentation is enabled.

Add in an extra symlink to "python" rather than trying to fix the multiple
scripts in webkit to refer to python3.

The autobuilder didn't detect this as wekbkit was excluded from the API docs
world build but that is changed now so this fixes build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobabeltrace: update to 1.5.8
Anders Wallin [Mon, 17 Feb 2020 13:34:05 +0000 (14:34 +0100)]
babeltrace: update to 1.5.8

updated HOMEPAGE to http://babeltrace.org/
updated LICENSE to include LGPLv2.1

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinsane.bbclass: Correct typo inhert->inherit
Khem Raj [Sat, 15 Feb 2020 23:23:38 +0000 (15:23 -0800)]
insane.bbclass: Correct typo inhert->inherit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: upgrade v244.1 -> v244.3
Alex Kiernan [Sun, 16 Feb 2020 11:42:24 +0000 (11:42 +0000)]
systemd: upgrade v244.1 -> v244.3

Drop all systemd-boot patches and use an additional cross-file instead
to pick up EFI cc and objcopy. For EFI ld, we can use the command line
efi-ld option, but have to ensure it's something which can be exec'd
directly.

Commits from v244-stable:

  c4280c342bbf Revert "Support Plugable UD-PRO8 dock"
  bb598b56eb3c hibernate-resume-generator: wait "infinitely" for the resume device
  77c04ce5c270 hwdb: update to v245-rc1
  b4eb8848240c Fix typo in function name
  e2d4cb9843c5 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
  83bfc0d8dd02 sd-bus: introduce API for re-enqueuing incoming messages
  5926f9f1723f polkit: use structured initialization
  0697d0d972c8 polkit: on async pk requests, re-validate action/details
  2589995acdb2 polkit: reuse some common bus message appending code
  5b2442d5c3ec bus-polkit: rename return error parameter to ret_error
  0a19ff7004e4 shared: split out polkit stuff from bus-util.c → bus-polkit.c
  1325dfb5778d test: adapt to the new capsh format
  3538fafb4714 meson: update efi path detection to gnu-efi-3.0.11
  3034855a5b62 presets: "disable" all passive targets by default
  c2e304681929 shared/sysctl-util: normalize repeated slashes or dots to a single value
  6f4364046f90 dhcp6: do not use T1 and T2 longer than one provided by the lease
  0ed6cda28dff network: fix implicit type conversion warning by GCC-10
  f6a5c02d26b1 bootspec: parse random-seed-mode line in loader.conf
  ddc5dca8a73b sd-boot: fix typo
  2bbbe9ae41ab test: Synchronize journal before reading from it
  072485d661d7 sd-bus: fix introspection bug in signal parameter names
  80af3cf5e36b efi: fix build.
  d7ede1ade564 generator: order growfs for the root fs after systemd-remount-fs
  e9904998213d loginctl: use /org/freedesktop/login1/session/auto when "lock-session" is called without argument
  82dd4caf014c Documentation update for x-systemd.{before,after}
  a60459764d9d man: fix typo in systemd.netdev Xfrm example
  fc053e2dfb3f timesyncd: log louder when we refuse a server due to root distance
  af0e630693fa resolved: drop DNSSEC root key that is not valid anymore
  ae59f1666ca6 journal: don't use startswith() on something that is not a NUL-terminated string
  536ef6d72bc6 test: add test for https://github.com/systemd/systemd/issues/14560
  b78fe3c1b1a8 core: make sure StandardInput=file: doesn't get dup'ed to stdout/stderr by default
  a1561a08f2d5 pkgconf: add full generator paths
  e5f2d11489ec tree-wide: we forgot to destroy some bus errors
  ea67fd42067b mount: make checks on perpetual mount units more lax
  2f23c648bce4 core: never allow perpetual units to be masked
  9ba11dffb09a typo: "May modify to" -> "May modify"
  84c048799a78 Disable reading SystemdOptions EFI Var when in SecureBoot mode
  4c2d72b53091 sysctl: downgrade message when we have no permission
  c001a285a3a2 Clarify journald.conf MaxLevelStore documentation
  45d52c7615fd logind: refuse overriding idle hint on tty sessions
  b1a0be45b4ee cgroup: update only siblings that got realized once
  e6d694254fe1 mount: mark an existing "mounting" unit from /proc/self/mountinfo as "just_mounted"
  d8fd38769c36 journalctl: Correctly handle combination of --reverse and --lines (fixes #1596)
  cd19bd31d808 journalctl: Correctly handle --show-cursor in combination with --until or --since and --reverse
  1320aa92dc0a core: fix re-realization of cgroup siblings
  14164ec6bc77 core: propagate service state to socket in more load states
  c22bf6b31a45 man: describe "symlink" and "systemctl link" explicitly in UNIT FILE LOAD PATH
  26f3a534f1ab core: be more restrictive on the dependency types we allow to be created transiently
  377cc5d91ea5 udev: don't import parent ID_FS_ data on partitions
  7d5060d53994 man: fix option name
  98c03090274a Support Plugable UD-PRO8 dock
  e9687d09dccf gpt-auto: don't assume XBOOTLDR is vfat
  7057fe863007 man: fix documentation of IBM VIO device naming
  f8d1df1045be man: slightly extend documentation on difference between ID_NET_NAME_ONBOARD and ID_NET_LABEL_ONBOARD
  1faf5dde4d4a boot: fix osrel parser
  65d247af1786 udev: do not use exact match of file permission
  6da978f89b48 network: lower the log-level of harmless message
  5d8a614f926c hwdb: ignore keys added in kernel 5.5
  8b1bd1746989 systemctl: skip non-existent units in the 'cat' verb
  b2f342f92b54 systemd.exec: document the file system for EnvironmentFile paths
  945f3a231f6f systemd-analyze: fixed typo in documentation
  2c8ae283b0ee test-condition: fix group check condition
  6b48479f4582 umount: show correct error message
  faba5b2ba8c9 Revert "Drop dbus activation stub service"
  3dd98f1998f9 man: add section about user manager units
  1c80a8ced006 man: add remote-*.targets to the bootup sequence
  9afd65f15e93 time-util: also use 32bit hack on EOVERFLOW
  561923291383 [man] note which UID ranges will get user journals
  588a23ef2684 [man] fix URL
  0130a03179f6 analyze: badness if neither of RootImage and RootDirectory exists
  93074c962e3a network: introduce AddPrefixRoute= and deprecate PrefixRoute=
  a8ad020ea0ba shared/dropin: fix assert for invalid drop-in
  946cdba156dd initrd: make udev cleanup service confict trigger and settle too
  c0a8a92e6027 man: we support growing xfs too these days
  608d88273494 time-util: deal with systems where userspace has 64bit time_t but kernel does not
  cfced59a4bd8 [import] fix stdin/stdout pipe behavior in import/export tar/raw
  73435b219553 systemctl: show what verbs support --dry-run in the help page
  dc56b94e1308 cryptsetup-generator: unconfuse writing of the device timeout
  0757ad565573 shared/install: log syntax error for invalid DefaultInstance=
  d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofix various, innocuous typos
Robert P. J. Day [Sun, 16 Feb 2020 13:23:02 +0000 (08:23 -0500)]
fix various, innocuous typos

Corrections:

  - environment
  - accommodate
  - conversion
  - compatible

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: resolve ncurses host contamination
Alexander Kanavin [Sun, 16 Feb 2020 19:16:05 +0000 (20:16 +0100)]
python3: resolve ncurses host contamination

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest-packagelists: mention ifupdown ptest in a comment
Alexander Kanavin [Sun, 16 Feb 2020 15:50:14 +0000 (16:50 +0100)]
ptest-packagelists: mention ifupdown ptest in a comment

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston: add a basic runtime test
Alexander Kanavin [Sun, 16 Feb 2020 15:50:11 +0000 (16:50 +0100)]
weston: add a basic runtime test

The test is checking that weston is able to start.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemux86: drop resolution setting via uvesafb
Alexander Kanavin [Sun, 16 Feb 2020 15:50:08 +0000 (16:50 +0100)]
qemux86: drop resolution setting via uvesafb

I am not sure if this has ever worked, but uvesafb is a really
outdated (VBE from the 1990s), awkward (needs v86d) and limited
(no support for high resolutions) way to do it.

The specific reason 640x480-32 was introduced (ages ago) was
to force 32 bit mode with vmware driver, as 16bit had rendering issues.

The modern, supported option is video=... kernel parameter documented here:
https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID
https://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst
which can be passed directly to runqemu and doesn't require special
kernel modules.

Sato under X will continue to use 640x480 as that is hardcoded into
xorg.conf under qemu.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemux86: do not add vga=0 to kernel parameters
Alexander Kanavin [Sun, 16 Feb 2020 15:50:07 +0000 (16:50 +0100)]
qemux86: do not add vga=0 to kernel parameters

This was added ages ago to enable GL passthrough with
vmware driver, and is no longer relevant, as std or virgl is used
instead nowadays.

Original commit:

commit 072545b1111c5efb66289a4866897429f5fcd969
Author: Richard Purdie <rpurdie@linux.intel.com>
Date:   Wed Jan 21 17:40:51 2009 +0000

    scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 images

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoprocps: upstream has switched to gitlab
Alexander Kanavin [Sun, 16 Feb 2020 15:50:06 +0000 (16:50 +0100)]
procps: upstream has switched to gitlab

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Upgrade 8.1p1 -> 8.2p1
Alex Kiernan [Sat, 15 Feb 2020 15:30:06 +0000 (15:30 +0000)]
openssh: Upgrade 8.1p1 -> 8.2p1

Drop backports from upstream:

  0001-Manually-applied-upstream-fix-for-openssh-test.patch
  0001-seccomp-Allow-clock_gettime64-in-sandbox.patch
  openssh-8.1p1-seccomp-nanosleep.patch

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: Upgrade to 2.26.4 minor release
Khem Raj [Sat, 15 Feb 2020 15:43:58 +0000 (07:43 -0800)]
webkitgtk: Upgrade to 2.26.4 minor release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoicu: upgrade 64.2 -> 65.1
Wang Mingyu [Fri, 14 Feb 2020 23:44:27 +0000 (15:44 -0800)]
icu: upgrade 64.2 -> 65.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic: Honor APPEND
Kevin Hao [Thu, 13 Feb 2020 02:31:41 +0000 (10:31 +0800)]
wic: Honor APPEND

APPEND is used to add additional parameters to kernel by features, such
as read-only-rootfs. So we should honor this variable when we compose
the kernel parameter in wic. I know we also can resolve this kind of
issue by using the .wks.in template introduced by commit 42e870c5ed4b
("image_types.bbclass: support template .wks.in files for wic"), but the
APPEND is needed by all the wks, it would seems pretty ridiculous to me
to change all the .wks to .wks.in and then foist the APPEND into them.
So the APPEND is definitely deserved to export to the wic directly.

[Yocto #12809]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftest: wic: Add APPEND to the optional variables list
Kevin Hao [Sat, 15 Feb 2020 11:41:44 +0000 (19:41 +0800)]
selftest: wic: Add APPEND to the optional variables list

The APPEND is an optional variable, so add it to the optional variables
list to make the wic selftest happy.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognupg: Read GNUPG_BINDIR from environment variables for nativesdk
Robert Yang [Mon, 6 Jan 2020 10:30:32 +0000 (18:30 +0800)]
gnupg: Read GNUPG_BINDIR from environment variables for nativesdk

There is already a relocate.patch for native which is used for reading
GNUPG_BINDIR from environment variables, now also enable it for nativesdk.
Otherwise, command like the following one doesn't work for nativesdk:

$ gpg-connect-agent --homedir ../keys/ reloadagent /bye
gpg-connect-agent: no running gpg-agent - starting '/opt/path/to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent'
gpg-connect-agent: failed to start agent '/opt/path/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent': No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotclibc-newlib: Include qemu on the SDK
Alejandro Enedino Hernandez Samaniego [Fri, 14 Feb 2020 18:13:49 +0000 (10:13 -0800)]
tclibc-newlib: Include qemu on the SDK

Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.

Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the newlib based SDK.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotclibc-baremetal: Include qemu on the SDK
Alejandro Enedino Hernandez Samaniego [Fri, 14 Feb 2020 18:13:48 +0000 (10:13 -0800)]
tclibc-baremetal: Include qemu on the SDK

Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.

Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the baremetal based SDK.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoimage.bbclass, package-index.bb: Delete do_populate_lic task
Khem Raj [Fri, 14 Feb 2020 23:29:01 +0000 (15:29 -0800)]
image.bbclass, package-index.bb: Delete do_populate_lic task

These are meta packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcf-agent: Mangle arch for armeb
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:44:16 +0000 (20:44 -0800)]
tcf-agent: Mangle arch for armeb

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agox11perf: make x11perfcomp a mulitlib script
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:53 +0000 (20:42 -0800)]
x11perf: make x11perfcomp a mulitlib script

x11perfcomp encodes the library paths in the script.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosubversion: move pkgconfig files in to libdir
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:52 +0000 (20:42 -0800)]
subversion: move pkgconfig files in to libdir

All of the .pc files contain the path to ${libdir} which fails
in a multilib rpm image.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibassuan: multilib header for assuan.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:51 +0000 (20:42 -0800)]
libassuan: multilib header for assuan.h

assuan.h is generated and can differ between mutlilibs.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsndfile1: mutlilibize sndfile.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:50 +0000 (20:42 -0800)]
libsndfile1: mutlilibize sndfile.h

sndfile.h can differ depending on the combined architectures.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxslt: multilib_header xsltconfig.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:49 +0000 (20:42 -0800)]
libxslt: multilib_header xsltconfig.h

xsltconfig.h is generated and can be different between multilibs

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobind: add mulitlib_header for platform.h
Jeremy A. Puhlman [Sat, 15 Feb 2020 04:42:48 +0000 (20:42 -0800)]
bind: add mulitlib_header for platform.h

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/resultutils: Fix unicode error handling
Richard Purdie [Sat, 15 Feb 2020 17:23:54 +0000 (17:23 +0000)]
resulttool/resultutils: Fix unicode error handling

This error handling didn't work as expected since upon failure it would
inject bytestreams back into the code leading to tracebacks.

Instead, ignore the decode errors. Fixes:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 78, in <module>
    sys.exit(main())
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 72, in main
    ret = args.func(args, logger)
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/store.py", line 70, in store
    resultutils.save_resultsdata(results, tempdir, ptestlogs=True)
  File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/resultutils.py", line 178, in save_resultsdata
    f.write(sectionlog)
TypeError: write() argument must be str, not bytes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml2: Update patch upstream status
Richard Purdie [Sat, 15 Feb 2020 10:32:53 +0000 (10:32 +0000)]
libxml2: Update patch upstream status

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopopulate_sdk_ext: We now require python3, not python
Richard Purdie [Fri, 14 Feb 2020 18:13:14 +0000 (18:13 +0000)]
populate_sdk_ext: We now require python3, not python

We no longer expect a "python" binary in PATH so update the eSDK's
expectations to match. This was the only failure on autobuilder test
systems with python missing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodb: Fix timespec length assumptions
Khem Raj [Fri, 14 Feb 2020 22:33:34 +0000 (14:33 -0800)]
db: Fix timespec length assumptions

This should fix the vdso crashes seen with kernel 5.0+

python3[11312] general protection fault ip:b7e966b0 sp:bf8175cc error:0 in libc.so[b7e8b000+6b000]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemuriscv64: Set the Xvisor platform
Alistair Francis [Fri, 14 Feb 2020 19:42:30 +0000 (11:42 -0800)]
qemuriscv64: Set the Xvisor platform

Set the platform information required to build Xvisor.
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-extended/xvisor

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pycairo: upgrade 1.18.2 -> 1.19.0
Wang Mingyu [Fri, 14 Feb 2020 23:44:29 +0000 (15:44 -0800)]
python3-pycairo: upgrade 1.18.2 -> 1.19.0

-License-Update: "PDX-License-Identifier: LGPL-2.1-only OR MPL-1.1"
is added

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoell: upgrade 0.27 -> 0.28
Wang Mingyu [Fri, 14 Feb 2020 23:44:26 +0000 (15:44 -0800)]
ell: upgrade 0.27 -> 0.28

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogdb: Upgrade to 9.1 release
Khem Raj [Fri, 14 Feb 2020 15:42:39 +0000 (07:42 -0800)]
gdb: Upgrade to 9.1 release

Drop security patches which are now in 9.1 already
Forward port rest of patches to 9.1
Detailed changes [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00008.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Update to latest tip
Khem Raj [Fri, 14 Feb 2020 15:42:38 +0000 (07:42 -0800)]
musl: Update to latest tip

Detailed changelog is here [1]

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobusybox: Backport patches to support removal of __NR_clock_gettime
Khem Raj [Fri, 14 Feb 2020 18:00:07 +0000 (10:00 -0800)]
busybox: Backport patches to support removal of __NR_clock_gettime

This helps compiling with musl on 32bit arches now that musl has
switched to 64bit time_t

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoruby: upgrade 2.6.5 -> 2.7.0
Wang Mingyu [Wed, 12 Feb 2020 18:35:06 +0000 (10:35 -0800)]
ruby: upgrade 2.6.5 -> 2.7.0

0003-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch
Removed since it is included in 2.7.0.

refresh the following patch:
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch

add the following patch to solve build error:
0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
[error message]
ERROR: ruby-2.7.0-r0 do_package_qa: QA Issue:
/usr/lib/ruby/gems/2.7.0/gems/racc-1.4.16/bin/y2racc contained in
package ruby requires /usr/local/bin/ruby, but no providers found in
RDEPENDS_ruby? [file-rdeps]

format of file COPYING is updated.
LEGAL notice information is updated.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pip: upgrade 19.3.1 -> 20.0.2
Wang Mingyu [Wed, 12 Feb 2020 18:35:05 +0000 (10:35 -0800)]
python3-pip: upgrade 19.3.1 -> 20.0.2

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoffmpeg: add PACKAGECONFIG support for x265
Scott Branden via Openembedded-core [Thu, 13 Feb 2020 16:25:33 +0000 (08:25 -0800)]
ffmpeg: add PACKAGECONFIG support for x265

Add PACKAGECONFIG support for x265 in ffmpeg.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostrace: Update to 5.5
Alistair Francis [Thu, 13 Feb 2020 23:25:28 +0000 (15:25 -0800)]
strace: Update to 5.5

Update strace to 5.5. This includes a small change in the license file
to change the date to 2020.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc-testsuite: Exclude this recipe from world builds
Nathan Rossi [Fri, 14 Feb 2020 05:59:43 +0000 (05:59 +0000)]
glibc-testsuite: Exclude this recipe from world builds

This recipe is intended to be run manually or via oeqa.

[YOCTO #13737]

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc-testsuite: Remove the do_install task
Nathan Rossi [Fri, 14 Feb 2020 05:59:43 +0000 (05:59 +0000)]
glibc-testsuite: Remove the do_install task

This task is not intended to be run as this recipe does not produce any
packages or install any sysroot content. Additionally running this task
behaves differently from a normal glibc build, and can result in issues.

[YOCTO #13737]

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosquashfs-tools: Enable on musl
Khem Raj [Fri, 14 Feb 2020 07:03:52 +0000 (23:03 -0800)]
squashfs-tools: Enable on musl

Upstream has a patch [1] to fix musl builds, Prior to this it would not
build on musl due to missing GNU extentions for fnmatch

[1] https://github.com/plougher/squashfs-tools/commit/4280e74de14070869787a9166242f9ce2dafd82e

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml2: Fix CVE-2019-20388
Lee Chee Yang [Fri, 14 Feb 2020 11:28:10 +0000 (19:28 +0800)]
libxml2: Fix CVE-2019-20388

see:
https://gitlab.gnome.org/GNOME/libxml2/merge_requests/68

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobash: include patch 12-16
Lee Chee Yang [Fri, 14 Feb 2020 11:28:09 +0000 (19:28 +0800)]
bash: include patch 12-16

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostaging: Handle races between binaries and their libs
Richard Purdie [Fri, 14 Feb 2020 12:50:18 +0000 (12:50 +0000)]
staging: Handle races between binaries and their libs

There is a long standing issue where a binary could be installed into the
sysroot before its library dependencies. We've always argued nothing should
use the binary until it has been installed by a dependency but there are issues
around binaries which conflict with the host system, for example patch,
python3, gzip and more.

With the recent patch changes we've seen issues like:
ERROR: gdb-cross-canadian-powerpc-8.3.1-r0 do_patch: Command Error: 'quilt --quiltrc /home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-powerpc/8.3.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch 0009-Change-order-of-CFLAGS.patch
patch: /lib64/libattr.so.1: version `ATTR_1.3' not found (required by patch)
Patch 0009-Change-order-of-CFLAGS.patch does not apply (enforce with -f)

which is a symptom of this issue (libattr-native is a dependency of patch-native).

There are other ways to fix this such as disabling libattr in patch, installing
patch to a subdirectory and requiring PATH manipulation and so on.

We can simply fix the staging code to handle /bin/ after everything else so
do that and avoid all these other complications.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo: upgrade 1.11.1 -> 1.11.2
Wang Mingyu [Mon, 10 Feb 2020 17:38:05 +0000 (09:38 -0800)]
librepo: upgrade 1.11.1 -> 1.11.2

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibcheck: upgrade 0.13.0 -> 0.14.0
Wang Mingyu [Mon, 10 Feb 2020 17:38:04 +0000 (09:38 -0800)]
libcheck: upgrade 0.13.0 -> 0.14.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxcrypt: upgrade 4.4.10 -> 4.4.12
Wang Mingyu [Mon, 10 Feb 2020 17:38:03 +0000 (09:38 -0800)]
libxcrypt: upgrade 4.4.10 -> 4.4.12

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibtasn1: upgrade 4.15.0 -> 4.16.0
Wang Mingyu [Mon, 10 Feb 2020 17:38:02 +0000 (09:38 -0800)]
libtasn1: upgrade 4.15.0 -> 4.16.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosudo: upgrade 1.8.30 -> 1.8.31
Wang Mingyu [Mon, 10 Feb 2020 17:38:00 +0000 (09:38 -0800)]
sudo: upgrade 1.8.30 -> 1.8.31

-License-Update: Copyright year updated from 1998-2019 to 1998-2020.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Upgrade to 4.2.0
Alistair Francis [Mon, 10 Feb 2020 21:25:15 +0000 (13:25 -0800)]
qemu: Upgrade to 4.2.0

While we are upgrading let's refresh patches and remove the outdated
patches.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils: additional patch should be added with space.
Jeremy Puhlman [Mon, 10 Feb 2020 21:29:26 +0000 (13:29 -0800)]
binutils: additional patch should be added with space.

If an append adds a patch or file with SRC_URI += , the spaceless
append causes the file listings to concatinate and cause failures
in the nativesdk-binutils parse/build.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomtdev: upgrade 1.1.5 -> 1.1.6
Pierre-Jean Texier via Openembedded-core [Mon, 10 Feb 2020 21:25:59 +0000 (22:25 +0100)]
mtdev: upgrade 1.1.5 -> 1.1.6

Also remove patch which have been merged upstream

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodevicetree.bbclass: include symbols in base DT
Alex Kiernan [Wed, 12 Feb 2020 10:35:26 +0000 (10:35 +0000)]
devicetree.bbclass: include symbols in base DT

When processing overlays, the base device tree must be compiled with
symbols, otherwise attempting to apply overlays in U-Boot will fail
with:

  failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
  base fdt does did not have a /__symbols__ node
  make sure you've compiled with -@

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-fitimage: fix devicetree reproducibility
Alex Kiernan [Wed, 12 Feb 2020 11:33:36 +0000 (11:33 +0000)]
kernel-fitimage: fix devicetree reproducibility

Ensure that the order of dtb/dtbo files in the generated fitimage is
reproducible.

Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto-dev: Add paravirt_kvm support for qemux86-64
He Zhe [Wed, 12 Feb 2020 07:35:57 +0000 (15:35 +0800)]
linux-yocto-dev: Add paravirt_kvm support for qemux86-64

This feature includes paravirtualized KVM guest support, including
KVMCLOCK for enhancing clock accuracy of guest OS. With it we can prevent
the following error.

"clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as
unstable because the skew is too large"

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: install _tkinter.*.so to python3-tkinter package
Yi Zhao [Wed, 12 Feb 2020 06:24:40 +0000 (14:24 +0800)]
python3: install _tkinter.*.so to python3-tkinter package

When enable PACKAGECONFIG[tk], we should install _tkinter.*.so to
python3-tkinter package rather than python3-misc package.

Fixes:
ERROR: python3-3.8.1-r0 do_package_qa: QA Issue:
/usr/lib/python3.8/lib-dynload/_tkinter.cpython-38-x86_64-linux-gnu.so
contained in package python3-misc requires libtk8.6.so()(64bit), but no
providers found in RDEPENDS_python3-misc? [file-rdeps]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: reproducible: Run diffoscope on saved output
Joshua Watt [Wed, 12 Feb 2020 03:14:35 +0000 (21:14 -0600)]
oeqa: reproducible: Run diffoscope on saved output

If there are differing packages and they are being saved for review,
automatically run diffoscope on them and include the output in the saved
output. The output is currently done in HTML format since these are
typically published on a webpage by the autobuilder.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodiffoscope: Exclude from musl builds
Richard Purdie [Fri, 14 Feb 2020 08:25:18 +0000 (08:25 +0000)]
diffoscope: Exclude from musl builds

Various dependencies don't build for musl so exclude this recipe too, at
least for now until the issues are resolved to avoid build failures in
world builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipes-support: Add diffoscope recipe
Joshua Watt [Wed, 12 Feb 2020 03:14:34 +0000 (21:14 -0600)]
recipes-support: Add diffoscope recipe

Diffoscope is the universal diff tool, capable of comparing many
different formats.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython: Add magic recipe
Joshua Watt [Wed, 12 Feb 2020 03:14:33 +0000 (21:14 -0600)]
python: Add magic recipe

The python-magic module is used by diffoscope tool to make
build comparisons.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython: Add libarchive-c recipe
Joshua Watt [Wed, 12 Feb 2020 03:14:32 +0000 (21:14 -0600)]
python: Add libarchive-c recipe

The libarchive python module is used by diffoscope tool to
make build comparisons.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>