]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agolinux-yocto: fix wrongfully used qemuarma15 in place of qemuarmv5
Denys Dmytriyenko [Thu, 21 Mar 2019 04:50:52 +0000 (00:50 -0400)]
linux-yocto: fix wrongfully used qemuarma15 in place of qemuarmv5

Commit 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988 changes "qemuarm" machine from
old ARMv5 to a newer Cortex-A15, moving the old platform under "qemuarmv5" name.
When adding this new "old" platform name to COMPATIBLE_MACHINE in linux-yocto
recipes, mistakes were made referring it by "qemuarma15", as discussed in [1].
This change fixes those mistakes.

[1]http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280292.html

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglew: Fix build errors at recipes depending on glew
Andreas Müller [Thu, 21 Mar 2019 14:05:32 +0000 (15:05 +0100)]
glew: Fix build errors at recipes depending on glew

Glew headers override mesa headers by setting mesa's include guards. This
stopped working since mesa renamed them.

Fixes errors like this in depending recipes:

| <...>/recipe-sysroot/usr/include/GL/glext.h:12066:105: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)'
|  typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
|                                                                                                          ^

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglibc: fix CVE-2019-9169
Ross Burton [Thu, 21 Mar 2019 12:31:12 +0000 (12:31 +0000)]
glibc: fix CVE-2019-9169

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: support multiple cross configuration files
Ross Burton [Thu, 21 Mar 2019 12:44:09 +0000 (12:44 +0000)]
meson: support multiple cross configuration files

For historical reasons Meson supports only a single cross configuration file but
multiple native configuration files.  Add support for multiple cross files, so
that recipes such as glib can use the toolchain cross file and extend it with a
recipe-specific cross file containing values needed to build.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: warn if the default value from meson.get_cross_property() is being used
Ross Burton [Thu, 21 Mar 2019 12:32:17 +0000 (12:32 +0000)]
meson: warn if the default value from meson.get_cross_property() is being used

Projects such as glib have tests that execute code to check their behaviour, and
in cross-compilation environments where they can't execute code fall back on
meson.get_cross_property() with a default value.  These default values may not
be appropriate: for example if glib can't verify that vsprintf() isn't broken it
assumes that it is, and embeds the gnulib copy of vsprintf() instead of using
glibc's implementation.

Add a warning whenever the default value for get_cross_property() is used so
that we can tell this is happening and set the value appropriately.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibexif: disable documentation neatly
Ross Burton [Thu, 21 Mar 2019 12:32:01 +0000 (12:32 +0000)]
libexif: disable documentation neatly

No need to sed the Makefile as we can just pass --disable-docs.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython: fix CVE-2018-14647 in python-native too
Ross Burton [Thu, 21 Mar 2019 12:31:52 +0000 (12:31 +0000)]
python: fix CVE-2018-14647 in python-native too

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcroco: fix CVE-2017-7961
Ross Burton [Thu, 21 Mar 2019 12:31:36 +0000 (12:31 +0000)]
libcroco: fix CVE-2017-7961

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: fix CVE-2019-3812
Ross Burton [Thu, 21 Mar 2019 12:31:29 +0000 (12:31 +0000)]
qemu: fix CVE-2019-3812

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibpcre: update patch status
Ross Burton [Thu, 21 Mar 2019 12:31:05 +0000 (12:31 +0000)]
libpcre: update patch status

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinsane: improve license checksumming logic
Ross Burton [Thu, 21 Mar 2019 12:30:42 +0000 (12:30 +0000)]
insane: improve license checksumming logic

Instead of opening files as bytes and battling decoding to UTF-8 which can throw
exceptions, open directly as strings and replace invalid codepoints.  This
handles licenses in encodings which are not UTF-8 but are based on ASCII much
better.

Also instead of extracting the license lines, writing them to a file, and then
hashing the file, hash the lines directly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogoarch: Add riscv64 thud+ossystemd
Alistair Francis [Tue, 19 Mar 2019 20:47:41 +0000 (20:47 +0000)]
goarch: Add riscv64

Although RISC-V 64-bit doesn't have official golang support there are
forks that now exist with at least some support and work is ongoing in
the upstream tree. In order to be able to use the goarch class add
support for RISC-V.

For more details see here:
https://github.com/golang/go/issues/27532

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: Update to systemd-stable v241-stable release
Otavio Salvador [Mon, 18 Mar 2019 20:04:10 +0000 (17:04 -0300)]
systemd: Update to systemd-stable v241-stable release

This changes the repository to use the systemd-stable, and update to
the latest release from v241-stable branch.

Following changes are included:

c1f8ff8d0d login: mark nomodeset fb devices as master-of-seat
59f2213e45 login: HyperV requires master-of-seat to be set
a09c170122 Allocate temporary strings to hold dbus paths on the heap
4f54afd5a1 Refuse dbus message paths longer than BUS_PATH_SIZE_MAX limit.
b22a96ef2f NEWS: add entry about 'udevadm trigger --wait-daemon'
bada94eb3e NEWS: fix release date
e9f930b2f5 udev-event: make subst_format_var() always provide null-terminated string on success
66320aec80 sd-device: also store properties read from udev database to sd_device::properties_db
dffc22c833 udev-rules: update log messages about OWNER= or GROUP= settings on --resolve=names=never

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: Fix "backport patches to fix cves" patch issue
Kai Kang [Wed, 20 Mar 2019 13:16:19 +0000 (09:16 -0400)]
qemu: Fix "backport patches to fix cves" patch issue

