]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
5 years agogcc-cross.inc: Process binaries in build dir to be relocatable
Nathan Rossi [Wed, 11 Sep 2019 14:13:07 +0000 (14:13 +0000)] 
gcc-cross.inc: Process binaries in build dir to be relocatable

Process binaries within the build directory before stashing to be
relocatable with ORIGIN relative rpaths. This corrects issues with
rpaths being invalid when trying to use the binaries from an unstashed
build directory (e.g. gcc-runtime).

(From OE-Core rev: 34d9f60a8c2e98fdacbb799af11ec015bc5700f4)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool: Handle multiple series containing ptestresults
Nathan Rossi [Wed, 11 Sep 2019 14:13:07 +0000 (14:13 +0000)] 
resulttool: Handle multiple series containing ptestresults

Handle multiple results series having ptestresults content. The contents
are merged on a per-result basis where duplicates are ignored (with a
warning message printed). The 'ptestresults.sections' collection is also
merged on a per-suite basis.

(From OE-Core rev: 47edd51970ed0c33edbe04fd72abd1cfc6ecd3d1)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: don't treat test stats line as pass/fail in ptest
Trevor Gamblin [Tue, 10 Sep 2019 11:56:17 +0000 (07:56 -0400)] 
libevent: don't treat test stats line as pass/fail in ptest

Supplemental to commit fb17b46e2. The libevent "regress" test
outputs its own pass/fail results, e.g.
"2/300 TESTS FAILED. (31 skipped)", which will be miscounted
as an extra test fail in the ptest log. Fixed this to ignore
the libevent results line when counting actual pass/fail
results.

Also removed the for loop in run-ptest and targeted only the
libevent "regress" test, as the other tests being run were
related to performance and did not provide a relevant pass/fail
output.

(From OE-Core rev: 86b8a1d534bfcd70775c6e2b59eabe10de29f526)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agochrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks
Nathan Rossi [Tue, 10 Sep 2019 12:40:59 +0000 (12:40 +0000)] 
chrpath.bbclass: Add break_hardlinks kwarg to allow breaking hardlinks

Add the break_hardlinks kwarg to break hardlinks when modifying files.
This uses the bb.utils.break_hardlinks function to break hardlinks. The
default is to maintain existing behaviour and leave hardlinks in place.

(From OE-Core rev: 7628f6bdb5704c018d83e284364994b72557eaa5)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/context.py: For -t/-T use append argparse action
Nathan Rossi [Tue, 10 Sep 2019 12:40:59 +0000 (12:40 +0000)] 
oeqa/selftest/context.py: For -t/-T use append argparse action

Use the 'append' action of argparse instead of nargs. This changes the
behaviour of the option from "-t foo bar -r" to "-t foo -t bar -r".

Additionally rename the long form options to be consistent with
behaviour, such that they specifying a single tag at a time.

(From OE-Core rev: ffe9e4303fa9799d2e8af9188853a262e15af226)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: bitbake-user-manual: key-expansion: Don't refer to overrides
Jacob Kroon [Tue, 10 Sep 2019 13:43:28 +0000 (15:43 +0200)] 
bitbake: bitbake-user-manual: key-expansion: Don't refer to overrides

Nowadays bitbake applies overrides dynamically, not at a single
specific point in time during parsing.

(Bitbake rev: 218431b0f7c97764cb2c0b79a3aadfe2007f490b)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: bitbake-user-manual: Correct description for _append/_prepend/_remove
Jacob Kroon [Tue, 10 Sep 2019 13:43:27 +0000 (15:43 +0200)] 
bitbake: bitbake-user-manual: Correct description for _append/_prepend/_remove

The effects of _append/_prepend/_remove are applied when a variable
is expanded, not after parsing has completed.

(Bitbake rev: f9b67433cb4fe5132ab2cf4a9c6bc078b42e1960)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoref-manual: Remove documentation for the removed gnome class
Adrian Bunk [Wed, 31 Jul 2019 13:29:57 +0000 (16:29 +0300)] 
ref-manual: Remove documentation for the removed gnome class

When removed all it did was
  inherit gnomebase gtk-icon-cache gconf mime
which would also be the most trivial replacement.

Most of the time not all of these classes were needed,
and it is recommended to use only the ones actually required.

(From yocto-docs rev: a0a3a8318a1488ad2fb00b29f1cf26a9d6701be2)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoref-system-requirements: add Debian 10 to supported distribution list
Ross Burton [Mon, 15 Jul 2019 10:22:05 +0000 (11:22 +0100)] 
ref-system-requirements: add Debian 10 to supported distribution list

Debian 10 is a supported distribution now, so add it to the documentation.

(From yocto-docs rev: 77ff109cf7dbe1858e9959c4b9f1225d0a1c5e32)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoref-manual: Remove documentation for the removed bluez5 distro feature
Adrian Bunk [Mon, 15 Jul 2019 08:44:10 +0000 (11:44 +0300)] 
ref-manual: Remove documentation for the removed bluez5 distro feature

bluez4 was removed even from meta-oe 2 years ago,
which made made the bluez5 feature for selecting between
bluez4 and bluez5 mandatory for using the bluetooth feature.

The backfilled bluez5 feature has been removed,
including the bluetooth class that helped recipes
for selecting between bluez4/bluez5.
Recipes can replace ${BLUEZ} with bluez5.

(From yocto-docs rev: 025e2b5797b987b0260d7410e2e6d7283f5a7e91)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Tweak binutils tests tags as toolchain/user and system
Richard Purdie [Sat, 7 Sep 2019 13:10:45 +0000 (14:10 +0100)] 
oeqa/selftest: Tweak binutils tests tags as toolchain/user and system

This matches the other toolchain tests.

