]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agometa/recipes.txt: Stop documenting the long removed recipes-lsb4
Adrian Bunk [Sun, 25 Aug 2019 17:21:35 +0000 (20:21 +0300)]
meta/recipes.txt: Stop documenting the long removed recipes-lsb4

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiputils: upgrade to s20190709
Changhyeok Bae [Fri, 23 Aug 2019 21:56:53 +0000 (23:56 +0200)]
iputils: upgrade to s20190709

build system is changed to meson.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pip:upgrade 19.2.2 -> 19.2.3
Zang Ruochen [Mon, 26 Aug 2019 03:09:31 +0000 (11:09 +0800)]
python3-pip:upgrade 19.2.2 -> 19.2.3

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/kerneldevelopment: Able to apply a single patch to the Linux kernel source
Mazliana [Fri, 23 Aug 2019 02:29:18 +0000 (10:29 +0800)]
oeqa/kerneldevelopment: Able to apply a single patch to the Linux kernel source

Purpose of kernel development is basically to customize our
own recipes kernel by reused existing recipes.
 
This is an initiative of automating manual kernel development
test cases. Applying a single patch to the Linux kernel source
is one of the manual test cases of kernel development.

Objective of this test is as a developer we can make changes of
a file in kernel source and able to apply a single patch to
the kernel source.
 
ref:https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases

Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoworld-broken.inc: Remove
Adrian Bunk [Tue, 27 Aug 2019 05:52:00 +0000 (08:52 +0300)]
world-broken.inc: Remove

Move still required entries as COMPATIBLE_HOST_libc-musl = 'null'
to individual recipes.

This also gives users a proper error message when trying to build
a known non-building package.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosubversion: Upgrade 1.12.0 -> 1.12.2
Adrian Bunk [Tue, 27 Aug 2019 05:51:59 +0000 (08:51 +0300)]
subversion: Upgrade 1.12.0 -> 1.12.2

Remove backported patch.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoflac: Upgrade 1.3.2 -> 1.3.3
Adrian Bunk [Tue, 27 Aug 2019 05:51:58 +0000 (08:51 +0300)]
flac: Upgrade 1.3.2 -> 1.3.3

Remove backported patch.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-networking: Upgrade 2.60.2 -> 2.60.3
Adrian Bunk [Tue, 27 Aug 2019 05:51:57 +0000 (08:51 +0300)]
glib-networking: Upgrade 2.60.2 -> 2.60.3

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agohelp2man: Upgrade 1.47.10 -> 1.47.11
Adrian Bunk [Tue, 27 Aug 2019 05:51:56 +0000 (08:51 +0300)]
help2man: Upgrade 1.47.10 -> 1.47.11

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibarchive:upgrade 3.3.3 -> 3.4.0
Zang Ruochen [Tue, 27 Aug 2019 02:45:16 +0000 (10:45 +0800)]
libarchive:upgrade 3.3.3 -> 3.4.0

-libarchive/CVE-2018-1000877.patch
-libarchive/CVE-2018-1000878.patch
-libarchive/CVE-2018-1000879.patch
-libarchive/CVE-2018-1000880.patch
-libarchive/CVE-2019-1000019.patch
-libarchive/CVE-2019-1000020.patch
-libarchive/bug1066.patch
-libarchive/non-recursive-extract-and-list.patch
 Removed since these are included in 3.4.0.

-License-Update: Copyright year updated to 2018.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo-1.12: update to 1.12.9 minor release
Khem Raj [Mon, 26 Aug 2019 16:44:26 +0000 (09:44 -0700)]
go-1.12: update to 1.12.9 minor release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoboost: update to 1.71.0
Alexander Kanavin [Mon, 26 Aug 2019 14:26:28 +0000 (16:26 +0200)]
boost: update to 1.71.0

Some notes:
- bjam bootstrap scripts were changed, and the patch for that had to be
  adjusted. tools/build/src/engine/build.sh now supports an --debug option
  which the bjam-native recipe can use to get the debug build of b2.
- a related patch was added to address a speed regression with the debug
  version of bjam
- gcc.jam patch had to be refreshed because boost added more "cpu-flags"
  lines.
- since 1.70.0, boost includes new cmake config files which are packaged
  in ${PN}-dev now so they make it into the SDK. (although 1.71.0 is needed
  to fix some bugs in them)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoicecc: blacklist systemtap
Tim Blechmann [Tue, 27 Aug 2019 10:37:07 +0000 (18:37 +0800)]
icecc: blacklist systemtap

compiling systemtap with icecc causes the following build failure

> build/tmp/work/silvermont-64-poky-linux/systemtap/4.0-r0/recipe-sysroot/usr/include/python3.7m/modsupport.h:120:66: note: in definition of macro 'PyModule_AddIntMacro'
> HelperSDT/_HelperSDT.c:145:34: error: 'PyTrace_RETURN' undeclared (first use in this function); did you mean 'PyTrace_C_RETURN'?

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoinitscripts: remove warnings on read-only-rootfs (again)
Martin Hundebøll [Wed, 21 Aug 2019 10:25:53 +0000 (12:25 +0200)]
initscripts: remove warnings on read-only-rootfs (again)

When the populate-volatile.sh initscript tests if a configured symlink
is already in place, it uses readlink with the '-f' (follow) option:

> [ "$(readlink -f $source)" = "$dest" ]

If the test fails, it proceeds to delete the exisiting folder/file, and
create the configured symlink.