This change fixes a build problem introduced in the recent CVE patches.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 19 Mar 2019 23:56:24 +0000 (23:56 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoRemove the simd tune for armv8a
Adrian Bunk [Tue, 19 Mar 2019 11:45:36 +0000 (13:45 +0200)]
Remove the simd tune for armv8a

SIMD instructions are a mandatory part of armv8a
(they were optional in armv7a), and the gcc docs
also say that they are always enabled.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl10: Upgrade 1.0.2q -> 1.0.2r
Otavio Salvador [Tue, 19 Mar 2019 16:36:52 +0000 (13:36 -0300)]
openssl10: Upgrade 1.0.2q -> 1.0.2r

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: Upgrade 1.1.1a -> 1.1.1b
Otavio Salvador [Tue, 19 Mar 2019 16:36:51 +0000 (13:36 -0300)]
openssl: Upgrade 1.1.1a -> 1.1.1b

License-Update: copyright years updated
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: Remove the c_rehash shell re-implementation
Otavio Salvador [Tue, 19 Mar 2019 16:36:50 +0000 (13:36 -0300)]
openssl: Remove the c_rehash shell re-implementation

We had a c_rehash shell re-implementation being used for the native
package however the ca-certificates now uses the openssl rehash
internal application so there is no use for the c_rehash anymore.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoyocto-uninative: Update to 2.4
Richard Purdie [Tue, 19 Mar 2019 15:46:44 +0000 (15:46 +0000)]
yocto-uninative: Update to 2.4

This supports glibc 2.29 which is appearing in distros like Ubuntu 19.04

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdb: Do not disable lttng-ust on risc-v
Khem Raj [Tue, 19 Mar 2019 04:41:59 +0000 (21:41 -0700)]
gdb: Do not disable lttng-ust on risc-v

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackagegroup-core-tools-profile: Do not remove lttng-ust for musl and risc-v
Khem Raj [Tue, 19 Mar 2019 04:41:58 +0000 (21:41 -0700)]
packagegroup-core-tools-profile: Do not remove lttng-ust for musl and risc-v

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng: Enable tools and modules on riscv
Khem Raj [Tue, 19 Mar 2019 04:41:57 +0000 (21:41 -0700)]
lttng: Enable tools and modules on riscv

Latest version compiles on risv64 now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: backport patches to fix cves
Kai Kang [Fri, 15 Mar 2019 08:01:19 +0000 (04:01 -0400)]
qemu: backport patches to fix cves

CVE: CVE-2018-16872
CVE: CVE-2018-20124
CVE: CVE-2018-20125
CVE: CVE-2018-20126
CVE: CVE-2018-20191
CVE: CVE-2018-20216

Patches 0015-fix-CVE-2018-20124.patch and 0017-fix-CVE-2018-20126.patch
are rebased on current source code. Others are not modified.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/toaster: updated test id naming uninative-2.4
Yeoh Ee Peng [Tue, 19 Mar 2019 01:53:53 +0000 (09:53 +0800)]
oeqa/manual/toaster: updated test id naming

All test id (eg. @alias) inside manual testcase file shall follow the same
test id naming convention from oeqa automated tests (eg. selftest,
runtime, sdk, etc), where the test id consists of
<test_module>.<test_suite>.<test_function>. Furthermore, there shall be
only 1 unique test_module per each manual testcases file, where
test_module match the file name itself.

This file was using test_module name that does not match the file name
itself. Fixed test_module name as well as the test_suite name.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopuzzles: fix uninitialized variable compiler error
Joe Slater [Thu, 14 Mar 2019 19:19:24 +0000 (12:19 -0700)]
puzzles: fix uninitialized variable compiler error

In tree234.c, change a while() loop to a for() loop so
that the compiler will realize we loop at least once.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovim: Update to 8.1.1017
Tom Rini [Mon, 18 Mar 2019 00:25:48 +0000 (20:25 -0400)]
vim: Update to 8.1.1017

The most current release of vim is now 8.1.1017.  The only problem
currently is that the disable_acl_header patch is still not upstream.

Cc: Wenzong Fan <wenzong.fan@windriver.com>
Cc: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-firmware: Bump revision to 7bc2464
Fabio Berton [Fri, 15 Mar 2019 21:22:45 +0000 (18:22 -0300)]
linux-firmware: Bump revision to 7bc2464

License-Update:
      - WHENCE: New firmware files additions and version updates
                Add qca/nvm_00440302.bin and qca/rampatch_00440302.bin

This commit includes the following changes:

    - 7bc2464 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware
    - 283373f cxgb4: update firmware to revision 1.23.3.0
    - efd2c1c linux-firmware: Update firmware file for Intel Bluetooth 8265
    - 046d108 linux-firmware: Update firmware file for Intel Bluetooth 9260
    - 1f5641c linux-firmware: Update firmware file for Intel Bluetooth 9560
    - b0d9583 (tag: 20190312) drm/amdgpu: update picasso to latest from 18.50 branch
    - 4041a80 drm/amdgpu: update polaris12 to latest from 18.50 branch
    - 4b04ce5 drm/amdgpu: update vega20 to latest from 18.50 branch
    - f85841b rtw88: RTL8822C: update rtw8822c_fw.bin to v5.0
    - 3531f69 Merge https://github.com/bgodavar/qca6174_bt_fw
    - 9936d81 Merge git://git.marvell.com/mwifiex-firmware
    - 052a246 Merge commit '450632bb7822f0be09474066f4fee2147acbd055' of
      https://github.com/Netronome/linux-firmware
    - 04e7764 rtl_bt: Update firmware for BT part of RTL8822C
    - 78d2b16 linux-firmware: update Marvell 8787/8801/8887 firmware images
    - 1a5773c linux-firmware: update Marvell 8897/8997 firmware images
    - 450632b nfp: update Agilio SmartNIC firmware to rev 2.1.16.1
    - c99beda QCA: Add the fw files for BT Chip QCA6174.
    - 9ee52be linux-firmware: Add AMD SEV firmware
    - 54b0a74 WHENCE: Correct errant entries
    - fe0a7d4 Merge https://github.com/bgodavar/qca_bt_wcn3990_fw
    - 07cb4ff amdgpu: update raven2 rlc firmware
    - 64302ea amdgpu: drop raven2_sdma1.bin
    - 30b9314 linux-firmware: Update firmware file for Intel Bluetooth,9560
    - 55fa1fb linux-firmware: Update firmware file for Intel Bluetooth,9260
    - f859d9f qca: Add firmware files for BT chip wcn3990.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogo: Minor 1.21.1 patch update
Khem Raj [Fri, 15 Mar 2019 19:20:05 +0000 (12:20 -0700)]
go: Minor 1.21.1 patch update

Minor revisions
go1.12.1 (released 2019/03/14) includes fixes to cgo, the compiler, the go command, and the fmt, net/smtp, os, path/filepath, sync, and text/template packages. See the Go 1.12.1 milestone on our issue tracker for details.

Details
https://github.com/golang/go/issues?q=milestone%3AGo1.12.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoarch-armv5-dsp.inc: Check for dsp only to enable 'e' in package arches
Khem Raj [Fri, 15 Mar 2019 05:06:51 +0000 (22:06 -0700)]
arch-armv5-dsp.inc: Check for dsp only to enable 'e' in package arches

armv5 is not a specific tune feature anymore, there is no need to check
it, since having dsp will define if 'e' should be added or not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: fix CVE-2019-1543
Ross Burton [Thu, 14 Mar 2019 20:34:04 +0000 (20:34 +0000)]
openssl: fix CVE-2019-1543

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agozlib: cleanup
Ross Burton [Thu, 14 Mar 2019 12:49:18 +0000 (12:49 +0000)]
zlib: cleanup

Drop remove.ldconfig.call.patch, as it's easier to just set LDCONFIG=true.

Pass uname=GNU via the documented configure option instead of undocumented
environment variable.

Rename zlib-1.2.11/ to just zlib/ as we don't ship multiple versions.

Send ldflags-tests.patch upstream and update Upstream-Status.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/manualexecution: To output right test case id
Mazliana [Mon, 11 Mar 2019 08:30:33 +0000 (16:30 +0800)]
resulttool/manualexecution: To output right test case id

We found that manualexecution does not capture test suite values
correctly if there are more than one test suite in test cases.
After verification has made we found out we should retrieved
full test cases value <test_module.test_suite.test_case> from
oeqa/manual/ json file rather than split it them into new
variables test_suite and test_cases.

Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/toaster: transfer manual toaster test cases to oeqa
Yeoh Ee Peng [Fri, 28 Dec 2018 06:54:44 +0000 (14:54 +0800)]
oeqa/manual/toaster: transfer manual toaster test cases to oeqa

As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.

Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.

Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/kernel-dev.json: test id updated
sangeeta jain [Thu, 14 Mar 2019 05:14:18 +0000 (13:14 +0800)]
oeqa/manual/kernel-dev.json: test id updated

All test id (eg. @alias) inside manual testcase file shall follow the same test id
naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where
the test id consists of  <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.

This file was using more than 1 unique test_module for testcases. Furthermore,
some of the testcases were defined using different test_suite where it was not needed.
This patch fix the manual testcases file to have only 1 unique test_module
as well as test_suite to simplify test id naming.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/compliance-test.json: test id updated and missing test cases added
sangeeta jain [Thu, 14 Mar 2019 04:31:17 +0000 (12:31 +0800)]
oeqa/manual/compliance-test.json: test id updated and missing test cases added

Two changes made in oeqa/manual/compliance-test.json:

1. All test id (eg. @alias) inside manual testcase file shall follow the same test id
naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where
the test id consists of  <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.

This file was using more than 1 unique test_module for testcases. Furthermore, some of
the testcases were defined using different test_suite where it was not needed. This patch
fix the manual testcases file to have only 1 unique test_module as well as test_suite to
simplify test id naming.

2. Added 2 missing test cases for Beaglebone Stress Test.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/bsp-hw.json: test id updated and obsolete test cases removed
sangeeta jain [Thu, 14 Mar 2019 02:55:23 +0000 (10:55 +0800)]
oeqa/manual/bsp-hw.json: test id updated and obsolete test cases removed

Two changes made in oeqa/manual/bsp-hw.json:

1. All test id (eg. @alias) inside manual testcase file shall follow the same test id naming
convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where the
test id consists of  <test_module>.<test_suite>.<test_function>. Furthermore,
there shall be only 1 unique test_module per each manual testcases file.

This file was using more than 1 unique test_module for testcases.
Furthermore, some of the testcases were defined using different test_suite where it was not
needed. This patch fix the manual testcases file to have only 1 unique
test_module as well as test_suite to simplify test id naming.

2. As per review by Intel and Windriver team, 7 testcases were found obsolete. Removed 7 testcases.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoiproute2: add tc to the alternatives list
Lars Persson [Wed, 13 Mar 2019 13:08:58 +0000 (14:08 +0100)]
iproute2: add tc to the alternatives list

The tc command is provided both by busybox and iproute2.

Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: fix CVE-2019-6454
Marcus Cooper [Wed, 13 Mar 2019 13:07:15 +0000 (14:07 +0100)]
systemd: fix CVE-2019-6454

The original fix was deleted when systemd was bumped from v239 to v241,
however not all of the patches have made it into the latest version.

Refactor the original patch to contain the missing changes.

Signed-off-by: Marcus Cooper <marcusc@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogst-examples: switch to gitlab url and https protocol
Tim Orling [Mon, 11 Mar 2019 19:52:38 +0000 (12:52 -0700)]
gst-examples: switch to gitlab url and https protocol

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclass/sanity: strip the output of get_filesystem_id()
Steven Hung (洪于玉) [Wed, 13 Mar 2019 06:26:05 +0000 (06:26 +0000)]
class/sanity: strip the output of get_filesystem_id()

A previous commit 2f44b9b replace oe.utils.getstatusoutput() to
subprocess.check_output(). check_output() don't remove a trailling newline. Add strip()

Signed-off-by: Steven Hung (洪于玉) <Steven.Hung@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoshadow: drop inappropriate patch
Yi Zhao [Wed, 13 Mar 2019 03:26:31 +0000 (11:26 +0800)]
shadow: drop inappropriate patch

The 0001-useradd-copy-extended-attributes-of-home.patch (oe-core commit:
eed66e85af5ca6bbdd80cc3d5cf8453e8d8880bc) introduced a runtime failure
when enable SELinux.

When enable SELinux, The directory /home/user will get the extended
attributes of /etc/skel. However, the SELinux lable for /etc/skel is
etc_t which is also copied to /home/user. It will cause the user can not
write their home directory because the SELinux lable for /home/user
should be user_home_dir_t.

See discussion: http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146039.html

The solution at the moment is to drop this patch.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: drop unused kill-path option
Ross Burton [Wed, 13 Mar 2019 00:37:08 +0000 (00:37 +0000)]
systemd: drop unused kill-path option

This option isn't used and was dropped upstream in v240.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglib-2.0: clean up EXTRA_OEMESON
Ross Burton [Wed, 13 Mar 2019 00:37:02 +0000 (00:37 +0000)]
glib-2.0: clean up EXTRA_OEMESON

Instead of spreading the ptest enabling over the recipe, just add a
PACKAGECONFIG to enable the installed tests. Whether this is enabled respects
PTEST_ENABLED by default, so it always disabled in native and nativesdk builds.

This means we can remove the conditional dependency on dbus, all the conditional
enabling of installed tests, and clean up EXTRA_OEMESON.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovirglrenderer: requires distro feature opengl
Kai Kang [Tue, 12 Mar 2019 01:22:45 +0000 (21:22 -0400)]
virglrenderer: requires distro feature opengl

virglrenderer depends on 2 packages:
* mesa: requires one of distro features opengl or vulkan
* libepoxy: requires distro feature opengl

So make virglrenderer requires distro feature opengl. Otherwise it fails
to build world if 'opengl' doesn't exist in DISTRO_FEATURES.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinetutils: Disable rsh, etc in the build
Tom Rini [Tue, 12 Mar 2019 20:07:22 +0000 (16:07 -0400)]
inetutils: Disable rsh, etc in the build

It is long since past time for rsh and company to be retired from the
world.  Disable building these now.

Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinetutils: Handle rsh, etc more consistently
Tom Rini [Tue, 12 Mar 2019 20:07:21 +0000 (16:07 -0400)]
inetutils: Handle rsh, etc more consistently

- We cannot build rsh, rshd, rlogind and rcp on musl.  This is handled
  gracefully in the configure scripts and spelled out with EXTRA_OECONF.
  Expand this to include rexec to cover all of the related functionality.
- Rework adding in the xinetd.d files for these services to only do so
  when we even have the services being built.  This leads to no rsh/rshd
  sub-packages on musl at all.
- If we use the normal alternatives mechanism to allow for this or
  netkit-rsh to provide rsh/rshd functionality we end up with QA issues
  on musl as we have unused ALTERNATIVES logic.  Switch to making use of
  RPROVIDES / RCONFLICTS logic instead and make it match the netkit-rsh
  packaging names.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinetutils: Remove talk / talkd from ALTERNATIVES
Tom Rini [Tue, 12 Mar 2019 20:07:20 +0000 (16:07 -0400)]
inetutils: Remove talk / talkd from ALTERNATIVES

There are no alternative provides of these packages anymore.  To avoid
QA issues when building with musl, don't put these under an alternative
at all.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomdadm: fix gcc8 maybe-uninitialized/format-overflow warning
Changqing Li [Tue, 12 Mar 2019 09:41:58 +0000 (17:41 +0800)]
mdadm: fix gcc8 maybe-uninitialized/format-overflow warning

while compiled with -Werror=maybe-uninitialized/-Werror=format-overflow=,
it failed

[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~

[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglibc: fix do_populate_sdk fail when multilib used
Changqing Li [Tue, 12 Mar 2019 05:40:24 +0000 (13:40 +0800)]
glibc: fix do_populate_sdk fail when multilib used

fix below error:

file /usr/include/bits/procfs-id.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
file /usr/include/bits/procfs.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64
file /usr/include/bits/shmlba.h conflicts between attempted installs of lib32-libc6-dev-2.29-r0.armv7vet2hf_vfp and libc6-dev-2.29-r0.aarch64

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxev: update to 1.2.3
Armin Kuster [Mon, 11 Mar 2019 21:28:53 +0000 (14:28 -0700)]
xev: update to 1.2.3

refactor diet-x11 patch

LIC_FILES_CHKSUM changed to do merging of copyright/license notices

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoresulttool/report: Enable roll-up report for a commit
Yeoh Ee Peng [Tue, 12 Mar 2019 05:05:28 +0000 (13:05 +0800)]
resulttool/report: Enable roll-up report for a commit

Enable roll-up all test results belong to a commit
and to provide a roll-up report.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-ust: add python3-agent feature
Jonathan Rajotte [Tue, 12 Mar 2019 21:14:05 +0000 (21:14 +0000)]
lttng-ust: add python3-agent feature

Enable users to use lttng as an event sink for python3.

For more details: https://lttng.org/docs/v2.10/#doc-python-application

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-tools ptest: fix test_ust-dl
Jonathan Rajotte [Tue, 12 Mar 2019 21:13:30 +0000 (21:13 +0000)]
lttng-tools ptest: fix test_ust-dl

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-tools ptest: add missing dependencies
Jonathan Rajotte [Tue, 12 Mar 2019 21:13:29 +0000 (21:13 +0000)]
lttng-tools ptest: add missing dependencies

Multiple tests are failing due to missing dependencies on a bare
core-image-minimal build with only lttng-tools ptest present.

"getconf LONG_BIT" is used to get the bitness of the host to run the
correct consumerd. Depend on glibc-utils.

perl-module-overloading is needed to validate trace. babelstats.pl

"head -c" is used to generate a random string. It is easier to depends
on coreutils to get a feature complete "head" than to enable to "fancy
head" feature of busybox. See utils.sh randstring.

"taskset" is used in a couple of scripts to ensure that events generated
finish in the same buffer. Depend on util-linux.

[RP: Tweak for glibc/musl handling]
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: do not disable SELinux with musl
Luca Boccassi [Mon, 11 Mar 2019 12:21:29 +0000 (12:21 +0000)]
systemd: do not disable SELinux with musl

Building and running SELinux with musl works fine these days,
so don't disable it in the systemd bitbake file.

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocorrect do_patch for kernel bbappend in sdk
Yann CARDAILLAC [Mon, 11 Mar 2019 12:08:37 +0000 (13:08 +0100)]
correct do_patch for kernel bbappend in sdk

do_patch rule of SDK's workspace/appends/linux-*.bbhappend may fail if script are not written in Python

that was the case with Phytec's BSP, the fix was to replace the do_patch rule with :

do_patch[noexec]="1" when the file was generated in scripts/lib/devtool/standard.py

Signed-off-by: Yann CARDAILLAC <yann.cardaillac@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooe-init-build-env: Error out when failed to locate cwd
Robert Yang [Mon, 11 Mar 2019 10:16:55 +0000 (18:16 +0800)]
oe-init-build-env: Error out when failed to locate cwd

Ubuntu's /bin/sh symlinks to /bin/dash by default, so
subprocess.check_call(oe-init-build-env, cwd=builddir) would be failed since
pwd is builddir, and there is no $builddir/oe-init-build-env, this would
lead to other confusing errors, check and error it out earlier to make it
easier to locate the problem.

We don't meet the problem when manually run ". oe-init-build-env" is because
Ubuntu's default login shell is bash, but subprocess.check_call() doesn't
respect to login shell, so the error only happens in situations like
subprocess.check_call().

And also print errors to stderr as oe-buildenv-internal does.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: backport one more patch to fix version.h parallel build failure
Chen Qi [Mon, 11 Mar 2019 03:40:43 +0000 (11:40 +0800)]
systemd: backport one more patch to fix version.h parallel build failure

We backported a patch to fix parallel build failure about version.h. But
that is not enough. We need one more patch to really fix this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocmake: Reduce verbosity for make invocation
Douglas Royds [Mon, 11 Mar 2019 05:51:51 +0000 (18:51 +1300)]
cmake: Reduce verbosity for make invocation

Since the dawn of time, we have set CMAKE_VERBOSE_MAKEFILE=1 in cmake.bbclass.
Back in 2016, we also explicitly set VERBOSE=1 in cmake_do_compile(),
to ensure that make (and ninja) output were verbose in log.do_compile.

Turning off CMAKE_VERBOSE_MAKEFILE=1 means that make (or ninja)
invocations from the command-line are non-verbose,
giving CMake's default human-readable output on the terminal instead.
The user can still invoke VERBOSE=1 make if they do want verbose output.
This has no effect on the verbose output that goes into the logs.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxdamage: update to 1.1.5
Armin Kuster [Mon, 11 Mar 2019 05:16:43 +0000 (22:16 -0700)]
libxdamage: update to 1.1.5

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcursor: update 1.2.0
Armin Kuster [Mon, 11 Mar 2019 05:16:42 +0000 (22:16 -0700)]
libxcursor: update 1.2.0

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcomposite: update to 0.4.5
Armin Kuster [Mon, 11 Mar 2019 05:16:41 +0000 (22:16 -0700)]
libxcomposite: update to 0.4.5

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomachine: bump preferred version to 5.0
Bruce Ashfield [Tue, 5 Mar 2019 20:46:58 +0000 (15:46 -0500)]
machine: bump preferred version to 5.0

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
6 years agoqemuarm64: Fix graphics hang with 5.0 kernel
Richard Purdie [Sat, 9 Mar 2019 22:38:06 +0000 (22:38 +0000)]
qemuarm64: Fix graphics hang with 5.0 kernel

Ensure we turn on edid for the VGA display which fixes a hang with the
5.0 kernel for qemuarm64.

Thanks to Jon Mason for the fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemuarm: Swap for an arm7ve (A15) configuration
Jon Mason [Tue, 5 Mar 2019 22:32:19 +0000 (17:32 -0500)]
qemuarm: Swap for an arm7ve (A15) configuration

Add new QEMU BSP for a Arm Cortex-A15 system and use this as qemuarm,
moving the old armv5te Versatile PB based machine to qemuarmv5.

The new machine uses the QEMU virt machine type, which should be
faster to emulate and updates the qemuarm support to a modern
architecture.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto: fix SRC_URI patching with unified repos
Bruce Ashfield [Mon, 11 Mar 2019 04:20:51 +0000 (00:20 -0400)]
linux-yocto: fix SRC_URI patching with unified repos

As reported by Paul Barker, my attempt to allow the patching
of kernel meta data broke other repository configurations, since
the meta data patch routing was matching too broadly and the
same repo would end up being patched twice.

Using his suggested fix, we are up and running with both types
of repos again.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/5.0: fix system tap for arm
Bruce Ashfield [Mon, 11 Mar 2019 03:45:36 +0000 (23:45 -0400)]
linux-yocto/5.0: fix system tap for arm

Integrating Richard Purdie's kernel patch to fix systemtap on arm:

[
    arm/Makefile: Fix systemtap

    Currently systemtap fails to operate correctly on armv7 systems such as beaglebone and
    soon, qemuarm.

    root@qemuarm:/usr/src/kernel# env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE -uKCONFIG_CONFIG -uINSTALL_PATH -uLD_LIBRARY_PATH PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin make -C /lib/modules/4.19.19-yocto-standard/build M=/tmp/staptcNU6M modules CONFIG_DEBUG_INFO= CONFIG_STACK_VALIDATION= ARCH=arm stap_4321_src.i --no-print-directory -j2 V=1
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
    echo >&2;                                                       \
    echo >&2 "  ERROR: Kernel configuration is invalid.";           \
    echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
    echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
    echo >&2 ;                                                      \
    /bin/false)
    mkdir -p /tmp/staptcNU6M/.tmp_versions ; rm -f /tmp/staptcNU6M/.tmp_versions/*
    make -f ./scripts/Makefile.build obj=/tmp/staptcNU6M
    (cat /dev/null;   echo kernel//tmp/staptcNU6M/stap_4321.ko;) > /tmp/staptcNU6M/modules.order
      gcc -Wp,-MD,/tmp/staptcNU6M/.stap_4321_src.o.d  -nostdinc -isystem /usr/lib/gcc/arm-poky-linux-gnueabi/8.3.0/include -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -Iinclude2/asm/mach-default -I/lib/modules/4.19.19-yocto-standard/build -include /tmp/staptcNU6M/stapconf_4321.h -D "STP_NO_VELREL_CHECK" -freorder-blocks -fasynchronous-unwind-tables -Wframe-larger-than=512 -fno-ipa-icf -Wno-unused -Wno-tautological-compare -Werror -I/usr/share/systemtap/runtime  -DMODULE  -DKBUILD_BASENAME='"stap_4321_src"' -DKBUILD_MODNAME='"stap_4321"' -c -o /tmp/staptcNU6M/stap_4321_src.o /tmp/staptcNU6M/stap_4321_src.c
    /tmp/ccaE9CMG.s: Assembler messages:
    /tmp/ccaE9CMG.s:49: Error: selected processor does not support `dmb ish' in ARM mode
    /tmp/ccaE9CMG.s:52: Error: architectural extension `mp' is not allowed for the current b

    (which was from running the stap command with -v -v -v -k and then being able to run the command individually)

    Note that it says armv5t above.

    That comes from the code this patch changes

    root@qemuarm:/usr/src/kernel# gcc -march=armv7-a /tmp/staptcNU6M/stap_4321_aux_0.c
    cc1: error: -mfloat-abi=hard: selected processor lacks an FPU

    which makes me wonder if cc-option fails unless -mfpu-vfp is on the commandline too.

    Since we have a gcc which accepts the armv7-a arch, just remove the cc-option
    wrapper unconditionally here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto-4.19: Fix systemtap issue on armv7
Richard Purdie [Sun, 10 Mar 2019 07:46:10 +0000 (07:46 +0000)]
linux-yocto-4.19: Fix systemtap issue on armv7

Add temporary patch to fix the systemtap issue on armv7 with the 4.19 kernel
until Bruce is able to merge this into the repos, similarly to the fix for
5.0 kernel.

Alternative patches are being discussed upstream but this fixes the issue for
us for now in a simple way since we know the gcc versions we use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotune-cortexa*: Add missing BASE_LIB tune overrides
Steven Hung (洪于玉) [Mon, 11 Mar 2019 02:24:50 +0000 (02:24 +0000)]
tune-cortexa*: Add missing BASE_LIB tune overrides

For multilib to work correctly, BASE_LIB overrides must be provided.

Signed-off-by: teven Hung (洪于玉) <Steven.Hung@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotune-cortexa35: fixed typo
Steven Hung (洪于玉) [Mon, 11 Mar 2019 02:24:03 +0000 (02:24 +0000)]
tune-cortexa35: fixed typo

"cortexa53" -> "cortexa35"

Signed-off-by: Steven Hung (洪于玉) <Steven.Hung@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogrub: fix build with squashfs support enabled
Martin Jansa [Sun, 10 Mar 2019 20:11:19 +0000 (20:11 +0000)]
grub: fix build with squashfs support enabled

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxprop: update to 1.2.4
Armin Kuster [Sun, 10 Mar 2019 18:07:43 +0000 (11:07 -0700)]
xprop: update to 1.2.4

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonspr: update 4.21
Armin Kuster [Sun, 10 Mar 2019 18:07:41 +0000 (11:07 -0700)]
nspr: update 4.21

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonss: update to 3.42.1
Armin Kuster [Sun, 10 Mar 2019 18:07:40 +0000 (11:07 -0700)]
nss: update to 3.42.1

remove nss-fix-SHA_HTONL-bug-for-arm-32be.patch now included

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokexec-tools: update 2.0.19
Armin Kuster [Sun, 10 Mar 2019 18:07:39 +0000 (11:07 -0700)]
kexec-tools: update 2.0.19

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxinit: update to 1.4.1
Armin Kuster [Sun, 10 Mar 2019 18:07:37 +0000 (11:07 -0700)]
xinit: update to 1.4.1

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxmodmap: update to 1.0.10
Armin Kuster [Sun, 10 Mar 2019 18:07:36 +0000 (11:07 -0700)]
xmodmap: update to 1.0.10

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxvinfo: update to 1.1.4
Armin Kuster [Sun, 10 Mar 2019 18:07:35 +0000 (11:07 -0700)]
xvinfo: update to 1.1.4

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibfontenc: update to 1.1.4
Armin Kuster [Sun, 10 Mar 2019 18:07:34 +0000 (11:07 -0700)]
libfontenc: update to 1.1.4

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxkbcommon: update to 0.8.4
Armin Kuster [Sun, 10 Mar 2019 18:07:33 +0000 (11:07 -0700)]
libxkbcommon: update to 0.8.4

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxhost: update to 1.0.8
Armin Kuster [Sun, 10 Mar 2019 18:07:32 +0000 (11:07 -0700)]
xhost: update to 1.0.8

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa-selftest/virgl: Exclude centos7 from the kmscube test
Richard Purdie [Sun, 10 Mar 2019 07:54:10 +0000 (07:54 +0000)]
meta-selftest/virgl: Exclude centos7 from the kmscube test

This test does not work on centos7 so diable it (as was done in the
original series before we thought it was working).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython: time.tzset missing
Armin Kuster [Fri, 8 Mar 2019 14:37:26 +0000 (06:37 -0800)]
python: time.tzset missing

import time
time.tzset()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'time' has no attribute 'tzset'

enable tzset in both python versions

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogstreamer1.0-plugins-bad: remove redundant jpeg dependency
Ross Burton [Fri, 8 Mar 2019 14:21:01 +0000 (14:21 +0000)]
gstreamer1.0-plugins-bad: remove redundant jpeg dependency

The JPEG parser doesn't use libjpeg.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogstreamer1.0-plugins-ugly: remove redundant libid3tag dependency
Ross Burton [Fri, 8 Mar 2019 14:21:00 +0000 (14:21 +0000)]
gstreamer1.0-plugins-ugly: remove redundant libid3tag dependency

The use of this library was removed in 2012.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibid3tag: actually apply 10_utf16
Ross Burton [Fri, 8 Mar 2019 14:20:59 +0000 (14:20 +0000)]
libid3tag: actually apply 10_utf16

do_patch() doesn't apply files called .dpatch, so rename it to .patch.

Fixes CVE-2004-2779.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopuzzles: Fix build with gcc9 on risc-v
Khem Raj [Fri, 8 Mar 2019 06:02:16 +0000 (22:02 -0800)]
puzzles: Fix build with gcc9 on risc-v

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogo-1.9: Drop the recipes
Khem Raj [Fri, 8 Mar 2019 00:10:56 +0000 (16:10 -0800)]
go-1.9: Drop the recipes

We now have 1.11 and 1.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogo: Add recipes for 1.12 release and make it default
Khem Raj [Fri, 8 Mar 2019 00:10:55 +0000 (16:10 -0800)]
go: Add recipes for 1.12 release and make it default

- Refresh patches
- Enable GOCACHE required as of Go 1.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/5.0: fix systemtap for arm
Bruce Ashfield [Fri, 8 Mar 2019 19:31:48 +0000 (14:31 -0500)]
linux-yocto/5.0: fix systemtap for arm

We need to enable the arm unwinder for systemtap to work out of the
box:

  root@qemuarm:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
  [ 1600.955262] stap_2097: loading out-of-tree module taints kernel.
  hello world

This option is useful for much more than systemtap, so it is a good
idea to have on in the base configs. It make the image slightly larger,
but has no performance impacts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoperf: synchronize unistd.h between libc-headers and perf source
Bruce Ashfield [Fri, 8 Mar 2019 13:46:10 +0000 (08:46 -0500)]
perf: synchronize unistd.h between libc-headers and perf source

During the build for some architectures, perf generates a program
which executes on the host to dump the syscall table.

The generation of that program uses the cross compiler + sysroot
to expand unistd.h. As such, we are getting the contents of that
file from linux-libc-headers.

The compilation of that generated program uses the host compiler
and a restricted include path to the perf source code. In the
perf source there is a captured unistd.h, as such it will be used
when compiling the host executable. The perf source code is copied
from the kernel version that is being built .. so we have a
mismatch between the generation and the compilation of the host
program.

Normally this mismatch is fine, but if the libc-headers are
newer than the kernel, we'll have syscalls (and their syscall
numbers) that are not defined in the perf source code. This
leads to a compiler error and a cascading failure of the perf
build due to a missing generated file.

To fix this, we can copy unistd.h from the recipe-sysroot
into the perf source code and they will always be in sync.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicecc: Slightly more verbose log messages in the success case
Douglas Royds [Thu, 7 Mar 2019 20:29:06 +0000 (09:29 +1300)]
icecc: Slightly more verbose log messages in the success case

The path containing the symlinks to icecc itself.
The path to the build env tarball.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinetutils: Fix build on RISC-V
Khem Raj [Thu, 7 Mar 2019 17:32:15 +0000 (09:32 -0800)]
inetutils: Fix build on RISC-V

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorm_work: sort the value of do_build dependencies
Ming Liu [Thu, 7 Mar 2019 16:56:46 +0000 (17:56 +0100)]
rm_work: sort the value of do_build dependencies

This fixes some 'basehash changed' errors when rm_work is being
inherited.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodevice-tree.bbclass: Add support to compile overlays separately
Jaewon Lee [Fri, 14 Dec 2018 17:54:00 +0000 (09:54 -0800)]
device-tree.bbclass: Add support to compile overlays separately

Currently only dts files are considered when looping through files to
compile. Modifying the loop to compile other files that are overlays.
Also surrounding this check with a try block as the function to find
overlays parses the file for a '/plugin/' tag, and there may be files in
the DT_FILES_PATH directory that are not parseable.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-devsrc: make mips devsrc files backward compatbile
Bruce Ashfield [Sat, 9 Mar 2019 00:25:15 +0000 (19:25 -0500)]
kernel-devsrc: make mips devsrc files backward compatbile

The additions done to devsrc to support the 5.0 kernel should have
had a graceful failure mode, since the files/directories won't be
present on older (or different) kernel versions.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosqlite3: Upgrade 3.26.0 -> 3.27.2
Adrian Bunk [Thu, 7 Mar 2019 06:03:24 +0000 (08:03 +0200)]
sqlite3: Upgrade 3.26.0 -> 3.27.2

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoscripts/resulttool: Enable manual result store and regression
Yeoh Ee Peng [Thu, 7 Mar 2019 04:49:08 +0000 (12:49 +0800)]
scripts/resulttool: Enable manual result store and regression

To enable store for testresults.json file from manualexecution,
add layers metadata to configuration and add "manual" map to
resultutils.store_map.

To enable regression for manual, add "manual" map to
resultutils.regression_map. Also added compulsory configurations
('MACHINE', 'IMAGE_BASENAME') to manualexecution.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinsane.bbclass: Add configure-unsafe and configure-gettext
Robert Yang [Thu, 7 Mar 2019 03:41:22 +0000 (11:41 +0800)]
insane.bbclass: Add configure-unsafe and configure-gettext

So that the errors can be controlled by ERROR_QA or WARN_QA, and make them work
with INSANE_SKIP.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>