]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
6 years agogo: Exclude vcs files when installing deps
Alex Kiernan [Sun, 5 May 2019 05:23:32 +0000 (06:23 +0100)] 
go: Exclude vcs files when installing deps

Because our clones use the host git, on (say) Ubuntu 18.04, the local
git directories acquire perl scripts such as fsmonitor-watchman.sample.
During packaging, this leads to failures:

  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA Issue: /usr/lib/go/pkg/dep/sources/https---github.com-nsf-termbox--go/.git/hooks/fsmonitor-watchman.sample contained in package go-hsperfdata-staticdev requires /usr/bin/perl, but no providers found in RDEPENDS_go-hsperfdata-staticdev? [file-rdeps]
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa:
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: Function failed: do_package_qa

(From OE-Core rev: 2ee246524ab881d57d8aac204f671215a25a58d3)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: Add ntpath.py to python core
Alex Kiernan [Sun, 5 May 2019 05:23:13 +0000 (06:23 +0100)] 
python3: Add ntpath.py to python core

The newer python3 recipe no longer includes ntpath.py in core, leading
to failures in pkg_resources:

  Traceback (most recent call last):
    File "/usr/bin/bmaptool", line 6, in <module>
      from pkg_resources import load_entry_point
    File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 42, in <module>
      import ntpath
  ModuleNotFoundError: No module named 'ntpath'

(From OE-Core rev: 9ff61fa83a0a4f2a7b5b0376b6c48fb1173c9ac7)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopatchelf: Upgrade 0.9 -> 0.10
Alex Kiernan [Sun, 5 May 2019 05:22:44 +0000 (06:22 +0100)] 
patchelf: Upgrade 0.9 -> 0.10

Drop patches merged (or redone differently) upstream

(From OE-Core rev: e81004fd334a8204852f271101ddcf4a39e9ccb5)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing
Hongxu Jia [Sun, 5 May 2019 10:04:24 +0000 (18:04 +0800)] 
cpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing

The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.

And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt

(From OE-Core rev: e9ac5ac2f4d135734f549d17cce3ebc52132b7d0)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoghostscript: set CVE_PRODUCT
Chen Qi [Sun, 5 May 2019 06:12:32 +0000 (14:12 +0800)] 
ghostscript: set CVE_PRODUCT

(From OE-Core rev: 721e69aa12dd9ee22618ef13f29fb6d28eeab9af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agofile: Stop adding -std=c99 to CFLAGS
Adrian Bunk [Sun, 5 May 2019 20:18:13 +0000 (23:18 +0300)] 
file: Stop adding -std=c99 to CFLAGS

Upstream now adds this automatically when required.

(From OE-Core rev: 26e87532874acde8e653769a8a7b87f2b6d366fb)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxcrypt: Stop adding -std=gnu99 to CPPFLAGS
Adrian Bunk [Sun, 5 May 2019 20:18:12 +0000 (23:18 +0300)] 
libxcrypt: Stop adding -std=gnu99 to CPPFLAGS

Upstream now adds this automatically when required.

(From OE-Core rev: 8ff6a2a8b88befd7e4c7965f525937c0d723c0bf)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonss: cleanup recipe to match OE style
Armin Kuster [Mon, 6 May 2019 02:19:54 +0000 (19:19 -0700)] 
nss: cleanup recipe to match OE style

(From OE-Core rev: 878e8986de6f269fd5f221d949dd2848bd00e9af)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodocumentation: Cleaned up "plug-in"/"plugin" terminology.
Scott Rifenbark [Mon, 6 May 2019 19:44:48 +0000 (12:44 -0700)] 
documentation: Cleaned up "plug-in"/"plugin" terminology.

The YP manual set was using the plugin term inconsistently.
It was appearing as "plugin" as well as "plug-in".  The
plugins in the project are all named without a hyphen.
The term itself is either/or according to Google.  I have
changed all references to plugin so that they do not use
a hyphen.

(From yocto-docs rev: 715bb58e2347c5e37a49da7d9e3e230503672337)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobsp-guide: Updated the "beaglebone-yocto.conf" example.
Scott Rifenbark [Mon, 6 May 2019 17:40:42 +0000 (10:40 -0700)] 
bsp-guide: Updated the "beaglebone-yocto.conf" example.

This listing had gone stale.  I updated the actual listing to match
what is in poky repository and adjusted the various variable
explanations affected.

(From yocto-docs rev: 44ccb6ea7301ffa43c89f7a4f28265ea28725f99)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated the "Container Layer" term.
Scott Rifenbark [Fri, 3 May 2019 19:48:12 +0000 (12:48 -0700)] 
ref-manual: Updated the "Container Layer" term.

I removed the incorrect "meta-intel" layer for the example
and replaced it with the better "meta-openembedded" layer.

Reported by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: eed35c97aa53efdcdb9a270555774a7c3a0e3b69)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobsp-guide: Removed inaccurate "container layer" references.
Scott Rifenbark [Fri, 3 May 2019 17:48:48 +0000 (10:48 -0700)] 
bsp-guide: Removed inaccurate "container layer" references.

I left only the single mention of "container layers" and changed
the example from "meta-intel" to OpenEmbedded's meta-openembedded
layer.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 8aa4de2be19c001f19cc540e2f7b33ca71f6be60)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodocumentation: Prepared for 2.8 release
Scott Rifenbark [Thu, 2 May 2019 20:01:00 +0000 (13:01 -0700)] 
documentation: Prepared for 2.8 release

poky.ent - variables all set up for 2.8
mega-manual.sed - "2.7" replaced with "2.8"
<folder>.xml - manual revision history tables updated.

(From yocto-docs rev: 6092a9282cbd397a2f64ca74361f862ea76b0e28)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Review comments applied to 2.7 migration section.
Scott Rifenbark [Thu, 2 May 2019 16:47:46 +0000 (09:47 -0700)] 
ref-manual: Review comments applied to 2.7 migration section.