However, the '-f' option to readlink makes it follow symlinks pointing
at symlinks. If the $dest argument is a symlink, the above test fails,
and warnings are printed due to changing a read-only rootfs.

This is the case for /tmp, and /etc/resolv.conf:
> /tmp -> /var/tmp -> /var/volatile/tmp
> /etc/resolv.conf -> /var/run/resolv.conf -> /run/resolv.conf

Fix the warnings by removing the '-f' option, so that the test matches
the configuration.

[ YOCTO #10814 ]

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoimages: use 512M of RAM in qemu if 'opengl" is in DISTRO_FEATURES
Alexander Kanavin [Tue, 20 Aug 2019 15:32:10 +0000 (17:32 +0200)]
images: use 512M of RAM in qemu if 'opengl" is in DISTRO_FEATURES

256M was found to be no longer sufficient, as the X server fails to
start with the modesetting driver and 3D enabled.

Only images that actually include X11 are adjusted.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolighttpd: drop hard-coded lua version in PACKAGECONFIG
Trevor Gamblin [Thu, 22 Aug 2019 18:54:49 +0000 (14:54 -0400)]
lighttpd: drop hard-coded lua version in PACKAGECONFIG

When building lighttpd with PACKAGECONFIG_append_pn-lighttpd = "lua" in local.conf,
bitbake gives the following error:

ERROR: Nothing PROVIDES 'lua5.1' (but /home/tgamblin/build/oe-core/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'lua5.1']

Removing the "5.1" from the PACKAGECONFIG line in lighttpd_1.4.54.bb fixes the issue.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-numpy: update to 1.17.0
Alexander Kanavin [Thu, 22 Aug 2019 15:07:10 +0000 (17:07 +0200)]
python3-numpy: update to 1.17.0

Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch

License-Update: clarified license for numpy/core/src/multiarray/dragon4.c (it is MIT)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoquilt: added less to RDEPENDS list
Trevor Gamblin [Thu, 22 Aug 2019 12:29:05 +0000 (08:29 -0400)]
quilt: added less to RDEPENDS list

The quilt "series" option relies on "less -R" but, since that
option is not enabled by busybox in oe-core by default,
hard-code the dependency on 'less'.

>From 'man less':
   -r or --raw-control-chars
      Causes "raw" control characters to be displayed. ...
   -R or --RAW-CONTROL-CHARS
      Like -r, but only ANSI "color" escape sequences are
      output in "raw" form.  ...

In 2018, BusyBox's less added:
   8528d3d4f less: optional support of -R
but it is not enable by default for oe-core. While we could
enable the option, all known use-cases involve larger, more
developer-oriented recipes such as quilt or man pages.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoquilt: Export QUILT_PC variable in ptest Makefile
Trevor Gamblin [Thu, 22 Aug 2019 12:29:04 +0000 (08:29 -0400)]
quilt: Export QUILT_PC variable in ptest Makefile

The quilt ptest uses a custom Makefile to implement the
"make check" rule, but the ptest Makefile does not export
the variable QUILT_PC, which is user-settable and normally
defaults to ".pc". This causes failures e.g. import.test
with "rm -rf patches/ %{QUILT_PC}/", evaluating to
"rm -rf patches/ /" if the variable is not set by the
Makefile.

These ptests broke in:
  73d6034f6b quilt: update to 0.66
when the upstream quilt developers enabled users to specify
their own QUILT_PC string.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoncurses: upgrade 6.1+20181013 -> 6.1+20190803
Hongxu Jia [Thu, 22 Aug 2019 02:07:30 +0000 (10:07 +0800)]
ncurses: upgrade 6.1+20181013 -> 6.1+20190803

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodistcc: upgrade 3.3.2 -> 3.3.3
Hongxu Jia [Thu, 22 Aug 2019 02:07:29 +0000 (10:07 +0800)]
distcc: upgrade 3.3.2 -> 3.3.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pip:upgrade 19.2.1 -> 19.2.2
Zang Ruochen [Thu, 22 Aug 2019 01:52:30 +0000 (09:52 +0800)]
python3-pip:upgrade 19.2.1 -> 19.2.2

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolz4:upgrade 1.9.1 -> 1.9.2
Zang Ruochen [Thu, 22 Aug 2019 01:13:24 +0000 (09:13 +0800)]
lz4:upgrade 1.9.1 -> 1.9.2

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopango: upgrade to 1.44.5
Ross Burton [Tue, 6 Aug 2019 11:47:17 +0000 (12:47 +0100)]
pango: upgrade to 1.44.5

This release ships some files that were previously missing from git but needed
for the test suite.

Add RDEPENDS on locale-base-en-us as some of the tests explictly use it.

No need to depend on liberation-fonts, all of the tests use Cantarell.

With these changes, just one test fails (filed upstream as
https://gitlab.gnome.org/GNOME/pango/issues/405) and there are no skips.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocreaterepo-c: upgrade 0.14.3 -> 0.15.0
Alexander Kanavin [Tue, 20 Aug 2019 15:32:14 +0000 (17:32 +0200)]
createrepo-c: upgrade 0.14.3 -> 0.15.0

Disable delta-rpm, which oe-core does not use.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibmodulemd: depend on target python at build time
Alexander Kanavin [Tue, 20 Aug 2019 15:32:13 +0000 (17:32 +0200)]
libmodulemd: depend on target python at build time

meson build system is importing sysconfig, which requires
having a target confiuguration available.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibffi: Upgrade to 3.3-rc0
Khem Raj [Mon, 19 Aug 2019 16:42:58 +0000 (09:42 -0700)]
libffi: Upgrade to 3.3-rc0

libffi 3.1 release has been a bit aged and new architectures, compilers
have since been come on stage to compile it, we have been carrying
patches, but its better to use the latest 3.3 rc0 which has lot of these
issues handled and is in good shape.

Use 3.3~rc0 for PV to keep room for upgrade path without PE bump

fix the multilib header conflict

file /usr/include/ffi.h from install of libffi-dev-3.2.1+3.3+rc0-r0.core2_32 conflicts with file from package lib64-libffi-dev-3.2.1+3.3+rc0-r0.x86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopensbi: Disable SECURITY_CFLAGS since it cant link with libssp
Khem Raj [Mon, 19 Aug 2019 16:42:59 +0000 (09:42 -0700)]
opensbi: Disable SECURITY_CFLAGS since it cant link with libssp

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoepiphany: upgrade 3.32.3 -> 3.32.4
Alexander Kanavin [Tue, 20 Aug 2019 15:32:19 +0000 (17:32 +0200)]
epiphany: upgrade 3.32.3 -> 3.32.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agovala: upgrade 0.44.5 -> 0.44.7
Alexander Kanavin [Tue, 20 Aug 2019 15:32:17 +0000 (17:32 +0200)]
vala: upgrade 0.44.5 -> 0.44.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agort-tests: exclude another development version
Alexander Kanavin [Tue, 20 Aug 2019 15:32:12 +0000 (17:32 +0200)]
rt-tests: exclude another development version

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibdazzle: upgrade 3.32.2 -> 3.32.3
Alexander Kanavin [Tue, 20 Aug 2019 15:32:18 +0000 (17:32 +0200)]
libdazzle: upgrade 3.32.2 -> 3.32.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodesktop-file-utils: upgrade 0.23 -> 0.24
Alexander Kanavin [Tue, 20 Aug 2019 15:32:16 +0000 (17:32 +0200)]
desktop-file-utils: upgrade 0.23 -> 0.24

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogtk-doc: upgrade 1.30 -> 1.31
Alexander Kanavin [Tue, 20 Aug 2019 15:32:15 +0000 (17:32 +0200)]
gtk-doc: upgrade 1.30 -> 1.31

Drop backported patch.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibnss-nis: upgrade 3.0 -> 3.1
Yuan Chao [Tue, 20 Aug 2019 05:47:41 +0000 (14:47 +0900)]
libnss-nis: upgrade 3.0 -> 3.1

Remove patch 0001-nis-hosts-Remove-use-of-RES_USE_INET6.patch
since this is included in 3.1

Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoqemumips/qemumips64: move QB_SYSTEM_NAME to corresponding conf
Changqing Li [Tue, 20 Aug 2019 02:45:44 +0000 (10:45 +0800)]
qemumips/qemumips64: move QB_SYSTEM_NAME to corresponding conf

Configuration:
MACHINE = qemumips64

bitbake lib32-core-image-minimal
runqemu slirp nographic qemumips64 ext4

Error:
ERROR - Failed to run qemu: qemu-system-mips: unable to find CPU model 'MIPS64R2-generic'

Fixed by moving QB_SYSTEM_NAME to Respective configuration file

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobtrfs-tools: Add a PACKAGECONFIG for zstd
Adrian Bunk [Wed, 21 Aug 2019 10:58:25 +0000 (13:58 +0300)]
btrfs-tools: Add a PACKAGECONFIG for zstd

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopatch: backport fixes
Anuj Mittal [Wed, 21 Aug 2019 01:44:45 +0000 (09:44 +0800)]
patch: backport fixes

The original fix for CVE-2018-1000156 was incomplete. Backport more
fixes done later for a complete fix.

Also see:
https://savannah.gnu.org/bugs/index.php?53820

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogcc: Search in OE specific target gcclibdir
Khem Raj [Fri, 16 Aug 2019 17:33:00 +0000 (10:33 -0700)]
gcc: Search in OE specific target gcclibdir

We put gcclibir to be /usr/lib/<arch>/... and not default
usr/lib/gcc/<arch>, therefore make the include search path also look
into this directory, this should help in finding gcc headers like omp.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
5 years agonfs-utils: decrease RLIMIT_NOFILE to 4k for systemd
Hongxu Jia [Tue, 20 Aug 2019 05:45:18 +0000 (01:45 -0400)]
nfs-utils: decrease RLIMIT_NOFILE to 4k for systemd

On systemd, it set RLIMIT_NOFILE to 512k, since do_testimage
for core-image-sato-sdk has memory limitation (256Mib) which
caused rpc.statd failed with out of memory.
[  531.306146] Out of memory: Kill process 193 (rpc.statd) score 200 or sacrifice child

The rpc.statd and rpc.mountd allocates memory according to
RLIMIT_NOFILE, so decrease it to 4k to keep sync with sysvinit

After applying the patch, the memory cost is the same with sysvinit:

root@qemux86-64:~# systemctl status nfs-statd
* nfs-statd.service - NFS status monitor for NFSv2/3 locking.
   Loaded: loaded (/lib/systemd/system/nfs-statd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-08-20 03:16:18 UTC; 3min 26s ago
 Main PID: 343 (rpc.statd)
    Tasks: 1 (limit: 271)
   Memory: 1.0M

root@qemux86-64:~# systemctl status nfs-mountd
* nfs-mountd.service - NFS Mount Daemon
   Loaded: loaded (/etc/systemd/system/nfs-mountd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-08-20 03:19:01 UTC; 1min 21s ago
 Main PID: 451 (rpc.mountd)
    Tasks: 1 (limit: 271)
   Memory: 736.0K

Suggested-by: Chen Qi <qi.chen@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-setuptools: update to 41.2.0
Oleksandr Kravchuk [Wed, 21 Aug 2019 19:02:44 +0000 (21:02 +0200)]
python-setuptools: update to 41.2.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoconf/conf-notes.txt: add a mention of common tools
Alexander Kanavin [Wed, 21 Aug 2019 10:22:23 +0000 (12:22 +0200)]
conf/conf-notes.txt: add a mention of common tools

They remain not as widely known as they should be;
perhaps mentioning them in the environment init banner could help.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: add PACKAGECONFIG for gnu-efi
Ross Burton [Wed, 21 Aug 2019 10:57:03 +0000 (11:57 +0100)]
systemd: add PACKAGECONFIG for gnu-efi

Add a PACKAGECONFIG for gnu-efi, by default the meson.build looks explicitly in
/usr/include and /usr/lib for gnu-efi, and if it is present on the host the
build will fail.

[ YOCTO #13487 ]

Original patch by Chin Huat Ang.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibunwind: Fix MIT license file checksum
Wes Lindauer [Fri, 16 Aug 2019 19:44:04 +0000 (15:44 -0400)]
libunwind: Fix MIT license file checksum

MIT license files must include the copyright notice.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosudo: Fix BSD license file checksum
Wes Lindauer [Fri, 16 Aug 2019 19:44:03 +0000 (15:44 -0400)]
sudo: Fix BSD license file checksum

BSD license files must include the copyright notice.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoshadow: Fix BSD license file checksum
Wes Lindauer [Fri, 16 Aug 2019 19:44:02 +0000 (15:44 -0400)]
shadow: Fix BSD license file checksum

BSD license files must include the copyright notice.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopenssh: Update LICENSE field with missing values
Wes Lindauer [Fri, 16 Aug 2019 19:44:01 +0000 (15:44 -0400)]
openssh: Update LICENSE field with missing values

The LICENSE file states that some code is licensed under BSD, some under
ISC, and some under MIT. The LICENSE field should reflect all of these.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoiw: Fix license field to BSD-2-Clause
Wes Lindauer [Fri, 16 Aug 2019 19:44:00 +0000 (15:44 -0400)]
iw: Fix license field to BSD-2-Clause

Using just "BSD" license implies BSD-3-Clause and this recipe appears to
be closer to a BSD-2-Clause.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobinutils: fix CVE-2019-14250 CVE-2019-14444
Anuj Mittal [Mon, 19 Aug 2019 13:43:11 +0000 (21:43 +0800)]
binutils: fix CVE-2019-14250 CVE-2019-14444

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agokmscube: Bump revision to f632b23
Otavio Salvador [Sat, 17 Aug 2019 15:12:16 +0000 (12:12 -0300)]
kmscube: Bump revision to f632b23

This includes following changes:

f632b23 drm: Find a proper modeset device, is none is provided

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogit: update to 2.23.0
Oleksandr Kravchuk [Sat, 17 Aug 2019 16:24:18 +0000 (18:24 +0200)]
git: update to 2.23.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocups: update to 2.2.12
Oleksandr Kravchuk [Sat, 17 Aug 2019 16:27:02 +0000 (18:27 +0200)]
cups: update to 2.2.12

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoacpid: upgrade 2.0.31 -> 2.0.32
Zang Ruochen [Mon, 19 Aug 2019 06:12:47 +0000 (14:12 +0800)]
acpid: upgrade 2.0.31 -> 2.0.32

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolinux-firmware: Upgrade 20190618 -> 20190815
Otavio Salvador [Sat, 17 Aug 2019 14:48:21 +0000 (11:48 -0300)]
linux-firmware: Upgrade 20190618 -> 20190815

License-Update:
- WHENCE: New firmware files additions and version updates

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3: fix the test_locale output format
Mingli Yu [Mon, 5 Aug 2019 09:38:18 +0000 (02:38 -0700)]
python3: fix the test_locale output format

Before this patch:
 # python3 -m test -v test_locale
 [snip]
 test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok
 [snip]

 After this patch:
 # python3 -m test -v test_locale
 [snip]
 test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9')... ok
 [snip]

Make the test ended with "... ok" is common in python
unittest world, we should make it keep consistent
with other test cases in case it may be ignored to
record in the report if we use the common filter
"... ok".

[YOCTO #13298]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibtasn1: Enable nativesdk support
Philippe Normand [Thu, 30 May 2019 13:47:01 +0000 (14:47 +0100)]
libtasn1: Enable nativesdk support

This is required before enabling p11-kit support by default in gnutls.

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodevtool: build: Also run deploy for devtool build if applicable
Jaewon Lee [Thu, 13 Jun 2019 23:29:48 +0000 (16:29 -0700)]
devtool: build: Also run deploy for devtool build if applicable

Right now `devtool build` runs populate_sysroot and packagedata tasks.
Adding deploy to this list, if the recipe has the deploy task, so that
the newly built artifacts are available in the deploy directory.
Applicable only for packages with deploy task, such as kernel.

[YOCTO#13382]

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoat: fix a spelling mistake.
Lei Maohui [Fri, 31 May 2019 21:08:34 +0000 (05:08 +0800)]
at: fix a spelling mistake.

"account" not "acount".

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoresulttool: Prevent multiple results for the same test
Jon Mason [Sun, 2 Jun 2019 18:29:13 +0000 (14:29 -0400)]
resulttool: Prevent multiple results for the same test

Currently, if a test occurs multiple times over different series, the
code will sum these.  This can lead to confusion over the desired
results.  Change the code to report the redundant tests and skip adding
an additional values.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agonativesdk-qemu: support aarch64_be.
Lei Maohui [Sat, 25 May 2019 02:32:07 +0000 (10:32 +0800)]
nativesdk-qemu: support aarch64_be.

Otherwise, there will be "no aarch64_be-softmmu" error.

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: fix upstream version check
Alexander Kanavin [Fri, 31 May 2019 16:03:43 +0000 (18:03 +0200)]
mesa: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobitbake.conf: fix XORG_MIRROR URL
Oleksandr Kravchuk [Thu, 9 May 2019 22:57:39 +0000 (00:57 +0200)]
bitbake.conf: fix XORG_MIRROR URL

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopackagegroup-core-base-utils: Make it machine specific
Ricardo Ribalda Delgado [Tue, 23 Jul 2019 12:37:50 +0000 (14:37 +0200)]
packagegroup-core-base-utils: Make it machine specific

Recipe makes use of the variable MACHINE_FEATURES, which is machine
specific:

  ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "kbd", "", d)}

This patch avoids multiconfig errors such as:

ERROR: mc:qt5222:packagegroup-core-base-utils-1.0-r0 do_package_qa_setscene: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_package_qa_setscene(d)
     0003:
File: '/workdir/repo/poky/meta/classes/insane.bbclass', lineno: 1026, function: do_package_qa_setscene
     1022:SSTATETASKS += "do_package_qa"
     1023:do_package_qa[sstate-inputdirs] = ""
     1024:do_package_qa[sstate-outputdirs] = ""
     1025:python do_package_qa_setscene () {
 *** 1026:    sstate_setscene(d)
     1027:}
     1028:addtask do_package_qa_setscene
     1029:
     1030:python do_qa_staging() {

(From OE-Core rev: 70234797b973046a6198bea684bdb757def2dce1)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemuriscv64: Specify the firmware as a bios instead of kernel
Alistair Francis [Tue, 20 Aug 2019 20:59:17 +0000 (13:59 -0700)]
qemuriscv64: Specify the firmware as a bios instead of kernel

Now that we have a -bios option for the RISC-V virt machine in QEMU we
can pass OpenSBI in via -bios and the kernel in via -kernel. We no
longer need to pass the kernel in via -device loader so let's remove
that.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/runqemu: Add support for the BIOS variable
Alistair Francis [Tue, 20 Aug 2019 20:59:16 +0000 (13:59 -0700)]
scripts/runqemu: Add support for the BIOS variable

Add support for specifying a BIOS the same way that the KERNEL variable
is specified. This includes specifying a QB_DEFAULT_BIOS variable.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Upgrade to version 4.1
Alistair Francis [Tue, 20 Aug 2019 20:59:15 +0000 (13:59 -0700)]
qemu: Upgrade to version 4.1

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibc-package.bbclass: Split locale hard link processing into two parts
Jason Wessel [Fri, 16 Aug 2019 21:06:05 +0000 (14:06 -0700)]
libc-package.bbclass: Split locale hard link processing into two parts

The locale-processing in cross-localedef was proven to be unsafe to
run in parallel due to the way it tried to make hard links to files
that could disappear before the link operation was completed.

To avoid corruption of the pseudo database, and create a
deterministically generated link tree, the operation of the locale
generation and the hard link resolution have been split into two
separate parts.  A side effect of this change is that the do_package()
rule for glibc-locale will be slightly smaller because some of the
hard links were missed in the past, particularly if you had a lot of
cpus free to perform the work.

Before the patch:
% du -sk locale-tree
312524  locale-tree

With the patch:
% du -sk locale-tree
290772 locale-tree

A number of comparisons were performed such as diffing the output,
cross checking the link references using tar's listing output, and
comparing against the results with out a parallel build to ensure the
locale-tree is correct in its final form.

[YOCTO #11299]
[YOCTO #12434]

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocross-localedef-native: Add hardlink resolver from util-linux
Jason Wessel [Fri, 16 Aug 2019 21:06:04 +0000 (14:06 -0700)]
cross-localedef-native: Add hardlink resolver from util-linux

The hard link resolver that is built into localedef cannot be run in
parallel.  It will search sibling directories (which are be processed
in parallel) and perform a creation of a .tmp file and remove the
original and move the .tmp file in.  The problem is that if a probe
occurs a hard link can be requested to the file that is being removed.
This will lead to a stray copy or potentially, on a loaded system
cause race condition which pseudo cannot deal with, where it is left
with a hard link request to a file that no longer exists.  In this
situation psuedo will inherit the permissions of what ever the target
inode had to offer.

In short, there are two problems:

  1) You will be left with stray copies when using the hard link
     resolution that is built in while running in parallel with
     localedef.

  2) When running under pseudo the possibility exists for uid/gid
     leakage when the source file is removed before the hard link can
     be completed.

The solution is to call localedef with --no-hard-links and separately
process the hardlinks at a later point.  To do this requires the
inclusion of the hardlink utility found in modern versions of
util-linux.  Most host systems do not have this, so it will be
included with the cross-localedef binary.

There are two patches here.  The first imports the raw version of
hardlink.c and a couple of header files directly from util-linux. The
second patch applies the fix-ups to make it compile, along with a
change to recipe to package the new binary.

[YOCTO #11299]
[YOCTO #12434]

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokmod: Replace dolt hacks with backport of upstream dolt removal
Adrian Bunk [Sun, 18 Aug 2019 15:00:32 +0000 (18:00 +0300)]
kmod: Replace dolt hacks with backport of upstream dolt removal

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: musl now supports secure_getenv
Adrian Bunk [Sun, 18 Aug 2019 15:00:31 +0000 (18:00 +0300)]
shadow: musl now supports secure_getenv

This fixed a potential security vulnerability on musl and made
the patch obsolete.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopsplash: Avoid mount the psplash tmpfs twice
Kevin Hao [Mon, 19 Aug 2019 09:27:15 +0000 (17:27 +0800)]
psplash: Avoid mount the psplash tmpfs twice

The /etc/init.d/psplash.sh will be invoked both in boot and
shutdown/reboot. And the psplash tmpfs will be mounted twice. This
will trigger a bug in umount and let the system hang when
shutdown/reboot. I already made a patch [1] to fix the issue in
umount, but there is no reason for the psplash to do the twice mount.
So also fix it.

[Yocto 13461]

[1] https://lore.kernel.org/util-linux/20190819083022.12289-1-kexin.hao@windriver.com/T/#u

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: Fix ustat02 failure
He Zhe [Mon, 19 Aug 2019 13:56:34 +0000 (21:56 +0800)]
ltp: Fix ustat02 failure

Backport a patch to fix the following failure.
ustat02.c:44: FAIL: ustat(2) failed to produce expected error; 14, errno: EFAULT: EINVAL

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoltp: Fix tgkill03 failure
He Zhe [Mon, 19 Aug 2019 13:56:33 +0000 (21:56 +0800)]
ltp: Fix tgkill03 failure

Backport a patch to fix the followig failure.
tgkill03.c:94: FAIL: Defunct tid should have failed with ESRCH: SUCCESS

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage: Fix race between do_package and do_packagedata
Richard Purdie [Thu, 15 Aug 2019 20:55:16 +0000 (21:55 +0100)]
package: Fix race between do_package and do_packagedata

do_package has PKGDESTWORK as a cleandir and do_packagedata has it as an sstate-input
dir. This means do_package wipes out the directory at both do_package and do_package_setscene.

do_package_setscene and do_packagedata_setscene can run in parallel when installing from
sstate which means they can wipe out parts of each other leading to interesting
build failures.

We therefore have to add in a hardlink copy so that the directories can work independently
of each other.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoyocto-check-layer: Ensure we use OEBasicHash as the signature handler
Richard Purdie [Wed, 14 Aug 2019 21:34:51 +0000 (22:34 +0100)]
yocto-check-layer: Ensure we use OEBasicHash as the signature handler

The layer checks are designed to work with OEBasicHash so ensure that handler
is in use rather than the new hash equivalency one as an example.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoofono: update to 1.30
Oleksandr Kravchuk [Fri, 16 Aug 2019 14:31:44 +0000 (16:31 +0200)]
ofono: update to 1.30

Removed upstreamed patches.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotarget-sdk-provides-dummy: extend packages for multilib case
Chen Qi [Fri, 16 Aug 2019 02:06:03 +0000 (10:06 +0800)]
target-sdk-provides-dummy: extend packages for multilib case

If we have installed some lib32 package which depends on perl/bash,
then populating sdk for that image would fail with the following error.

  Error:
  Problem: package lib32-libxml-namespacesupport-perl-1.12-r0.corei7_32 requires lib32-perl, but none of the providers can be installed

    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by lib32-perl-5.30.0-r0.corei7_32
    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with libperl.so.5 provided by lib32-perl-5.30.0-r0.corei7_32

This could be produced by the following steps:
1. IMAGE_INSTALL_append = " lib32-valgrind"
2. bitbake core-image-minimal -c populate_sdk

We need to extend all packages in DUMMYPROVIDES to avoid such problems.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodbus: disable test-bus
Changqing Li [Fri, 16 Aug 2019 01:30:50 +0000 (09:30 +0800)]
dbus: disable test-bus

test-bus take long time to finish, sometimes longer than ptest-runner's
timeout limit 300s, so skipped it for now

[YOCTO #13409]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-scons: update to 3.1.1
Oleksandr Kravchuk [Thu, 15 Aug 2019 16:04:53 +0000 (18:04 +0200)]
python3-scons: update to 3.1.1

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-setuptools: update to 41.1.0
Oleksandr Kravchuk [Thu, 15 Aug 2019 16:00:43 +0000 (18:00 +0200)]
python-setuptools: update to 41.1.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoffmpeg: update to 4.2
Oleksandr Kravchuk [Thu, 15 Aug 2019 15:54:31 +0000 (17:54 +0200)]
ffmpeg: update to 4.2

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-9: Upgrade to 9.2
Khem Raj [Thu, 15 Aug 2019 18:40:03 +0000 (11:40 -0700)]
gcc-9: Upgrade to 9.2

BugFix only release see [1] for details

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=9.2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Refresh patch after removal of __secure_getenv patch
Khem Raj [Thu, 15 Aug 2019 03:55:01 +0000 (20:55 -0700)]
systemd: Refresh patch after removal of __secure_getenv patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd.bbclass: Limit rm_sysvinit_initddir and rm_systemd_unitdir to target alone
Khem Raj [Thu, 15 Aug 2019 05:56:55 +0000 (22:56 -0700)]
systemd.bbclass: Limit rm_sysvinit_initddir and rm_systemd_unitdir to target alone

These postfuncs cause native recipes to rebuild when changing system
init provider between sysvinit and systemd. Some of these native recipes
are pretty early in dependency chain ( e.g. util-linux ) which can casue
rebuild of pretty much everything including compiler.

Found with bitbake-diffsigs

Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 2a45fe0cd0d3640a88c4a5c8b1880c4e9a089cc7446a91d2a920c1cef6fa916a to bc2a0921cce50da1b7be3b59a3d8211ec
2a31262493ffa5909acbb7116fad3bf
    Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 15d6e165f025f10c2c455df8a875cafe021eaed4214c793e708d4827a58ca89d to 54e542d5da99cacfc9290ef5d27
9de50bdcb9195f67ae6dfff59fe41d10f7bd2
        Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/
util-linux/util-linux_2.34.bb changed from e25b1119ce8dd7ca43fbd2db771e04fa6ff6b9d701fd78ac6c443224b036ed9f to bb5b172a83e7edd272402a9dcd80c4e1
29aa1ecb824c2cfa388086cfed24fef5
            basehash changed from 62df6610eab9c1b1a17d7132943507641c8538690f26186843c86144d4598e64 to 80471f7c0bded9d1b593da69708b0e0f10882db08
5e1bf769edb3018e6c744d0
            Variable rm_sysvinit_initddir value changed:
            @@ -11,4 +11,4 @@
                         shutil.rmtree(sysv_initddir)

             DISTRO_FEATURES{systemd} = Unset
            -DISTRO_FEATURES{sysvinit} = Set
            +DISTRO_FEATURES{sysvinit} = Unset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: Make pam specific logic apply to target recipe alone
Khem Raj [Thu, 15 Aug 2019 05:56:54 +0000 (22:56 -0700)]
util-linux: Make pam specific logic apply to target recipe alone

This helps with a case where a distro builds one image with systemd and
another with sysvinit, it ends up recompiling almost everything since
python3-native gets rebuilt and tracing dependencies with
bitbake-diffsigs shows that the chain ends at util-linux-native being
recompiled because distro features now does or does not have 'pam'

Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 8befaac4f995aaff3f95d27c9caaf1006f86e1344b02c1ae82f5d12f885f2240 to 2a45fe0cd0d3640a88c4a5c8b1880c4e9
a089cc7446a91d2a920c1cef6fa916a
    Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 0db292cb2e37d5788bdcf51038b2802d748b719d860aca3a26d7a793b0cf3905 to 15d6e165f025f10c2c455df8a87
5cafe021eaed4214c793e708d4827a58ca89d
        Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.34.bb changed from 54bb4ee6bdb5c7fc260dabddb4932cb0e554a62cd92aba080a18306291fb470b to e25b1119ce8dd7ca43fbd2db771e04fa
6ff6b9d701fd78ac6c443224b036ed9f                                                                                                                           basehash changed from 8e8687a866689a697001dedc0a43f478e68e6efe270bd77362f24c6000f9e882 to 62df6610eab9c1b1a17d7132943507641c8538690
f26186843c86144d4598e64
            Variable do_install value changed:

rm -f ${D}${bindir}/chkdupexe
-   if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
+   if [ "${@bb.utils.filter('PACKAGECONFIG', 'pam', d)}" ]; then
        install -d ${D}${sysconfdir}/pam.d
        install -m 0644 ${WORKDIR}/runuser.pamd ${D}${sysconfdir}/pam.d/runuser
        install -m 0644 ${WORKDIR}/runuser-l.pamd ${D}${sysconfdir}/pam.d/runuser-l
@@ -47,5 +47,4 @@
        rm -f ${D}${base_sbindir}/nologin
        rm -f ${D}${base_bindir}/kill

    -DISTRO_FEATURES{pam} = Unset
    PACKAGECONFIG{pam} = Unset

So far it seems this pam conditional code in util-linux is target
specific and would not apply to native or nativesdk recipes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Add packageconfigs for vc4 and v3d
Khem Raj [Thu, 15 Aug 2019 01:16:44 +0000 (18:16 -0700)]
mesa: Add packageconfigs for vc4 and v3d

This helps in enabling them via packageconfig from SOC layers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Drop musl __secure_getenv patch
Khem Raj [Thu, 15 Aug 2019 01:16:43 +0000 (18:16 -0700)]
systemd: Drop musl __secure_getenv patch

This API is now implemented in musl [1]

[1] https://git.musl-libc.org/cgit/musl/commit/?id=7844ecb590893f8344324837956718001402d297

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 [Thu, 15 Aug 2019 01:16:42 +0000 (18:16 -0700)]
musl: Update to latest tip

Fixes build regressions on risc-v
Detailed changelog is here [1]

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowebkitgtk: disable gold on mipsn32
Kai Kang [Thu, 15 Aug 2019 08:46:38 +0000 (04:46 -0400)]
webkitgtk: disable gold on mipsn32

Using gold on mipsn32 still fails. It fails to run

$ bitbake webkitgtk -c configure

with configuration:

MACHINE ?= "qemumips"
DEFAULTTUNE = "mips64-n32"

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: add drm-bochs support
Alexander Kanavin [Wed, 14 Aug 2019 15:26:11 +0000 (17:26 +0200)]
linux-yocto: add drm-bochs support

This allows better modesetting support for the '-vga std'
emulated hardware provided by Qemu, which we want to
standardize on.

See here for background:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13466

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/4.19: make drm-bochs feature available
Bruce Ashfield [Thu, 15 Aug 2019 00:34:50 +0000 (20:34 -0400)]
linux-yocto/4.19: make drm-bochs feature available

The other active kernel versions have this feature available. To
consistently enable the same video output for qemu, we can cherry
pick the feature to 4.19.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostress-ng: provide stress
Mikko Rapeli [Wed, 14 Aug 2019 15:15:54 +0000 (18:15 +0300)]
stress-ng: provide stress

Since stress-ng replaces and is compatible with stress,
provide stress to be compatible with the old recipe
and binary packages.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokconf_check: tweak CONFIG_ regex
Bruce Ashfield [Wed, 14 Aug 2019 15:31:33 +0000 (11:31 -0400)]
kconf_check: tweak CONFIG_ regex

As reported in https://bugzilla.yoctoproject.org/show_bug.cgi?id=12563,
the regex that matches valid CONFIG_ options was missing some of the
ones in net/netfilter/ipvs/Kconfig, and hence triggering invalid
option warnings.

By dropping the trailing space on the regex, we'll cover all the cases
for valid option.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-yocto: import security fragments from meta-security
Bruce Ashfield [Wed, 14 Aug 2019 15:31:32 +0000 (11:31 -0400)]
kernel-yocto: import security fragments from meta-security

Adding the following fragments from meta-security to make them
centrally available and easier to maintain:

   283939d5c9e kernel-cache: add yama security fragments
   0b86f3fa241 kernel-cache: add ima fragments
   731b466654d kernel-cache: add smack
   813afe8ff47 kernel-cache: add apparmor fragments

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: arch/x86/boot: use prefix map to avoid embedded paths
Bruce Ashfield [Wed, 14 Aug 2019 15:31:31 +0000 (11:31 -0400)]
linux-yocto: arch/x86/boot: use prefix map to avoid embedded paths

>From the kernel patch:

[
    It was observed that the kernel embeds the path in the x86 boot
    artifacts.

    From https://bugzilla.yoctoproject.org/show_bug.cgi?id=13458:

    [
       If you turn on the buildpaths QA test, or try a reproducible build, you
       discover that the kernel image contains build paths.

       $ strings bzImage-5.0.19-yocto-standard |grep tmp/
       out of pgt_buf in
       /data/poky-tmp/reproducible/tmp/work-shared/qemux86-64/kernel-source/arch/x86/boot/compressed/kaslr_64.c!?

       But what's this in the top-level Makefile:

       $ git grep prefix-map
       Makefile:KBUILD_CFLAGS  += $(call
       cc-option,-fmacro-prefix-map=$(srctree)/=)

       So the __FILE__ shouldn't be using the full path.  However
       arch/x86/boot/compressed/Makefile has this:

       KBUILD_CFLAGS := -m$(BITS) -O2

       So that clears KBUILD_FLAGS, removing the -fmacro-prefix-map option.
    ]

    Other architectures do not clear the flags, but instead prune before
    adding boot or specific options. There's no obvious reason why x86 isn't
    doing the same thing (pruning vs clearing) and no build or boot issues
    have been observed.

    So we make x86 can do the same thing, and we no longer have embedded paths.
]

This issue has been reported upstream, and a patch submission is
pending, but for now, we'll soak the proposed patch in linux-yocto to
see if any issues are found

[YOCTO: #13458]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokern-tools: Add SPDX license headers to source files
Bruce Ashfield [Wed, 14 Aug 2019 15:31:30 +0000 (11:31 -0400)]
kern-tools: Add SPDX license headers to source files

Integrating the following commit:

    Add SPDX license headers to source files

    Kconfiglib/* were under ISC license before they were imported
    here from https://github.com/ulfalizer/Kconfiglib
    Adjusting SPDX header to reflect that fact.

    tools/* all have some sort of GPLv2 headers; adding SPDX header
    to make it obvious.

    This address bug #13334 :
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=13334

    Change-Id: I243f2dd266a398f982798b771e74a67be70ecb52
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: William Bourque <wbourque@gmail.com>
Signen-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-devsrc: tweak for v5.3+
Bruce Ashfield [Wed, 14 Aug 2019 15:31:29 +0000 (11:31 -0400)]
kernel-devsrc: tweak for v5.3+

The 5.3 kernel has two changes that require tweaks to the minimal
kernel-devsrc package.

4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset]

  This change removes the need for arch/x86/purgatory/string.c and
  instead reuses a copy in arch/x86/boot/compressed/, so we can't copy
  the file anymore. To support older kernels, we make the copy survive
  the non-existence of the file.

b1663d7e [docs: Kbuild/Makefile: allow check for missing docs at build time]

  This change adds the sourceing of Documentation/Kbuild to the top
  level Kbuild file. So we now leave the copy of Documention/'s Kbuild
  in the devsrc.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: update to 2.1.11
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:15:22 +0000 (20:15 +0200)]
libevent: update to 2.1.11

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo: update to 1.10.5
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:13:27 +0000 (20:13 +0200)]
librepo: update to 1.10.5

Also cleanedup the recipe.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-git: update to 3.0.0
Oleksandr Kravchuk [Tue, 13 Aug 2019 18:07:51 +0000 (20:07 +0200)]
python3-git: update to 3.0.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>