(From OE-Core rev: d41606244c170fd547496e5df9e3d28ce2d2af68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/system
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/system

Rework the glibc execution into a common base class. Additionally tag
the tests with "toolchain-user" and "toolchain-system".

(From OE-Core rev: 94bf24268108774e022ad247c647e48a781debbb)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/cases/gcc.py: Split into classes for parallelism
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/selftest/cases/gcc.py: Split into classes for parallelism

Split the gcc selftest cases into multiple classes one for each test.
This is done in order to make it easy to execute multiple gcc tests in
parallel when using oe-selftest with the '-j' arg.

Additionally tag the user tests with "toolchain-user" and the system
emulation (qemu system) tests with "toolchain-system".

(From OE-Core rev: 7b2f03eff9fc9b4ce48d5ea7e54faa114a6cdcae)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core/decorator: Fix super class modifying subclass tags
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/core/decorator: Fix super class modifying subclass tags

(From OE-Core rev: ba35bead1108c7d8480b785b2e59f40ea77b5549)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/context.py: Change -t/-T args to be optional
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/selftest/context.py: Change -t/-T args to be optional

Change the -t/-T args to be optional so that they can be used together
with the existing -r/-a/... args to run a more flexible filtering of
test tags.

(From OE-Core rev: 55ee27bb07113a45da18711b5509764f62be4d75)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Use extraresults on self instead of self.tc
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/selftest: Use extraresults on self instead of self.tc

In order to take advantage of multiprocess execution of tests the
extraresults must be passed through the TestResult. With changes to how
oeqa/core handles test cases the extraresults attribute of the testcase
is passed to the TestResult, with passing across process boundaries
handled automatically.

(From OE-Core rev: 6a1b0c2003a0b4a1983f9494440e6ea02dc25585)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results
Nathan Rossi [Wed, 4 Sep 2019 14:23:23 +0000 (14:23 +0000)] 
oeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results

Suffix the ptestresults suite with "-user" for tests that are executing
against usermode qemu.

(From OE-Core rev: 0becf9c1fabb080a2481ebdacef6221f52301621)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: For toolchain tests do not fail if a test failed
Nathan Rossi [Wed, 4 Sep 2019 14:23:23 +0000 (14:23 +0000)] 
oeqa/selftest: For toolchain tests do not fail if a test failed

Do not fail the running selftest test case if the test suite has a
failed test case. Currently toolchain tests suites (binutils, gcc,
glibc) fail but this does not indicate failure to execute the tests.

Also remove the logging of each test that failed.

(From OE-Core rev: 073575ff9c06b2791cc2bd88063d815d2220f038)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/cases/glibc.py: Don't install python3 and pexpect
Nathan Rossi [Wed, 4 Sep 2019 14:23:23 +0000 (14:23 +0000)] 
oeqa/selftest/cases/glibc.py: Don't install python3 and pexpect

When running the system emulation test case, do not include python3 or
pexpect in the image. The test cases that use these also need gdb (with
python configured).

(From OE-Core rev: 7e5be0803ea0cbfd8e5b052e43b54e16ab3230ed)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/glibc: Create selftest case for glibc test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
oeqa/selftest/glibc: Create selftest case for glibc test suite

Create a oeqa selftest test case to execute the glibc test suite and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.

An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GlibcSelfTestSystemEmulated test case
handles setup of the target image, setup of and NFS server as well as
execution with runqemu.

(From OE-Core rev: 730832ebcca305477e1c13248cd35eea095b35c6)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/gcc: Create selftest case for gcc test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
oeqa/selftest/gcc: Create selftest case for gcc test suite

Create a oeqa selftest test case to execute the gcc test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.

An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GccSelfTestSystemEmulated test case
handles setup of the target image as well as execution with runqemu.

(From OE-Core rev: 2c86a25f8992243311e7fa1a8654b41f12b749de)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/binutils: Create selftest case for binutils test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
oeqa/selftest/binutils: Create selftest case for binutils test suite

Create a oeqa selftest test case to execute the binutils test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.

(From OE-Core rev: e5629aa4bd939072208f6eb5b30a98e17eb6a8ae)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Markup 'machine' specific test cases
Richard Purdie [Tue, 3 Sep 2019 21:25:40 +0000 (22:25 +0100)] 
oeqa/selftest: Markup 'machine' specific test cases

These test cases are run by the autobuilder on a machine specific basis.
Add tags to these classes so they can be controlled by the metadata rather
than hardcoded in the autobuilder config.

(From OE-Core rev: de0b761b550d591f301ee5e9c232e0d5bd1342f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core/runner.py: Fix OETestTag listing
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/core/runner.py: Fix OETestTag listing

Use the __oeqa_testtags attribute added by OETestTag and display no, one
or more tags separated by a comma. Also change the formatting of the
output so that the list of tests is formatted as "<test> (<tags>)" and
remove the table header for "id" (it is no longer available).

(From OE-Core rev: d62e577a4e1a5f6accbce9f7bff7317a1162d72d)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest: Add test run filtering based on test tags
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
oeqa/selftest: Add test run filtering based on test tags

Add '--run-only-tags' for running tests which match any of the provided
tags, and '--run-exclude-tags' for running all tests except those that
have any of the provided tags.

(From OE-Core rev: 0dc3caf21c4519ef16c2ac99b93c03e23aab61d9)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core: Rework OETestTag and remove unused OETestFilter
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
oeqa/core: Rework OETestTag and remove unused OETestFilter

Rework OETestTag so that it does not rely on the existing decorator code
base and instead inserts the tags into an attribute on the decorated
target (e.g. class/type or method). This allows the use of OETestTag on
classes and method.

In order to filter tagged tests rework the loaders filtering code,
removing the generic-ness (with validation and attributes/etc.) and
replace it with a "tags_filter" parameter which is a function that
filters a test based on the tags it has. This allows the loader user to
filter on tags in more specific ways (e.g. include all untagged tests
and any tests tagged with foo). Plumb all this through the context code
and testing code.

Update the associated tests to pass correctly with the changes.

(From OE-Core rev: b8a4a4c2de68110d74607cb9807c9e741ca9441c)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/core: Implement proper extra result collection and serialization
Nathan Rossi [Sat, 7 Sep 2019 12:55:06 +0000 (12:55 +0000)] 
oeqa/core: Implement proper extra result collection and serialization

Implement handling of extra result (e.g. ptestresult) collection with
the addition of a "extraresults" extraction function in OETestResult. In
order to be able to serialize and deserialize the extraresults data,
allow OETestResult add* calls to take a details kwarg. The subunit
module can handle cross-process transfer of binary data for the details
kwarg. With a TestResult proxy class to sit inbetween to encode and
decode to and from json.

(From OE-Core rev: b0831d43606415807af80e2aa1d0566d0b8c209c)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-manifest.json: Fix typo in summary
Khem Raj [Sat, 7 Sep 2019 18:30:22 +0000 (11:30 -0700)] 
python3-manifest.json: Fix typo in summary

(From OE-Core rev: 15c279da465323cab86635e5b5cdb46bf254fa66)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: bitbake-user-manual: Improve the example for Removal (Override Style Syntax)
Martin Jansa [Fri, 6 Sep 2019 11:31:44 +0000 (11:31 +0000)] 
bitbake: bitbake-user-manual: Improve the example for Removal (Override Style Syntax)

* to better show how it works with spaces and multiple values

(Bitbake rev: 89dd570ebd7046f5bce4a8b7f3b2b50b1cf65589)

Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake: bitbake: cooker: Ensure bbappends are found in stable order
Wes Lindauer [Wed, 4 Sep 2019 15:49:56 +0000 (11:49 -0400)] 
bitbake: bitbake: cooker: Ensure bbappends are found in stable order

Thanks to wildcards in bbappend filenames, it's possible to have
multiple bbappends that apply to the same recipe in the same directory.
In order to get sstate hits between different workspaces, we want to
apply those bbappend files in a consistent order.  Since readdir()
returns files in a non-deterministic order between workspaces (based on
inode number and/or time of creation), we'll need to sort its result in
order to have any consistency.

(Bitbake rev: 94c0c7f15c7a6244a8576ed948ffc21afb96ba82)

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: drop 5.0 recipes
Bruce Ashfield [Fri, 6 Sep 2019 17:12:33 +0000 (13:12 -0400)] 
linux-yocto: drop 5.0 recipes

The 5.2 reference kernels replace the EOL 5.0 series. So we drop
the named recipes.

(From OE-Core rev: 868e84c57e6725591fa1e93f5ea0a308d49e13f1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibevent: add granularity to ptest log
Trevor Gamblin [Fri, 6 Sep 2019 18:51:59 +0000 (14:51 -0400)] 
libevent: add granularity to ptest log

The libevent ptest used to report only a global pass or a fail result.
Count individual PASS, FAIL, SKIP results. The SKIP results now
include tests that are disabled in the libevent code.

libevent's ptest output did not comply with the automake-style output
"result: testname", and reported a FAIL status at the end of the test
run if any of the libevent tests failed. This patch makes the log
consistent with the automake style:

    PASS: http/cancel_by_host_no_ns
    PASS: http/cancel_inactive_server
    PASS: http/cancel_by_host_no_ns_inactive_server
    SKIPPED: http/cancel_by_host_server_timeout
    SKIPPED: http/cancel_server_timeout

and provides a summary as follows:

    === Test Summary ===
    TOTAL: 316
    PASSED: 300
    FAILED: 0
    SKIPPED: 16
    DURATION: 87
    END: /usr/lib/libevent/ptest

(From OE-Core rev: fb17b46e202cc08277d3eeb34872067c73a6bfbc)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodiffutils: Added perl to support ptest & Skipped one test case
Peiran Hong [Fri, 6 Sep 2019 20:44:19 +0000 (16:44 -0400)] 
diffutils: Added perl to support ptest & Skipped one test case

Added perl to the run-time dependency of the recipe for diffutils since
it is required by the test "large-subpot".
The test "strip-trailing-cr" is skipped since it requires valgrind to
work, but valgrind is considered too heavy-weight for diffutils package.

(From OE-Core rev: 802c67c7c27011812d690c41347b38481cdab2e9)

Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: Recognise svlogd as another logger
Khem Raj [Fri, 6 Sep 2019 20:25:51 +0000 (13:25 -0700)] 
oeqa: Recognise svlogd as another logger

This is provided by runit which another init system like systemd,
sysvinit, this lets oeqa run on systems which are using runit

(From OE-Core rev: e4eb3ca113985ab2be123eb5b5ea76764761df88)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxcrypt: update to 4.4.8
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:38:01 +0000 (17:38 +0200)] 
libxcrypt: update to 4.4.8

LICENSE file checksum changed because few contributors were mentioned
(see @edbdbbc50beced9c723e7405334583c60a702796).

(From OE-Core rev: 06eb03ad1c0357731496531b290a0a2fdfd10f48)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodropbear: don't create invalid symlinks if ssh, scp, etc are disabled
Andre McCurdy [Fri, 23 Aug 2019 20:51:42 +0000 (13:51 -0700)] 
dropbear: don't create invalid symlinks if ssh, scp, etc are disabled

(From OE-Core rev: 703e3faaec8c5a22fe3bc9a2a040c960862136c7)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofeature-arm-thumb.inc: fix ARM_THUMB_SUFFIX
Andre McCurdy [Fri, 23 Aug 2019 20:51:36 +0000 (13:51 -0700)] 
feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX

Since TUNE_FEATURES now either contains a CPU or an architecture (but
not both) we can't rely on finding the architecture in TUNE_FEATURES.
Use architecture specific over-rides instead.

(From OE-Core rev: 805dd4807d322dc70cef97edd68fdb3142b60fb1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiputils: Set prefix correctly for usrmerge
Alex Kiernan [Wed, 4 Sep 2019 07:43:44 +0000 (08:43 +0100)] 
iputils: Set prefix correctly for usrmerge

Fix build with usrmerge enabled:

  WARNING: iputils-s20190709-r0 do_package: iputils: alternative target (/usr/bin/ping or /usr/bin/ping.iputils) does not exist, skipping...
  WARNING: iputils-s20190709-r0 do_package: iputils: NOT adding alternative provide /usr/bin/ping: /usr/bin/ping.iputils does not exist
  ERROR: iputils-s20190709-r0 do_package: QA Issue: iputils: Files/directories were installed but not shipped in any package:
    /bin/tftpd
    /bin/tracepath
    /bin/arping
    /bin/clockdiff
    /bin/ping
    /bin/traceroute6
    /sbin/rarpd
    /sbin/ninfod
    /sbin/rdisc
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  iputils: 9 installed and not shipped files. [installed-vs-shipped]
  WARNING: iputils-s20190709-r0 do_package: iputils: alt_link == alt_target: /usr/bin/ping == /usr/bin/ping

(From OE-Core rev: 4b2322e90f6a3a4d2c44145aa85b688f28edddaa)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-db: support usrmerge
Changqing Li [Mon, 2 Sep 2019 09:42:19 +0000 (17:42 +0800)] 
man-db: support usrmerge

(From OE-Core rev: 69ab2da830a758d6289a6e33209e74222bfedea0)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodnf.py: installroot support usrmerge
Changqing Li [Tue, 3 Sep 2019 04:46:36 +0000 (12:46 +0800)] 
dnf.py: installroot support usrmerge

(From OE-Core rev: 65f8dfd81abcf48d472ee28c2cdae819fd87ef32)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: 12.1.3 -> 12.1.6
Kai Kang [Wed, 4 Sep 2019 09:35:55 +0000 (05:35 -0400)] 
sysstat: 12.1.3 -> 12.1.6

Update sysstat from 12.1.3 to 12.1.6.

* make sa_lib_dir refer to ${libexecdir}/sa to fix conflictions when
  multilib is enabled

(From OE-Core rev: 8862f21eeb814c64b8b9e662b093ed39474cd55b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotexinfo: fix multilib file confliction
Kai Kang [Wed, 4 Sep 2019 09:35:54 +0000 (05:35 -0400)] 
texinfo: fix multilib file confliction

Inherit multilib_script to fix file confliction when mutlilib enabled.

| Error: Transaction check error:
|   file /usr/bin/texi2any conflicts between attempted installs of
    lib32-texinfo-6.5-r0.core2_32 and texinfo-6.5-r0.core2_64

(From OE-Core rev: 08b6a12e674f7a202bb29fbb465997e8303ccb5d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocups: redefine CUPS_SERVERBIN
Kai Kang [Wed, 4 Sep 2019 09:35:53 +0000 (05:35 -0400)] 
cups: redefine CUPS_SERVERBIN

Redefine CUPS_SERVERBIN to "$libexecdir/cups" for cups which solves file
confliction when multilib is enabled.

| Error: Transaction check error:
|   file /lib/systemd/system/org.cups.cups-lpd@.service conflicts between
    attempted installs of cups-2.2.11-r0.core2_64 and lib32-cups-2.2.11-r0.core2_32

(From OE-Core rev: 274bed042b9c2b50a8bdd11b42f1a62405fb5b11)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3native, pythonnative: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR
Khem Raj [Thu, 5 Sep 2019 00:22:11 +0000 (17:22 -0700)] 
python3native, pythonnative: export PYTHON_LIBRARY and PYTHON_INCLUDE_DIR

packages can use

find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)

while we control PYTHON pointing to native py3 the libs and include
directories will then point to build host version, which can result in
unexpected combination and if we are lucky we get errors if its quite
different e.g. py2 libs/includes and py3 executable

This variable can be then used to export PYTHON_LIBRARY and
PYTHON_INCLUDE_DIR so that above find_packages can work correctly

see [1] for how it happens in cmake

LLDB uses it see [2]

[1] https://github.com/Kitware/CMake/blob/master/Modules/FindPythonLibs.cmake
[2] https://github.com/llvm/llvm-project/blob/master/lldb/cmake/modules/LLDBConfig.cmake#L226

(From OE-Core rev: e45c06fe6f9a21c2cd06ae003cb112556382f81e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: make misc package rdepend on pydoc and pickle modules
Chen Qi [Thu, 5 Sep 2019 01:54:58 +0000 (09:54 +0800)] 
python3: make misc package rdepend on pydoc and pickle modules

The cgitb module in misc package requires pydoc. And the trace
module in misc package requires pickle.

(From OE-Core rev: f7f04c4436f414ab1e57e7fc93349ac77ecf37be)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomdadm: skip timeout testcase 11spare-migration
Changqing Li [Fri, 6 Sep 2019 03:37:39 +0000 (11:37 +0800)] 
mdadm: skip timeout testcase 11spare-migration

[YOCTO #13368]

(From OE-Core rev: 47c4ad9bd43d3b0539a19691bd4deb19ea63c3a7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobootchart2: switch to add patch from change source in do_install
Changqing Li [Fri, 6 Sep 2019 03:37:26 +0000 (11:37 +0800)] 
bootchart2: switch to add patch from change source in do_install

it is not proper change source in do_install, it will make
source not updated even local.conf have change the DISTRO_FEATURES

[YOCTO #13493]

(From OE-Core rev: c8b049f43931ac7581b6f57d03e4d1838d394e1f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRevert "kernel.bbclass: adjust a condition checking"
Jason Wessel [Tue, 20 Aug 2019 13:06:47 +0000 (06:06 -0700)] 
Revert "kernel.bbclass: adjust a condition checking"

This reverts commit 6676411fccff2d331878e4ca1f9411aafb056a80.

This revert restores the original code and adds a comment.  The commit
that was reverted broke a number of wic templates and tools which rely
on the initramfs creation dependency and the case where the
INITRAMFS_IMAGE_BUNDLE is not set.

If an end user does not want the INITRAMFS_IMAGE generated, it should
be set to "".

[ Issue: LIN1019-1791 ]

(From OE-Core rev: ab61a11623ac0a25ba1c98d686c79815abab573f)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson:upgrade 0.51.1 -> 0.51.2
Zang Ruochen [Fri, 6 Sep 2019 02:03:46 +0000 (10:03 +0800)] 
meson:upgrade 0.51.1 -> 0.51.2

-meson/0001-Fix-missing-return-statements-that-are-seen-with-Wer.patch
Removed since this is included in 0.51.2.

(From OE-Core rev: 62ea5c31be4a1a5eaba83f81d09b36553febb647)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston: uprev to 7.0.0
Ming Liu [Fri, 6 Sep 2019 03:35:20 +0000 (11:35 +0800)] 
weston: uprev to 7.0.0

- Adjust patches to comply with weston-7.0.0.
- Also drop the obsolete patch 0001-make-error-portable.patch.

(From OE-Core rev: 1b0ce3ec1d3254afa2cf3ac7ecfd736124d711cc)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: ensure reproducible builds by clearly exposing the time epoch support
Ross Burton [Thu, 5 Sep 2019 22:49:59 +0000 (23:49 +0100)] 
systemd: ensure reproducible builds by clearly exposing the time epoch support

systemd has the ability to check the time on boot and if it's earlier than an
epoch determined at build time, set the time to that epoch.  This is useful for
systems where the system time is January 1st 1970 (because the unix timestamp
was 0 at boot) as then at least the time is reset to something approximating the
right year at least.

By default systemd uses the mtime of the NEWS file, which is static for tarballs
and corresponds to the time the release was made, but for git checkouts this is
simply the time do_unpack() was executed.  Thus, rebuilding systemd will cause
this embedded timestamp to change.

Remove the PACKAGECONFIG time-epoch which has the logic reversed: enabling
time-epoch will set the epoch to the unix timestamp 0).  Replace with
set-time-epoch with the following semantics:

- When disabled, the time epoch is set to 0 (1st January 1970), so there is no
  time manipulation on boot.

- When enabled, if reproducible builds are configured by setting
  SOURCE_DATE_EPOCH then that timestamp is used for the time epoch.  If
  reproducible builds are not configured then the timestamp of NEWS (thus the
  build time) is used.

The set-time-epoch flag is enabled by default.

[ YOCTO #13473 ]

(From OE-Core rev: 29afbd4f02354de7103ee3a88f4ce5336b95b88a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-git: update to 3.0.2
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:51:53 +0000 (17:51 +0200)] 
python3-git: update to 3.0.2

(From OE-Core rev: 1ce8a78e59e472d80a85667916af23c7d64bb99f)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pbr: update to 5.4.3
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:51:52 +0000 (17:51 +0200)] 
python3-pbr: update to 5.4.3

(From OE-Core rev: d03ec080b0bcf31ab8272961372f1e662060e21e)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool: Add reproducible log extraction
Joshua Watt [Thu, 5 Sep 2019 13:54:44 +0000 (08:54 -0500)] 
resulttool: Add reproducible log extraction

Adds an argument to the log subcommand to extract the raw logs from the
reproducible selftest.

To prevent ambiguity, the "--raw" argument has been renamed
"--raw-ptest", although the old "--raw" argument is kept around for
compatibility.

[YOCTO #13324]

(From OE-Core rev: 7a4ebb361ff1efc22e7dafadfa60c98bc8a79ed4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsecret: 0.19.0
Oleksandr Kravchuk [Thu, 5 Sep 2019 15:32:18 +0000 (17:32 +0200)] 
libsecret: 0.19.0

(From OE-Core rev: 94cd73f7295dda8a0828bcd7159bbe54263c55ae)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoautotools: always include config_site.d files in CONFIG_SITE
Dan Callaghan [Mon, 5 Aug 2019 01:13:53 +0000 (11:13 +1000)] 
autotools: always include config_site.d files in CONFIG_SITE

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13375
(From OE-Core rev: e60c170b451a4aa561d08bfce97dca05508c2106)

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-dbus:upgrade 1.2.8 -> 1.2.10
Zang Ruochen [Thu, 5 Sep 2019 07:41:26 +0000 (15:41 +0800)] 
python3-dbus:upgrade 1.2.8 -> 1.2.10

(From OE-Core rev: fb7f9becfdd7a7657b69e7bde472f3b8569eff63)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage.bbclass: allow shell-style wildcards in PRIVATE_LIBS
Alexander Kanavin [Tue, 3 Sep 2019 16:32:41 +0000 (18:32 +0200)] 
package.bbclass: allow shell-style wildcards in PRIVATE_LIBS

PRIVATE_LIBS is used to exclude 'private' libraries from getting added to
automatic runtime dependency resolution. This variable currently has to list
all libraries by name, which becomes a maintenance issue if the list
of such libraries frequently changes, or is very large.

This change allows using shell-style wildcards in the variable, similar
to how FILES lists what gets packaged.

(From OE-Core rev: 732db32714c208d8eeeb90308926dc886ef7b791)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibjpeg-turbo: upgrade 2.0.2 -> 2.0.3
Anuj Mittal [Thu, 5 Sep 2019 07:51:53 +0000 (15:51 +0800)] 
libjpeg-turbo: upgrade 2.0.2 -> 2.0.3

Bug fix release. Release notes:

https://github.com/libjpeg-turbo/libjpeg-turbo/releases

(From OE-Core rev: 86a8caa604bfafa7a03420e94276a3e98e2957db)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodtc:upgrade 1.5.0 -> 1.5.1
Zang Ruochen [Thu, 5 Sep 2019 06:17:05 +0000 (14:17 +0800)] 
dtc:upgrade 1.5.0 -> 1.5.1

-License-Update:
-file://GPL : Updated mailing address.
-file://libfdt/libfdt.h : Removed part of the copyright description of this file.

(From OE-Core rev: ada36d3e39aba9afec2d5438a80f0b35610ce15d)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibogg:upgrade 1.3.3 -> 1.3.4
Zang Ruochen [Thu, 5 Sep 2019 05:53:26 +0000 (13:53 +0800)] 
libogg:upgrade 1.3.3 -> 1.3.4

(From OE-Core rev: 7e9fda9b8a9243091db212dc4c541cb2088a4d7d)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-9.2: Fix risc-v dynamic linker relocation
Khem Raj [Thu, 5 Sep 2019 01:29:58 +0000 (18:29 -0700)] 
gcc-9.2: Fix risc-v dynamic linker relocation

Accidentally dropped in 9.2 update

Reported-by: Ricardo Salveti <ricardo@foundries.io>
(From OE-Core rev: bd21f36faeceb83ab629bd34a4e53a6947d6a469)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoharfbuzz: upgrade to 2.6.1
Ross Burton [Wed, 4 Sep 2019 17:10:49 +0000 (18:10 +0100)] 
harfbuzz: upgrade to 2.6.1

Add a (disabled) PACKAGECONFIG for Graphite2.

Update the license checksum for hb-ucd.cc, which for some reason was
checksumming the entire file and not just the license header.

(From OE-Core rev: 6e097c853f17ec76b61440bb868371ddf6a8e977)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopango: add PACKAGECONFIG for libthai support
Ross Burton [Wed, 4 Sep 2019 15:11:08 +0000 (16:11 +0100)] 
pango: add PACKAGECONFIG for libthai support

(From OE-Core rev: 7aca6c182df25b867b6b9a58c3bf90112bb4aaaa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopango: 1.44.6 upgrade
Ross Burton [Wed, 4 Sep 2019 13:49:46 +0000 (14:49 +0100)] 
pango: 1.44.6 upgrade

(From OE-Core rev: 3673003485d0effdc036c9164bf7a30621960ea4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Fix typo in help text.
Drew Moseley [Tue, 3 Sep 2019 21:21:25 +0000 (17:21 -0400)] 
runqemu: Fix typo in help text.

(From OE-Core rev: c745185b0c112530d1a3d1c57feea0754d68ebb2)

Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Update to latest master
Khem Raj [Tue, 3 Sep 2019 22:59:32 +0000 (15:59 -0700)] 
musl: Update to latest master

sys/user.h related API fixed on ppc/ppc64

Detailed log [1]

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=29e8737f81ccc9fbadcf61a75318aa3d0516aafa..6ad514e4e278f0c3b18eb2db1d45638c9af1c07f

(From OE-Core rev: 961312512fa80622143c35c4edaa19287be01bbb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolib/oe/gpg_sign.py: Remove unwanted import
Vijai Kumar K [Wed, 4 Sep 2019 10:01:42 +0000 (15:31 +0530)] 
lib/oe/gpg_sign.py: Remove unwanted import

Remove unwanted import of oe.utils.

(From OE-Core rev: 42e9de68384fb24d5c9a5f161810be90c45942d2)

Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogzip: add nativesdk support
Denys Zagorui [Wed, 4 Sep 2019 10:41:48 +0000 (10:41 +0000)] 
gzip: add nativesdk support

(From OE-Core rev: 9b2d7219e4cb2701f4252fbb98e6ecaab3221107)

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopatch: add CVE tags to patches
Ross Burton [Tue, 3 Sep 2019 15:59:05 +0000 (16:59 +0100)] 
patch: add CVE tags to patches

These patches improve CVE fixes but trip up patch status sanity checks, so add
CVE tags to them.

(From OE-Core rev: b30e060639d99849e27e5136c33c52d27e3288dc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Fix dependency of PACKAGECONFIG libcurl
He Zhe [Thu, 29 Aug 2019 13:15:50 +0000 (21:15 +0800)] 
qemu: Fix dependency of PACKAGECONFIG libcurl

When PACKAGECONFIG libcurl is enabled, we would get the following build failure.
ERROR: Nothing PROVIDES 'libcurl' (but perf.bb DEPENDS on or otherwise requires it). Close matches:

The dependency should be curl.

(From OE-Core rev: 531bf25c4e9dda4938f1de6bf7f929ca9d639114)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Add pkg-config handling for libgcrypt
He Zhe [Thu, 29 Aug 2019 13:15:49 +0000 (21:15 +0800)] 
qemu: Add pkg-config handling for libgcrypt

When PACKAGECONFIG libgcrypt is enabled, we would get the following error.

ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config

In oe-core, libgcrypt has been turned to be configured with pkg-config instead
of libgcrypt-config, but qemu configure script does not contain pkg-config
related part for libgcrypt to handle it.

(From OE-Core rev: 37bec7c4ea3ebd17366fbd2ec719de401ec36275)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibgpg-error: Fix build with gawk 5.x
Khem Raj [Sat, 31 Aug 2019 14:22:52 +0000 (07:22 -0700)] 
libgpg-error: Fix build with gawk 5.x

(From OE-Core rev: 1418581aa22f37c5d7d9a686c1c387149954e9b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-compare: 2015.02.10 -> 2019.08.14
Robert Yang [Fri, 30 Aug 2019 07:35:30 +0000 (15:35 +0800)] 
build-compare: 2015.02.10 -> 2019.08.14

* Removed the following patches which are already merged by upstream:
  0001-Add-support-for-deb-and-ipk-packaging.patch
  Rename-rpm-check.sh-to-pkg-diff.sh.patch
  functions.sh-improve-deb-and-ipk-checking.patch
  functions.sh-remove-space-at-head.patch
  functions.sh-run-rpm-once-to-make-it-faster.patch
  pkg-diff.sh-check-for-fifo-named-pipe.patch
  pkg-diff.sh-check_single_file-return-at-once-when-sa.patch
  pkg-diff.sh-remove-space-in-the-end-for-ftype.patch

* Rebased Ignore-DWARF-sections.patch

This version is very outstanding when compare binary packages, e.g.:
PRSERV_HOST = "localhost:0"
INHERIT += "packagefeed-stability"
PACKAGE_CLASSES = "package_ipk
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_1

Add a "bbnote 'hello'" to autotools.bbclass' autotools_do_configure.

* BEFORE the upgrading, the result is:
$ diff /tmp/ipk_1  /tmp/ipk_2 -Nur | diffstat
 ipk_2 | 1570 +++++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 785 insertions(+), 785 deletions(-)

* AFTER the upgrading, the result is:
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_2
$ diff /tmp/ipk_1 /tmp/ipk_2 -Nur
No output

And if we really modifed a recipe such as opkg, then it would show that it is
changed.

For a full world build AFTER the upgrading:
$ diff /tmp/ipk_6 /tmp/ipk_7 -Nur | diffstat
 ipk_7 | 2090 +++++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 1045 insertions(+), 1045 deletions(-)

There are 10968 packages in totall, 1045 ones have been changed, so we can still
improve it in the future.

(From OE-Core rev: 4c77fdfc0b3b31105a4dfd1a4634f8464b52d933)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopoky-tiny/poky-altcfg: Use busybox-mdev and systemd
Richard Purdie [Fri, 6 Sep 2019 10:43:58 +0000 (11:43 +0100)] 
poky-tiny/poky-altcfg: Use busybox-mdev and systemd

(From meta-yocto rev: a058af8c82738620c9aab784118fd9680abfcf55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-8.3: remove 8.3 from zeus
Armin Kuster [Tue, 3 Sep 2019 15:58:48 +0000 (08:58 -0700)] 
gcc-8.3: remove 8.3 from zeus

warrior only had one gcc so lets be consistent.

This will also reduce our maintenance overhead and we don't build this either

(From OE-Core rev: fa4ecadd980eff95eacd840ba0259f6272daa9aa)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: Drop patches merged upstream
Richard Purdie [Fri, 6 Sep 2019 07:28:17 +0000 (08:28 +0100)] 
systemtap: Drop patches merged upstream

Several of our patches were merged upstream just beyond our current version.
Update to that version and drop them.

(From OE-Core rev: 815a956f7bf4de031b7764f27f3eac005a15b5ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoarchiver.bbclass: Do not archive srpm's if there are no package tasks
Nathan Rossi [Thu, 5 Sep 2019 14:41:31 +0000 (14:41 +0000)] 
archiver.bbclass: Do not archive srpm's if there are no package tasks

Do not attempt to archive recipes which have no packaging tasks (e.g.
inherits nopackages).

(From OE-Core rev: 8618425e3f5a095a4fd409029c46e770c9526eee)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosecurity_flags.inc: Add overrides for glibc-testsuite to match glibc
Nathan Rossi [Thu, 5 Sep 2019 13:44:15 +0000 (13:44 +0000)] 
security_flags.inc: Add overrides for glibc-testsuite to match glibc

Ensure glibc-testsuite has the same flags as glibc.

(From OE-Core rev: f8ab08441f90eb75295304c57746c6e5f907ca64)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-testsuite.inc: Fix ssh.exp, ensure multilib_flags are populated
Nathan Rossi [Thu, 5 Sep 2019 10:41:56 +0000 (20:41 +1000)] 
gcc-testsuite.inc: Fix ssh.exp, ensure multilib_flags are populated

The 'process_multilib_options' function of dejagnu also populates the
'multilib_flags' content from the '--target_board=' arguments. The
'ssh.exp' generated is missing this call ('user.exp' includes it).

(From OE-Core rev: 4d3d7cac012a1f53c61a997615a761a7f25dd33f)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils/glibc-testsuite: inherit nopackages to fix world builds
Richard Purdie [Wed, 4 Sep 2019 10:29:31 +0000 (11:29 +0100)] 
binutils/glibc-testsuite: inherit nopackages to fix world builds

These recipes don't need to generate packages but did contain the packaging tasks which
would be triggered by a world build. They showed warnings or errors. Simplest fix
is to remove the unneeded tasks with the nopackages class.

Also don't attempt stash_locales task

(From OE-Core rev: a34420e1bdb9a695fe7abd3b26426d7ae6113349)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc-testsuite: Create a recipe to implement glibc test suite
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
glibc-testsuite: Create a recipe to implement glibc test suite

A recipe needs to be created for the test suite due to the dependency
chain between libgcc -> glibc -> libgcc-initial, and the requirements of
the test suite to have libgcc for compilation and execution.

The glibc test suite does not use dejagnu like the gcc test suites do.
Instead a test wrapper script is used along with the assumed dependency
of having the same filesystem available on build host and target. For
qemu linux-user the same filesystem is inherently available, for remote
targets NFS is used. Separate test wrapper scripts are created for qemu
linux-user or ssh targets, with the same TOOLCHAIN_TEST_* variables used for
configuration.

(From OE-Core rev: 6c4d581c35ebd51c4b080ac38175d93f0480f97d)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-runtime: Add do_check task for executing gcc test suites
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
gcc-runtime: Add do_check task for executing gcc test suites

Add a do_check task to implement execution of the gcc component test
suites. The component test suites require execution of compiled programs
on the target.

The implementation provided allows for execution testing against a host
via SSH or within the local build environment using qemu linux-user
execution. The selection of execution is done via the
TOOLCHAIN_TEST_TARGET variable, and configuration of the remote host is
done with the TOOLCHAIN_TEST_HOST, TOOLCHAIN_TEST_HOST_USER and
TOOLCHAIN_TEST_HOST_PORT variables.

By default the do_check task will execute all check targets, this can be
changed by setting MAKE_CHECK_TARGETS to the desired test suite target
(e.g. check-gcc or check-target-libatomic).

(From OE-Core rev: 9d5d680baa91b34dc97641f98856a51d1bb060c1)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils-cross-testsuite: Create recipe for test suite execution
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
binutils-cross-testsuite: Create recipe for test suite execution

Create the do_check task in a new recipe 'binutils-cross-testsuite'.
This recipe is built within a target recipe (not -cross) to ensure
correct testing against target specific libraries/etc. The do_check task
is used to execute the binutils test suite for the cross target
binutils. By default this executes tests for binutils, gas and ld. This
can however be changed by setting CHECK_TARGETS to the desired test
suite target (e.g. 'gas').

The binutils test suites do not require any target execution, as such
the check task can be run without QEMU or a target device. However
since the binutils tests do rely on a C compiler there is dependence on
both gcc and libc in order to run the tests.

(From OE-Core rev: 1fb98bfdccb82474176fe8fca616aea84475942e)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodejagnu: Add dejagnu for binutils/gcc test suites
Nathan Rossi [Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)] 
dejagnu: Add dejagnu for binutils/gcc test suites

The binutils and gcc test suites use dejagnu for execution. Copy the
dejagnu recipe from meta-oe, and update it to 1.6.2.

(From OE-Core rev: 72692268b0c578450b568cfc2527098673c1dbe0)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: reproducible: Preserve sstate mirror for first build
Joshua Watt [Sat, 31 Aug 2019 01:41:24 +0000 (20:41 -0500)] 
oeqa: reproducible: Preserve sstate mirror for first build

Preserves the SSTATE_MIRROR variable for the first build in the
reproducible test. This patch is intended to test the theory that using
the Yocto autobuilder sstate mirror will still be reproducible. The
autobuilder always does clean builds and never rebuilds recipes that
were built previously, thus building with the mirror but not
sharing tmpdir and sstate with previous builds should be reproducible.

There is no guarantee that all sstate caches are populated from clean
builds so this patch cannot be submitted to master, and I'm not
bothering sending it to the mailing list.

(From OE-Core rev: 6b8e0077339a89cb01aa40c1b367a4e41a638892)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoref-manual: sync list of image types with source
Scott Rifenbark [Thu, 29 Aug 2019 18:10:55 +0000 (11:10 -0700)] 
ref-manual: sync list of image types with source

(From yocto-docs rev: fc2817a4ca75efcb556c84ba5c6edcb4d703a78f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopoky-end: Added "pylint3" package to Ubuntu essentials.
Scott Rifenbark [Thu, 29 Aug 2019 17:29:50 +0000 (10:29 -0700)] 
poky-end: Added "pylint3" package to Ubuntu essentials.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoUpdate to KERNEL_DEVICETREE variable.
Adrian Bunk [Fri, 23 Aug 2019 18:48:06 +0000 (11:48 -0700)] 
Update to KERNEL_DEVICETREE variable.

Corrected the requirements for the KERNEL_DEVCIETREE
variable example.

(From yocto-docs rev: 0502910c81f4d669457155ed5f52d5fa775d8d6d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodev-manual: Updated "Creating a Team Development Environment"
Scott Rifenbark [Thu, 15 Aug 2019 18:36:29 +0000 (11:36 -0700)] 
dev-manual: Updated "Creating a Team Development Environment"

This section needed the wording updated.

(From yocto-docs rev: dd9e09273e9e5d5b6b43bf508f50d4d57e0dc569)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoref-manual: Updates to "Building Your Recipe"
Scott Rifenbark [Wed, 31 Jul 2019 22:11:21 +0000 (15:11 -0700)] 
ref-manual: Updates to "Building Your Recipe"

(From yocto-docs rev: 6aa1fe818c284c1d740ce8063d58c664e73d380d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoref-manual: Updated the "AS" variable
Scott Rifenbark [Wed, 31 Jul 2019 22:06:53 +0000 (15:06 -0700)] 
ref-manual: Updated the "AS" variable

(From yocto-docs rev: ebd659999da3c465e1dbe3fb07d5eedbb6ff4c8f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopoky: Use 5.2 kernel by default
Richard Purdie [Mon, 2 Sep 2019 14:30:45 +0000 (15:30 +0100)] 
poky: Use 5.2 kernel by default

(From meta-yocto rev: 7bab9fe27ff6ed67c2f7dfbfe939527f1a6a4430)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolocal.conf.sample: add a commented-out option to enable the gtk UI qemu frontend
Alexander Kanavin [Sun, 1 Sep 2019 09:38:44 +0000 (11:38 +0200)] 
local.conf.sample: add a commented-out option to enable the gtk UI qemu frontend

Gtk is disabled by default as SDL is somewhat quicker to build.

(From meta-yocto rev: d48f63bba98c94171db5da826c35c50ff638d2fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa-yocto-bsp: Bump to the v5.2 kernel
Kevin Hao [Fri, 30 Aug 2019 16:12:48 +0000 (12:12 -0400)] 
meta-yocto-bsp: Bump to the v5.2 kernel

Boot test for all the supported boards. Also drop the v5.0 bbappend
since we no plan to support it anymore. There are some
kernel_configcheck warning when building some boards, the patches [1]
for them have been sent to kernel-meta for merging.

[1] https://lists.yoctoproject.org/pipermail/linux-yocto/2019-August/007908.html

(From meta-yocto rev: c6e974e12c1d7fe0d155b6cf1bc0c1f4a6ee69d0)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-cross: Fix header file corruption problems
Richard Purdie [Wed, 4 Sep 2019 10:22:22 +0000 (11:22 +0100)] 
gcc-cross: Fix header file corruption problems

gcc's makefile can move files, replacing with the contents "timestamp". This
corrupts the headers and breaks things like the gcc testsuite.

Add in a fix to ensure the headers are not corrupted through their hardlink copies.

(From OE-Core rev: 7e75ed5aec86b94fe7fadbed606619f84a2e58e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: Use latest and greatest git version for 5.2 kernel support
Richard Purdie [Tue, 3 Sep 2019 21:39:37 +0000 (22:39 +0100)] 
systemtap: Use latest and greatest git version for 5.2 kernel support

Systemtap has issues with the 5.2 kernel which are fixed in master, we helped
debug and submitted some of the patches. Update to a git version which includes
all the fixes.

(From OE-Core rev: 7054ec111c7a011adb8a39b3a70292b29470e2aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocore-image-sato: don't use 512MB in qemumips
Ross Burton [Thu, 5 Sep 2019 15:56:20 +0000 (16:56 +0100)] 
core-image-sato: don't use 512MB in qemumips

qemumips doesn't appear to work well with 512MB of RAM and randomly hangs.  As
the bump to 512MB was primarily motivated by the memory needs of virtualised GL
which doesn't work in qemumips currently, drop the memory back to 256MB for
qemumips.

(From OE-Core rev: 499a31cf06c934b40b5866d5eb77c9ad20c9a15f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRemove leftovers from the eglinfo removal
Adrian Bunk [Thu, 5 Sep 2019 17:19:24 +0000 (20:19 +0300)] 
Remove leftovers from the eglinfo removal

(From OE-Core rev: 8d692de6a13f881e92c254fa60b18d8fe59be830)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Update to the latest 242 branch
Adrian Bunk [Wed, 4 Sep 2019 12:52:40 +0000 (15:52 +0300)] 
systemd: Update to the latest 242 branch

Remove patch for issue fixed upstream.

(From OE-Core rev: 8f06385bb4a8244ca51daeef0018bfbdd0a93161)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>