(From yocto-docs rev: 81ced4c68631d4d63efec206e5453b00d8fcc786)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky.ent: changed 2.7 release variable date to "May 2019"
Scott Rifenbark [Wed, 1 May 2019 22:43:58 +0000 (15:43 -0700)] 
poky.ent: changed 2.7 release variable date to "May 2019"

(From yocto-docs rev: 0c94c5c2c4300a9b91ab2be866d8781a79d2f62d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added Fedora 29 to the supported distros list.
Scott Rifenbark [Tue, 30 Apr 2019 16:54:04 +0000 (09:54 -0700)] 
ref-manual: Added Fedora 29 to the supported distros list.

(From yocto-docs rev: 196bc35669e81b269d4576f552bdecc191bbc80a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added "License Value Corrections to migration.
Scott Rifenbark [Tue, 30 Apr 2019 16:48:43 +0000 (09:48 -0700)] 
ref-manual: Added "License Value Corrections to migration.

(From yocto-docs rev: 398a60005b9ce63e6ee141dfb8a71e8ae2bf2d86)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added Eclipse removal for migration section.
Scott Rifenbark [Tue, 30 Apr 2019 16:33:56 +0000 (09:33 -0700)] 
ref-manual: Added Eclipse removal for migration section.

(From yocto-docs rev: 06409e5fa0080f76f68d9f98b3c9f5a4edfcc948)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Inserted Migration 2.7 section.
Scott Rifenbark [Mon, 29 Apr 2019 22:07:30 +0000 (15:07 -0700)] 
ref-manual: Inserted Migration 2.7 section.

(From yocto-docs rev: 238ddd62995420741c2b97ccfa7d2c533b72837c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Added reasoning blurb to "Viewing Variables" section.
Scott Rifenbark [Fri, 19 Apr 2019 16:51:59 +0000 (09:51 -0700)] 
dev-manual: Added reasoning blurb to "Viewing Variables" section.

I put a new introductory paragraph in the "Viewing Variables"
section that alludes to why you might want to see variables.
Also, I linked to the section "Modifying Variable Values" in
the BB manual.

(From yocto-docs rev: 6e18524ba62d2ff1231184467b0dd24dab33cfe6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual; brief-yoctoprojectqs: Updated checkout branch example
Scott Rifenbark [Mon, 15 Apr 2019 21:57:39 +0000 (14:57 -0700)] 
dev-manual; brief-yoctoprojectqs: Updated checkout branch example

Added the "yocto-2.6.2" tag to the example output since that
will be part of the overal list when 2.7 releases.

(From yocto-docs rev: 4863284811ad459cb0193528d5686a1ec008bb3e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosdk-manual: Removed all references to Eclipse
Scott Rifenbark [Fri, 12 Apr 2019 21:21:03 +0000 (14:21 -0700)] 
sdk-manual: Removed all references to Eclipse

Took care of links as well.

(From yocto-docs rev: a338dc13ebbcdc77fb16e36f12eb5f0e1e05187f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosdk-manual: Removed all references to Eclipse
Scott Rifenbark [Fri, 12 Apr 2019 21:19:54 +0000 (14:19 -0700)] 
sdk-manual: Removed all references to Eclipse

One Neon appendix completely removed.  One other chapter
removed that held the latest version of Eclipse use
removed.  A figure was also removed.

(From yocto-docs rev: 03524fc363f9232a2ed45d10688ddeb0439b0917)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Removed all references to Eclipse
Scott Rifenbark [Fri, 12 Apr 2019 21:18:53 +0000 (14:18 -0700)] 
ref-manual: Removed all references to Eclipse

Links updated as needed.

(From yocto-docs rev: acd5a75314b023f613be24b7512f991f8455e325)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoprofile-manual: Removed all references to Eclipse
Scott Rifenbark [Fri, 12 Apr 2019 21:17:50 +0000 (14:17 -0700)] 
profile-manual: Removed all references to Eclipse

One figure was removed and files modified.

(From yocto-docs rev: f5d7024c3c38bc7737894a5ad4b750d4d633f173)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooverview-manual: Removed all references to Eclipse
Scott Rifenbark [Fri, 12 Apr 2019 21:16:41 +0000 (14:16 -0700)] 
overview-manual: Removed all references to Eclipse

I also fixed all linking as needed.

(From yocto-docs rev: f987bc2846a2356a58934164652bb1dc59623b3b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Removed all references to Eclipse.
Scott Rifenbark [Fri, 12 Apr 2019 21:15:53 +0000 (14:15 -0700)] 
dev-manual: Removed all references to Eclipse.

I also fixed all linking as needed.

(From yocto-docs rev: c8d10a924a3a4ae76e8fc26ebcba52ea04f2f267)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomega-manual: Removed the Eclipse chapters
Scott Rifenbark [Fri, 12 Apr 2019 21:14:34 +0000 (14:14 -0700)] 
mega-manual: Removed the Eclipse chapters

Two chapters formerly in the sdk-manual were included when
the mega-manual makes.  These chapters are no longer
needed.

(From yocto-docs rev: a4e76a30baba5ab1d8f9783bb2a329d136600126)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky.ent: Removed Eclipse related variables.
Scott Rifenbark [Fri, 12 Apr 2019 21:13:54 +0000 (14:13 -0700)] 
poky.ent: Removed Eclipse related variables.

(From yocto-docs rev: dc8942cf48cd322c3f125b3ec14817c43ca0322a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomega-manual, overview-manual: Added updated index releases figure
Scott Rifenbark [Fri, 12 Apr 2019 21:12:10 +0000 (14:12 -0700)] 
mega-manual, overview-manual: Added updated index releases figure

The index-downloads.png file changes due to "eclipse" no
longer being there.  Both the overview-manual and the
mega-manual figures folders hold this figure.

(From yocto-docs rev: ef7b8dd8d636ef0ad563d1fe1ef44227f5f89fbc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomega-manual: Removed two Eclipse figures from tarball list
Scott Rifenbark [Fri, 12 Apr 2019 21:10:28 +0000 (14:10 -0700)] 
mega-manual: Removed two Eclipse figures from tarball list

Eclipse is no longer supported.  We do not need thes figures
as they would no longer exist.

(From yocto-docs rev: efcfb5a62fcacdc606b8485da809bdf6aa19a5f3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoDocumentation: Removed customization.xsl files for Eclipse
Scott Rifenbark [Fri, 12 Apr 2019 21:07:01 +0000 (14:07 -0700)] 
Documentation: Removed customization.xsl files for Eclipse

The help files for YP manuals used in the Eclipse application
are no longer supported.  I removed the individual
*-customization.xsl files for the individual YP manuals.

(From yocto-docs rev: 8c19244298b2c95ac92a398a5b6d3aca788f075e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoMakefile: Removed Eclipse support
Scott Rifenbark [Fri, 12 Apr 2019 21:04:39 +0000 (14:04 -0700)] 
Makefile: Removed Eclipse support

Updated the file so that Eclipse help for YP manuals is
not generated.  Updated comments to remove examples of
Eclipse.

(From yocto-docs rev: db62b107e82a9d6fad619b03d57e807b3a617afd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto: update genericx86* SRCREV for 4.19
Naveen Saini [Tue, 26 Feb 2019 02:37:17 +0000 (10:37 +0800)] 
linux-yocto: update genericx86* SRCREV for 4.19

Bump to kernel release v4.19.19

(From meta-yocto rev: 09f4441f242e4a07ee84341ddcb4f959f702b314)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogtk-icon-cache: clean up DEPENDS
Ross Burton [Fri, 29 Mar 2019 13:29:01 +0000 (13:29 +0000)] 
gtk-icon-cache: clean up DEPENDS

Use gtk+3-native instead gtk-icon-utils-native as that recipe no longer exists
and is provided by gtk+3-native for compatibility.

(From OE-Core rev: 078950f6ff88d406894229337b2b367ba049ff44)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolicense_image: Use new oe.path.copyhardlink() helper
Paul Barker [Fri, 3 May 2019 11:54:48 +0000 (11:54 +0000)] 
license_image: Use new oe.path.copyhardlink() helper

This change allows us to support the placement of WORKDIR and DEPLOY_DIR
on different devices.

(From OE-Core rev: f064a581ba31764839459bd667130bccbbedefab)

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooe.path: Add copyhardlink() helper function
Paul Barker [Fri, 3 May 2019 11:54:47 +0000 (11:54 +0000)] 
oe.path: Add copyhardlink() helper function

This function creates hard links if possible, falling back to copying
the file if the destination is on a different volume to the source.

The docstring for copyhardlinktree() is also updated to make the
difference between the two functions a little clearer.

(From OE-Core rev: 5437efa16f9bec914e417c6c939a39c247084f52)

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomdadm: Disable Werror
Khem Raj [Fri, 3 May 2019 06:29:26 +0000 (23:29 -0700)] 
mdadm: Disable Werror

Werror spews more warnings with gcc9, like other distros (
debian/fedora) disable Warnings as errors

Fixes

super-intel.c:696:9: error: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Werror=address-of-packed-member]

(From OE-Core rev: 7ac6ac8eb8fc3c623eba0e245fd9049dc6e2dd86)

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>
6 years agowic: add global debug option
Ross Burton [Tue, 30 Apr 2019 13:57:31 +0000 (14:57 +0100)] 
wic: add global debug option

Add a global --debug option to assist debugging.

(From OE-Core rev: 4e23b22bdf7b0e1fd16c7e53b6a7232c9c92ce95)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowic: change expand behaviour to match docs
Ross Burton [Tue, 30 Apr 2019 13:57:18 +0000 (14:57 +0100)] 
wic: change expand behaviour to match docs

The documentation says that --expand takes a comma-separated list of
partition:size pairs, but the code was splitting on hyphens.

Hyphens are not a transitional separator for a list of items, so change the code
to reflect the documentation.

(From OE-Core rev: a210e28bb3fd5433ebecf50e218fc548013b35dc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoell: add recipe
Oleksandr Kravchuk [Wed, 24 Apr 2019 05:16:20 +0000 (07:16 +0200)] 
ell: add recipe

ELL has originally been part of meta-openembedded, but newer versions
of some of the oe-core components depend on it, e.g. ofono.

(From OE-Core rev: 808d5dbe257d1b6faf241ee252a6ef092e4c6d3d)

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>
6 years agopackagegroup-core-full-cmdline: remove zlib
Ross Burton [Tue, 30 Apr 2019 09:51:48 +0000 (10:51 +0100)] 
packagegroup-core-full-cmdline: remove zlib

zlib is just a library so there's no point in it being part of a 'full
commandline experience' packagegroup.

(From OE-Core rev: d54244b43b31f6ef58d302e29ae8970a21f5365c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsolv: update to 0.7.4
Oleksandr Kravchuk [Mon, 1 Apr 2019 22:47:15 +0000 (00:47 +0200)] 
libsolv: update to 0.7.4

Removed patch has been upstreammed.

(From OE-Core rev: 450af6cf5c38da1cb44fd57ac1da3d2d3f037544)

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>
6 years agoxorg-lib: drop native overrides for REQUIRED_DISTRO_FEATURES
Alexander Kanavin [Wed, 27 Mar 2019 17:16:27 +0000 (18:16 +0100)] 
xorg-lib: drop native overrides for REQUIRED_DISTRO_FEATURES

x11 is actually always present in native DISTRO_FEATURES, and
so it's fine to require it in all cases.

(From OE-Core rev: 1d9f1da619089fc8edee027261b1fbe2e673091b)

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>
6 years agom4: update patch status
Ross Burton [Wed, 27 Mar 2019 17:06:47 +0000 (17:06 +0000)] 
m4: update patch status

(From OE-Core rev: 95a16610383a1eb28eac145b1bce8202213ad18f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoinitrdscripts: merge multiple "mkdir" calls
Max Kellermann [Thu, 7 Mar 2019 13:04:01 +0000 (14:04 +0100)] 
initrdscripts: merge multiple "mkdir" calls

Reduce overhead.

(From OE-Core rev: 31e6ea22523ded6a4e4f46472ab95ed17efe890b)

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agouseradd-staticids: print exception after parse_args() error
Max Kellermann [Thu, 7 Mar 2019 13:04:00 +0000 (14:04 +0100)] 
useradd-staticids: print exception after parse_args() error

Without this, the user has no idea what went wrong.

(From OE-Core rev: c1d887d63f098a10c7d6286399801d89fd3ebdb0)

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: HEADER: Drop it
Richard Purdie [Wed, 1 May 2019 11:12:18 +0000 (12:12 +0100)] 
bitbake: HEADER: Drop it

We don't really need a header boilerplate now the header is simplified, drop it.

(Bitbake rev: 9b4a9e5459db5f443fcffbdc499e12f09970e709)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake: Strip old editor directives from file headers
Richard Purdie [Wed, 1 May 2019 11:09:44 +0000 (12:09 +0100)] 
bitbake: bitbake: Strip old editor directives from file headers

There are much better ways to handle this and most editors shouldn't need this
in modern times, drop the noise from the files. Its not consitently applied
anyway.

(Bitbake rev: 5e43070e3087d09aea2f459b033d035c5ef747d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake: Drop duplicate license boilerplace text
Richard Purdie [Wed, 1 May 2019 10:47:13 +0000 (11:47 +0100)] 
bitbake: bitbake: Drop duplicate license boilerplace text

With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.

(Bitbake rev: 695d84397b68cc003186e22f395caa378b06bc75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake: Add initial pass of SPDX license headers to source code
Richard Purdie [Tue, 30 Apr 2019 10:05:26 +0000 (11:05 +0100)] 
bitbake: bitbake: Add initial pass of SPDX license headers to source code

This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.

The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.

The COPYING file is replaced with LICENSE.X files which contain the full
license texts.

(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa-poky: remove obsolete DISTRO_FEATURES_LIBC
Ross Burton [Wed, 1 May 2019 15:50:55 +0000 (16:50 +0100)] 
meta-poky: remove obsolete DISTRO_FEATURES_LIBC

(From meta-yocto rev: 2d548e8f5f2eaf0b6ae39d01e612284e47ec0899)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agouboot-sign: Fix build when UBOOT_DTB_BINARY is empty
Alex Kiernan [Wed, 17 Apr 2019 18:31:16 +0000 (18:31 +0000)] 
uboot-sign: Fix build when UBOOT_DTB_BINARY is empty

When UBOOT_DTB_BINARY is empty and because the code now changes
directory into ${B}, the test for the existence becomes `[ -f ]` which
succeeds and subsequently the install fails.

Reorder the code so it's clear that UBOOT_DTB_BINARY empty is an
expected configuration and then quote UBOOT_DTB_BINARY everywhere so
no one trips over this again.

Fixes: bacb59079eb6 ("uboot-sign: add support for different u-boot configurations")
(From OE-Core rev: e79f0db0745625b35dd83483747e486d08eebfde)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopkg: fix ptest packaging when OPKGLIBDIR == libdir
Martin Jansa [Thu, 2 May 2019 13:52:22 +0000 (13:52 +0000)] 
opkg: fix ptest packaging when OPKGLIBDIR == libdir

there is small issue with ptest packaging in cases where
OPKGLIBDIR is set to /usr/lib.

Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered:
ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but no providers found in RDEPENDS_libopkg? [file-rdeps]

  # $FILES_libopkg
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:62
  #     "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
  FILES_libopkg="/usr/lib/*.so.* /usr/lib/opkg/"

  # $FILES_opkg-ptest [2 operations]
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:9
  #     "${PTEST_PATH}"
  #   rename from FILES_${PN}-ptest data.py:117 [expandKeys]
  #     "${PTEST_PATH}"
  # pre-expansion value:
  #   "${PTEST_PATH}"
  FILES_opkg-ptest="/usr/lib/opkg/ptest"

  # $PACKAGES [4 operations]
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/bitbake.conf:292
  #     "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/documentation.conf:314
  #     [doc] "The list of packages to be created from the recipe."
  #   prepend /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:20
  #     "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
  #   prepend /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:60
  #     "libopkg"
  # pre-expansion value:
  #   "libopkg ${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)} ${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
  PACKAGES="libopkg opkg-ptest opkg-src opkg-dbg opkg-staticdev opkg-dev opkg-doc opkg-locale  opkg"

The easiest fix should be to reorder PACKAGES (the _prepends) so that ${PN}-ptest is prepended later -> ends before libopkg).

(From OE-Core rev: e329f1a9ad7e68575912345ec7c18c12f5971998)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoimage: call systemctl preset-all for images
Alex Kiernan [Thu, 2 May 2019 21:09:44 +0000 (22:09 +0100)] 
image: call systemctl preset-all for images

Rather than rely on systemd's default invocation of preset-all at
runtime, we pre-populate the symlink tree as part of of the image. This
is done late so any overrides of presets during rootfs construction
should already have happened.

Whilst we don't strictly need this for the read-write root case, it
avoids boot time churn; for read-only root we have to do it here.

(From OE-Core rev: a57678a076109c42fbdf7531e90ff4491b387d53)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemctl-native: Rewrite in Python supporting preset-all and mask
Alex Kiernan [Thu, 2 May 2019 21:09:43 +0000 (22:09 +0100)] 
systemctl-native: Rewrite in Python supporting preset-all and mask

Rewrite systemctl-native in Python so that extending/testing it is
easier.

Now that the systemd class sets up service presets instead of actively
enabling services, the 'enable' and 'disable' subcommands for systemctl
are not actually used anywhere.  As such, we can remove these to make
sure that nobody inadvertently introduces new uses of them.

This implementation covers `preset-all` and `mask` which are the only
options used in the current code, but should be readily extensible to
other commands.

We use `preset-all` at image construction time to populate the symlinks
used by systemd.

(From OE-Core rev: 86f5a2383692ac1ab01dce534c1a5c5f32ec4b35)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: create preset files instead of installing in image
Jonas Bonn [Thu, 2 May 2019 21:09:42 +0000 (22:09 +0100)] 
systemd: create preset files instead of installing in image

At first boot, systemd will create the /etc/systemd/system directory
from service preset files.  As such, for a normal, writable /etc
(writable rootfs), there is no need to set up this directory at image
creation time.

This patch changes the systemd machinery to create preset files and to
rely on systemd to do the service enablement.

This breaks the read-only-rootfs case; there's a fix for this in a
follow-up patch.

(From OE-Core rev: 154abbc3296eded11d2bbe3e102470b6986d42cd)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd-conf: simplify creation of machine-specific configuration
Alex Kiernan [Thu, 2 May 2019 21:09:41 +0000 (22:09 +0100)] 
systemd-conf: simplify creation of machine-specific configuration

The configuration files that systemd installs are just skeletons
detailing the available options and their default values.  The
recommended means of changing the configuration is to provide snippets
in configuration directories.  For example, journald.conf settings are
best set in /usr/lib/system.d/journald.conf.d/ and can be overridden by
the user by providing overriding snippets in
/etc/systemd/journald.conf.d/.

The systemd-conf package is just providing machine-specific overrides
for some systemd defaults.

This patch restores the installation of config files by systemd and
reduces systemd-conf to just providing the config snippets in
/usr/lib/systemd/*.conf.d.  This simpilfies the systemd-conf recipe
considerably since it now just sets up a couple of text files and
doesn't even need access to the systemd source anymore.

License-Update: configuration snippets licensing is independent of
systemd licensing

(From OE-Core rev: 3150253898babce70333376d22090b56b4a70bfb)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: do not create machine-id
Jonas Bonn [Thu, 2 May 2019 21:09:40 +0000 (22:09 +0100)] 
systemd: do not create machine-id

There is no reason to have an emtpy machine-id as part of the systemd
package.  Either:

i)  the filesystem is writable and the file will be created
automatically; or
ii) the filesystem is read-only, in which case the empty machine-id file
should be created as part of the read-only-rootfs tweaks.

(From OE-Core rev: 76444b63e614baea33c044851a5859f6d1e69729)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: don't build firstboot by default
Jonas Bonn [Thu, 2 May 2019 21:09:39 +0000 (22:09 +0100)] 
systemd: don't build firstboot by default

The firstboot service prompts the user for information about the host at
first boot.  Systemd determines whether or not a boot is a "first boot"
by the existence of the file /etc/machine-id.  Since oe-core always
includes this file (it is part of the systemd package), the firstboot
service never runs so this service is being built but never run.

A follow-up patch to this one will remove the machine-id from the
systemd build and allow it to be created automatically by systemd at
"first boot".  With that patch, we don't want the firstboot service to
suddenly start being invoked and presenting a prompt to the user.

With this patch, the firstboot service becomes a PACKAGECONFIG option
that the user must actively select.

(From OE-Core rev: 6f0072d34107f4d351c79b43ce71bf4489428a34)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopopulate_sdk_base: provide options to set sdk type
Changqing Li [Tue, 30 Apr 2019 09:08:21 +0000 (17:08 +0800)] 
populate_sdk_base: provide options to set sdk type

Current sdk type is tar.xz, but for mingw sdk, since we
have symlink under the sdk folder, 7zip which used to
extract tar.xz cannot handle it, refer 7zip upstream bug:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/
so add option for usr can select the sdk type.

Add override SDK_ARCHIVE_TYPE, default type is tar.xz, and also
support type zip. user want to use zip type can set SDK_ARCHIVE_TYPE
to zip.

(From OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodbus: fix ptest failure
Changqing Li [Wed, 17 Apr 2019 08:38:26 +0000 (16:38 +0800)] 
dbus: fix ptest failure

1. since one bug in run-ptest, testcase test-bus have never been
actually run (althrough it's result is PASS).

After commit 0828850, test-bus can actually run but it
did not install:
  test-service, test-shell-service, test-segfault, and
  dbus-daemon-launch-helper-test
Add the configure flag:
  --enable-embedded-tests
to generate binary dbus-daemon-launch-helper-test, then install
them so that test-bus will now pass.

2. fix testcase test-dbus-daemon failed
we enable --enable-verbose-mode in recipe dbus-test, and don't
enable it in recipe dbus. This will make below test code get
unexpect result of have_verbose and assert.
disable --enable-verbose-mode for recipe dbus-test to fix it.

 #ifdef DBUS_ENABLE_STATS
  g_assert_true (have_stats);
 #else
  g_assert_false (have_stats);
 #endif

[RP: Since the new test is slow dbus moves to the slow ptest list]

(From OE-Core rev: 2ea676072d7edd06ef9e886827c0d61d574ca377)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: Upgrade from 3.1.0 to 4.0.0
Alistair Francis [Thu, 2 May 2019 04:09:27 +0000 (04:09 +0000)] 
qemu: Upgrade from 3.1.0 to 4.0.0

This commit upgrade QEMU to the latest 4.0.0 release.

 - The COPYING.LIB file has changed SHA to:
    "Synchronize the LGPL 2.1 with the version from gnu.org"
 - SDL 1.2 has been removed, along with the --with-sdlabi command line
    arg
 - The backported patches have been removed
 - Al the other patches have been refreshed and the numbering has been
    updated

(From OE-Core rev: fed2a0f37a76732cd3de1b127d6902fb16dd4e05)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake.conf: Account for older versions of bitbake
Joshua Watt [Wed, 1 May 2019 20:35:23 +0000 (15:35 -0500)] 
bitbake.conf: Account for older versions of bitbake

Older versions of bitbake (prior to 1.42) don't expose the BB_UNIHASH
variable which is being used by sstate. For compatibility with these
older versions of bitbake, set BB_UNIHASH to BB_TASKHASH (which is the
value it should be for non-hash equivalent aware signature generators).
if bitbake hasn't already set it.

[YOCTO #13314]

(From OE-Core rev: de1782b23f8a98df3b42cb57bbcdff690bfa2343)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoelfutils: Fix ptest compile failures on musl
Richard Purdie [Wed, 1 May 2019 21:15:03 +0000 (22:15 +0100)] 
elfutils: Fix ptest compile failures on musl

(From OE-Core rev: 0f3bb3541a01701820b52ee31b41d4a24ddd1d43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoelfutils: ptest fixes
Richard Purdie [Wed, 1 May 2019 15:37:48 +0000 (16:37 +0100)] 
elfutils: ptest fixes

Changes to improve the way ptest runs:

a) Use the standalone test mode which allows the tests to be run in their
  'installled' locations on target (but not any of the standalone build pieces)
b) We want to use the binaries from their installed locations so the run-subr
   script needs tweaking to run them like that. The rpath conditional isn't
   enough since we want the second entry in the case statement.
c) Add an oecheck make target which we can use to build the test binaries we need
d) Add missing -ptest package dependencies (needs coreutils, ${PN}, ${PN}-binutils, make)
e) Don't add RPATH to the test binaries, we don't need that
f) Add some extra parameters to the make command to ensure tests run correctly

Before:
-----------------------------------------------------
Recipe   | Passed    | Failed   | Skipped  | Time(s)
-----------------------------------------------------
elfutils | 31        | 4        | 168      | 6
-----------------------------------------------------

After:
-----------------------------------------------------
Recipe   | Passed    | Failed   | Skipped  | Time(s)
-----------------------------------------------------
elfutils | 173       | 25       | 5        | 15
-----------------------------------------------------

(From OE-Core rev: 7ff76b86299289a4a5741f910399d95232f64f32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agompg123: port to use libsdl2
Ross Burton [Wed, 1 May 2019 13:18:35 +0000 (14:18 +0100)] 
mpg123: port to use libsdl2

libsdl 1.2 is dead upstream, so change mpg123 to use libsdl2.  Luckily the APIs
that mpg123 use haven't changed, so this is just a matter of changing the
pkg-config name.

(From OE-Core rev: 1aa947a60b0eb31c367b1e9818218ee74d388eea)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovim: Update to 8.1.1240
Tom Rini [Wed, 1 May 2019 12:51:09 +0000 (08:51 -0400)] 
vim: Update to 8.1.1240

This brings us to the current version of vim.  As part of this we need
to work-around a locale issue that upstream has exposed.  We do not
support fully / correctly the certain locales.  Attempting to use these
with msgfmt in order to update the ".desktop" files exposes this problem
and leads to the compile failing.

(From OE-Core rev: ffa4b0abcab2ed4e4f642b4b3140aa6095938422)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovim: Rework to not rely on relative directories
Tom Rini [Wed, 1 May 2019 12:51:08 +0000 (08:51 -0400)] 
vim: Rework to not rely on relative directories

The vim recipe has all of the code inside the "src" subdirectory but
other things we rely on, such as the license file in a subdirectory
relative to the src.  However, as there is a top-level "configure"
script that moves us down to the src directory, we can rework the recipe
to be overall more simple and regularly laid out if we use that.

(From OE-Core rev: 2eb66c1ff55a3fe9785967f45f1cb6a27df44f93)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/ssh: Avoid unicode decode exceptions
Richard Purdie [Wed, 1 May 2019 07:00:00 +0000 (08:00 +0100)] 
oeqa/ssh: Avoid unicode decode exceptions

This code really needs to be rewritten to not split potential
multibyte characters, for now work around it to avoid exceptions like:

  File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/target/ssh.py", line 211, in run
    data = reader.read(1024, 4096)
  File "/usr/lib64/python3.6/codecs.py", line 503, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte

(From OE-Core rev: 17e87510378f2729208a8262695f28e1efe5eb4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: build: Disable warning about dependent tasks for now
Richard Purdie [Wed, 1 May 2019 22:06:53 +0000 (23:06 +0100)] 
bitbake: build: Disable warning about dependent tasks for now

This breaks with rm_work so disable the warning until we find a better
solution (and change the test accordingly too).

(Bitbake rev: 93e94c06baf013e3d072465a55bddd1fe61c0772)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: build: Ensure warning for invalid task dependencies is useful
Richard Purdie [Wed, 1 May 2019 10:54:27 +0000 (11:54 +0100)] 
bitbake: build: Ensure warning for invalid task dependencies is useful

WARNING: elfutils: dependent task do_rm_work does not exist

is much less useful than

WARNING: elfutils: dependent task do_rm_work for do_deploy does not exist

(Bitbake rev: e034c6f75e3d7730ff16a8d1bd0cba03beda0af8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: knotty: Implement console 'keepalive' output
Richard Purdie [Fri, 26 Apr 2019 17:02:27 +0000 (18:02 +0100)] 
bitbake: knotty: Implement console 'keepalive' output

CI systems like jenkins and buildbot will timeout applications which haven't had console output
in some period of time. Add 'keepalive' output to knotty which gives output every 5000s if not
other output was made and tasks are still running. This reduces some problems encountered
with our CI testing.

(Bitbake rev: aa4f31e5741dd98acec73f16f6028e52f4c22d6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemux86: Allow higher tunes
Joshua Watt [Tue, 30 Apr 2019 13:51:09 +0000 (08:51 -0500)] 
qemux86: Allow higher tunes

Allows the qemux86 machine to be tuned all the way up to an i7 if
desired by overriding DEFAULTTUNE. The default if unspecified is left at
i586.

This can be useful for enabling advanced processor features like SSE if
desired or required by various packages.

(From OE-Core rev: 0be64e54a0e67472eaff9c794a33d76971c9b1a3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: split out vte into seperate PACKAGECONFIG
Andreas Müller [Tue, 30 Apr 2019 13:19:27 +0000 (15:19 +0200)] 
qemu: split out vte into seperate PACKAGECONFIG

* vte-native requires host compiler supporting c++17. Some distros we support
  ship comilers not supporting c++17 currently.
* oe-self-test 'test_testimage_virgl_gtk' sets
  PACKAGECONFIG_append_pn-qemu-system-native = " gtk+". With vte enabled by
  'gtk+'-config, build fails on hosts with ancient compilers [1].
* Alexander Kanavin did some tests: Without vte in PACKAGECONFIG there is still
  a working terminal available with reduced functionality [2].
* Users wanting 'full' terminal in system-qemu back should add
  PACKAGECONFIG_append_pn-qemu-system-native = " vte"
  in their local.conf.

The idea of this patch was coming from Ross Burton - thanks!

[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281637.html
[2] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281727.html

(From OE-Core rev: 78e160ac4b72bc3cfbdd89492c711a318585328b)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomaintainers.inc: take over as perl maintainer
Alexander Kanavin [Tue, 30 Apr 2019 11:54:08 +0000 (13:54 +0200)] 
maintainers.inc: take over as perl maintainer

Ross requested; I agreed :-)

(From OE-Core rev: 3c5a9ddab11d4b093d95f3a1e6398d14eba0794e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-pycairo: update to 1.18.1
Alexander Kanavin [Tue, 30 Apr 2019 11:54:07 +0000 (13:54 +0200)] 
python3-pycairo: update to 1.18.1

Switch over to meson build, as it does not attempt to install
headers into /usr/share and pkg-config files into /usr/share/$libdir.

(From OE-Core rev: 0e2858bd7d6f013bb31b64552a9ea5873c4f7ced)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: knotty: Pretty print task elapsed time
Jacob Kroon [Fri, 26 Apr 2019 21:37:27 +0000 (23:37 +0200)] 
bitbake: knotty: Pretty print task elapsed time

A task's runtime is currently printed in seconds. Change it to
include minutes and hours for easier reading.

(Bitbake rev: c593ae5ec9fecd4bde823948024e4d56314a60ce)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: build: Add verbnote to shell log commands
Stefan Kral [Mon, 15 Apr 2019 21:42:21 +0000 (23:42 +0200)] 
bitbake: build: Add verbnote to shell log commands

Add the missing bbverbnote fifo cmd for logging from shell.

(Bitbake rev: cf11fdb30c405e1a4521a7299f84816c0e13a881)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: tests/parse.py: Add testcase for addtask and deltask
Robert Yang [Mon, 29 Apr 2019 08:12:00 +0000 (16:12 +0800)] 
bitbake: tests/parse.py: Add testcase for addtask and deltask

(Bitbake rev: 4ac388646624e08bef848b560fa52deacf2ff4fb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: build.py: check dependendent task for addtask
Robert Yang [Mon, 29 Apr 2019 08:11:59 +0000 (16:11 +0800)] 
bitbake: build.py: check dependendent task for addtask

The following command is incorrect, but was ignored silently, that may suprise
users:

addtask task after task_not_existed

This patch can check and warn for it. It would be better to also check "before"
tasks, but there is no easier way to do it.

[YOCTO #13282]

(Bitbake rev: b1ad36169c2ad189d84c53c707b66c12d5ff812f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: BBHandler: Fix addtask and deltask
Robert Yang [Mon, 29 Apr 2019 08:11:58 +0000 (16:11 +0800)] 
bitbake: BBHandler: Fix addtask and deltask

The following commands are not supported, but they were ignored silently, that
may suprise users:

* addtask task1 task2
  task2 is ignored

* addtask task1 before task2 before task3
  Should be: addtask task1 before task2 task3

* addtask task1 after task2 after task3
  Should be: addtask task1 after task2 task3

* deltask task1 task2
  task2 is ignore

This patch can check and warn for them.

[YOCTO #13282]

(Bitbake rev: 675689aa7cc7287efecf8ef775ca2059369167f1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/5.0: update TCP patch to mainline version
Bruce Ashfield [Mon, 29 Apr 2019 20:06:12 +0000 (16:06 -0400)] 
linux-yocto/5.0: update TCP patch to mainline version

Updating the SRCREVs to drop our temporary workaround for TCP
timeout issues and switch to the mainline version:

  tcp: add sanity tests in tcp_add_backlog()
  Revert "tcp: fix issues relaed to implement coalescing on backlog queue"

(From OE-Core rev: 07db18609ce2b868d4ff5eb6cf2128bf6eb6d682)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agostaging: add ${datadir}/gtk-doc/html to the sysroot blacklist
Ross Burton [Mon, 29 Apr 2019 14:55:11 +0000 (15:55 +0100)] 
staging: add ${datadir}/gtk-doc/html to the sysroot blacklist

When api-documentation is enabled the GNOME stack builds API documentation. As
${datadir} is in SYSROOT_DIRS this documentation is in the sysroot but is never
used, wasting time and space.

Add ${datadir}/gtk-doc/html to the blacklist so that the generated documentation
isn't in the sysroot.  Note that we don't blacklist all of ${datadir}/gtk-doc
because gtk-doc itself installs files there which are needed to use gtk-doc.

(From OE-Core rev: 11c87952c9a71036119d509ce09f17e352e4c6d8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonettle: fix ptest failure
Mingli Yu [Wed, 24 Apr 2019 08:41:01 +0000 (16:41 +0800)] 
nettle: fix ptest failure

Rework dlopen-test.patch to fix below
dlopen-test failure:
 # cd /usr/lib64/nettle/ptest
 # ./run-ptest
 dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory
 ./run-ptest: line 8:  7607 Aborted                 "./$f"
 FAIL: dlopen-test

As the test dlopen-test depends on libnettle.so
which belongs to nettle-dev package, so add it
to rdepends of nettle-ptest.

(From OE-Core rev: 524fcf34128045f9f5726a1f1b8715a12b12ae7c)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonettle: fix the Segmentation fault
Mingli Yu [Wed, 24 Apr 2019 08:41:00 +0000 (16:41 +0800)] 
nettle: fix the Segmentation fault

The commit[8ac8fa8ee1 nettle: update to 3.4.1]
add CFLAGS_append = " -std=c99" to silence the
below error for native build:
| ../nettle-3.4.1/rsa-sign-tr.c: In function 'sec_equal':
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (size_t i = 0; i < limbs; i++)
   ^
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: note: use option -std=c99 or -std=gnu99 to compile your code
| Makefile:263: recipe for target 'rsa-sign-tr.o' failed

But the above change will trigger below Segmentation
fault:
 # echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
 [65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
 [65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
 Segmentation fault

So update the logic to CFLAGS_append = " -std=gnu99"
to fix the issue.

(From OE-Core rev: 91359a91b8c89dc5e1f3a946137204156c47a3af)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsdl: set CVE_PRODUCT
Chen Qi [Mon, 29 Apr 2019 05:27:32 +0000 (13:27 +0800)] 
libsdl: set CVE_PRODUCT

(From OE-Core rev: 1f0cca19014fef24a359d400c96d178463b2760f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopiglit: support build piglit without x11
Changqing Li [Mon, 29 Apr 2019 07:37:57 +0000 (15:37 +0800)] 
piglit: support build piglit without x11

*  test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend
   on x11, so respect the DISTRO_FEATURES, only enable it when
   x11 is enabled.
*  mesa-demos depend on libGL.so which is provide by recipe
   mesa, but when x11 is disabled, libGL.so is not generated.
   so we can only rdepend on this when x11 is enabled
*  add x11 PACKAGECONFIG to add correct config/depend/rdepend

[YOCTO #6077]

(From OE-Core rev: 2edf7a19598e10326603603dfa00ab91c9327e2d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowaffle: supprt build waffle without x11
Changqing Li [Mon, 29 Apr 2019 07:37:56 +0000 (15:37 +0800)] 
waffle: supprt build waffle without x11

respect DISTRO_FEATURES to make waffle support different platform,
gbm platform is supported by default.

[YOCTO #6077]

(From OE-Core rev: 37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodropbear: set CVE_PRODUCT
Chen Qi [Mon, 29 Apr 2019 07:27:18 +0000 (15:27 +0800)] 
dropbear: set CVE_PRODUCT

(From OE-Core rev: 3c247a4a166cabf7ddfea403cf272b3fb4e00872)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssh: fix CVE-2018-20685, CVE-2019-6109, CVE-2019-6111
Anuj Mittal [Mon, 29 Apr 2019 06:26:36 +0000 (14:26 +0800)] 
openssh: fix CVE-2018-20685, CVE-2019-6109, CVE-2019-6111

Also backport a patch to fix issues introduced by fix for CVE-2019-6109.

(From OE-Core rev: 31b7485d8377c1c535d1878220bbc1d49dc5f13e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobinutils: fix CVE-2019-9074 CVE-2019-9075 CVE-2019-9076 CVE-2019-9077
Anuj Mittal [Mon, 29 Apr 2019 06:26:35 +0000 (14:26 +0800)] 
binutils: fix CVE-2019-9074 CVE-2019-9075 CVE-2019-9076 CVE-2019-9077

(From OE-Core rev: 0e366eda53f6f440708531ed8cb2ac4941ca428f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdb: fix CVE-2017-9778
Anuj Mittal [Mon, 29 Apr 2019 06:26:34 +0000 (14:26 +0800)] 
gdb: fix CVE-2017-9778

(From OE-Core rev: d8faa8974d08651dac42afa7a7e545a4c30d813e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: fix CVE-2018-18484
Anuj Mittal [Mon, 29 Apr 2019 06:26:33 +0000 (14:26 +0800)] 
gcc: fix CVE-2018-18484

(From OE-Core rev: ac6af654f50aa6f3057dee0de806f5dfae10e4a8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: bitbake: fetch2/git: git-lfs check
Naveen Saini [Fri, 26 Apr 2019 08:34:38 +0000 (16:34 +0800)] 
bitbake: bitbake: fetch2/git: git-lfs check

Build will fail if repository has lfs contents in absense of git-lfs tool on host.
Build will pass if repository may or may not contains lfs content if host has git-lfs installed.

[YOCTO #13198]

(Bitbake rev: 3f2c2eb2f59707828bdcdd6414db837da8dc3b0e)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoptest-packagelists: Add m4 and gettext as 'fast' ptests
Richard Purdie [Mon, 29 Apr 2019 09:25:05 +0000 (10:25 +0100)] 
ptest-packagelists: Add m4 and gettext as 'fast' ptests

These new ptests run in under the ~30s criteria so add to the list
of 'fast' ptests.

(From OE-Core rev: ecba50f8713e969131c61424e8d9c4679ade18db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: Drop ptest hack
Richard Purdie [Fri, 26 Apr 2019 15:40:14 +0000 (16:40 +0100)] 
python3: Drop ptest hack

With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels
we don't need this patch anymore and can run the tests.

(From OE-Core rev: 21bfbef23e1f4c90070017e19f70e488e6ff64be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: add cgroupv2 PACKAGECONFIG
Luca Boccassi [Fri, 26 Apr 2019 15:57:57 +0000 (16:57 +0100)] 
systemd: add cgroupv2 PACKAGECONFIG

Allow users to change the default cgroup mode at build time
and use the unified hierarchy mode.
Disabled by default - hybrid is the default upstream value.

(From OE-Core rev: 25dc64b8de20021de34ce02ce3855ec9dbade4a4)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognome-doc-utils: Remove stale patch
Adrian Bunk [Fri, 26 Apr 2019 20:44:04 +0000 (23:44 +0300)] 
gnome-doc-utils: Remove stale patch

The recipe was removed 3 years ago.

(From OE-Core rev: 090e3cbed407abb7dd74ded56da38e7b2ee9d9d5)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto_5.0: set devicetree for armv5
Dengke Du [Sun, 28 Apr 2019 07:31:01 +0000 (15:31 +0800)] 
linux-yocto_5.0: set devicetree for armv5

(From OE-Core rev: ef91d05e4eb4bb25a8978867f9398e9fb7475e7c)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>