]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agopython3-dbusmock: add the missing rdepends
Mingli Yu [Thu, 11 Jun 2020 07:00:43 +0000 (15:00 +0800)]
python3-dbusmock: add the missing rdepends

Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import dbusmock
 [snip]
 ModuleNotFoundError: No module named 'unittest'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: add rdepends for python3-idle
Mingli Yu [Thu, 11 Jun 2020 05:48:35 +0000 (13:48 +0800)]
python3: add rdepends for python3-idle

Add rdepends for python3-idle to fix below error:
 # /usr/bin/idle3 -h
 [snip]
 _tkinter.TclError: Can't find a usable init.tcl
 [snip]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: add the rdepends for python3-misc
Mingli Yu [Thu, 11 Jun 2020 07:39:28 +0000 (15:39 +0800)]
python3: add the rdepends for python3-misc

* Add python3-numbers to rdepends for python3-misc to fix below error:
 # python3
 [snip]
 >>> import statistics
 [snip]
 ModuleNotFoundError: No module named 'numbers'

* Don't use the hardcoded python3 moudules rdepends

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: avoid blind merging all *.cfg
Jens Rehsack [Thu, 11 Jun 2020 14:30:14 +0000 (16:30 +0200)]
u-boot: avoid blind merging all *.cfg

This fixes u-boot-qoriq breakage of:

    commit 4fde8c8f479f5acd24fb6e0d0b9b4dc94d6f560b
    Author: Ming Liu <ming.liu@toradex.com>
    Date:   Wed Jun 3 13:56:01 2020 +0200

u-boot: support merging .cfg files for UBOOT_CONFIG

U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.

The intension of 4fde8c8 looks more than append delta-config snippets to
u-boot config and should probably be rewritten to express that much better
than implicitely assume all "*.cfg" are for merging into .config.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: fix CVE-2020-13776
Joe Slater [Thu, 11 Jun 2020 21:32:04 +0000 (14:32 -0700)]
systemd: fix CVE-2020-13776

Backport from systemd.git.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: backport library ordering fix
Andrew Geissler [Thu, 11 Jun 2020 21:01:02 +0000 (16:01 -0500)]
meson: backport library ordering fix

meson had a bug where they started looking for static boost libraries
first vs. the default behavior of looking at shared libraries first.
This caused issues because some projects assume the shared libraries
first which automatically add in other shared library dependencies.
Static libraries do not have the default behavior so projects that use
boost start failing to compile with undefined references to other boost
libraries.

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipetool: Fix list concatenation when using edit
Alex Kiernan [Fri, 12 Jun 2020 13:36:40 +0000 (14:36 +0100)]
recipetool: Fix list concatenation when using edit

If there are multiple appends, ensure we concatenate compatible things:

Traceback (most recent call last):
  File "/home/akiernan/poky/scripts/recipetool", line 111, in <module>
    ret = main()
  File "/home/akiernan/poky/scripts/recipetool", line 100, in main
    ret = args.func(args)
  File "/home/akiernan/poky/scripts/lib/recipetool/edit.py", line 38, in edit
    return scriptutils.run_editor([recipe_path] + appends, logger)
TypeError: can only concatenate list (not "tuple") to list

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: upgrade 146 -> 147
Pierre-Jean Texier [Fri, 12 Jun 2020 11:30:35 +0000 (13:30 +0200)]
diffoscope: upgrade 146 -> 147

This includes the following changes:

* New features:

  - Add output from strings(1) to ELF binaries. It is intended this will
    expose expose build paths that are hidden somewhere within the objdump(1)
    output. (Closes: reproducible-builds/diffoscope#148)
  - Add basic zsh shell tab-completion support.
    (Closes: reproducible-builds/diffoscope#158)

* Bug fixes:

  - Prevent a traceback when comparing a PDF document that does not contain
    any metadata, ie. it is missing a PDF "/Info" stanza.
    (Closes: reproducible-builds/diffoscope#150)
  - Fix compatibility with jsondiff 1.2.0 which was causing a traceback and
    log the version of jsondiff we are using to aid debugging in the future.
    (Closes: reproducible-builds/diffoscope#159
  - Fix an issue in GnuPG keybox handling that left filenames in the diff.
  - Don't mask an existing test name; ie. ensure it is actually run.

* Reporting:

  - Log all calls to subprocess.check_output by using our own wrapper utility.
    (Closes: reproducible-builds/diffoscope#151)

* Code improvements:

  - Replace references to "WF" with "Wagner-Fischer" for clarity.
  - Drop a large number of unused imports (list_libarchive,
    ContainerExtractionError, etc.)
  - Don't assign exception to a variable that we do not use.
  - Compare string values with the equality operator, not via "is" identity.
  - Don't alias an open file to a variable when we don't use it.
  - Don't alias "filter" builtin.
  - Refactor many small parts of the HTML generation, dropping explicit
    u"unicode" strings, tidying the generation of the "Offset X, Y lines
    modified" messages, moving to PEP 498 f-strings where appropriate, etc.
  - Inline a number of single-used utility methods.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit-inittab: Add support for tty devices with 10 or more number.
Yuki Hoshino [Fri, 12 Jun 2020 08:16:57 +0000 (08:16 +0000)]
sysvinit-inittab: Add support for tty devices with 10 or more number.

"start_getty" support for tty devices with under 10 number.
When SERIAL_CONSOLES has tty devices with 10 or more number,
do not't start getty and output the following message.
----------
sh 1: unknown operand
----------

Signed-off-by: Yuki Hoshino <yuki.hoshino@miraclelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuildhistory: Add simplistic file move detection
Richard Purdie [Wed, 3 Jun 2020 15:01:02 +0000 (16:01 +0100)]
buildhistory: Add simplistic file move detection

We'd like to use buildhistory more during patch review however its
proving hard, particularly where whole subtrees of files move,
such as a kernel version upgrade, or where a software module moves
include directory.

This adds file rename matching which covers our common case of library
moves, kernel upgrades and more.

A new test case is also added so that someone in the future can change
the code and test the logic is still doing the expected things.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "bitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable"
Richard Purdie [Thu, 11 Jun 2020 13:01:21 +0000 (14:01 +0100)]
Revert "bitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable"

This reverts commit b1f15f651461d07a8cfbd3bdcfea0e89f195212d.

The variable is used by multiple other layers and users are requesting
it be added back.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinsane: Check for feature check variables not being used
Jacob Kroon [Wed, 10 Jun 2020 17:52:45 +0000 (19:52 +0200)]
insane: Check for feature check variables not being used

Add a package QA check for wether any of the variables used by
features_check.bbclass is set while not inheriting the class itself.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofeatures_check: Warn if not used
Jacob Kroon [Wed, 10 Jun 2020 17:52:43 +0000 (19:52 +0200)]
features_check: Warn if not used

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa: Don't inherit 'features_check' in recipes that don't utilize it
Jacob Kroon [Wed, 10 Jun 2020 17:52:44 +0000 (19:52 +0200)]
meta: Don't inherit 'features_check' in recipes that don't utilize it

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: fix CVE-2020-13361
Lee Chee Yang [Mon, 1 Jun 2020 13:40:37 +0000 (21:40 +0800)]
qemu: fix CVE-2020-13361

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoavahi-dnsconfd: rdepends on avahi-daemon
Kai Kang [Fri, 5 Jun 2020 09:07:19 +0000 (17:07 +0800)]
avahi-dnsconfd: rdepends on avahi-daemon

Systemd service avahi-dnsconfd.service requires avahi-daemon.socket
and avahi-daemon.service which are from avahi-daemon. So make
avahi-dnsconfd rdepends on avahi-daemon.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-networking/btrfs-tools/dosfstools/parted/bmap-tools/libsoup-2.4: add nativesdk...
Hongxu Jia [Tue, 9 Jun 2020 13:52:10 +0000 (21:52 +0800)]
glib-networking/btrfs-tools/dosfstools/parted/bmap-tools/libsoup-2.4: add nativesdk support

In order to make wic tool work in sdk which is out of an
existed Yocto build, it needs to port wic tool as a nativesdk
recipe.

First, make these runtime depends recipes to support nativesdk

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: Fix build on musl
Khem Raj [Wed, 10 Jun 2020 05:10:28 +0000 (22:10 -0700)]
stress-ng: Fix build on musl

Define daddr_t if not provided by system headers
Fixes
./stress-ng.h:3755:2: error: unknown type name 'daddr_t'; did you mean 'caddr_t'?
daddr_t f_tfree;
^~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic: Fix --extra-space argument handling
Joshua Watt [Tue, 9 Jun 2020 17:16:31 +0000 (12:16 -0500)]
wic: Fix --extra-space argument handling

467f84e12b ("wic: Add --offset argument for partitions") broke the
--extra-space argument handling in wic. Fix the option and add a unit
test for the argument.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovim: restore the 'chmod -x' workaround in do_install
Chen Qi [Mon, 8 Jun 2020 01:36:33 +0000 (09:36 +0800)]
vim: restore the 'chmod -x' workaround in do_install

These workarounds are removed because a previous patch
solve the host path reference for gawk and perl, and it skips
the do_package_qa issue by setting the INSANE_SKIP. But it
introduces regression for do_rootfs. The dependencies are
calculated and will require packages like python, perl, gawk
and csh. The error is like below.

Error:
 Problem: conflicting requests
    - nothing provides /bin/csh needed by vim-tools-8.2-r0.corei7_64
    - nothing provides /usr/bin/nawk needed by vim-tools-8.2-r0.corei7_64
    - nothing provides /usr/bin/python needed by vim-tools-8.2-r0.corei7_64

So we keep the previous patch which solve the host path reference
problem and restore the long-used 'chmod -x' workaround here.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: add missing rdepends for python3-pkg-resources
Mingli Yu [Tue, 9 Jun 2020 07:27:20 +0000 (15:27 +0800)]
python3-setuptools: add missing rdepends for python3-pkg-resources

Add missing rdepends for python3-pkg-resources to fix below error:
 # python3
 [snip]
 import pkg_resources
 [snip]
 ModuleNotFoundError: No module named 'plistlib'
 ModuleNotFoundError: No module named 'email'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoencodings: clear postinst script
Kai Kang [Tue, 9 Jun 2020 03:29:56 +0000 (11:29 +0800)]
encodings: clear postinst script

Postinst script from xorg-font-common.inc doesn't apply to this recipe.
So clear the postinst script of encodings.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiptables: upgrade 1.8.4 -> 1.8.5
Pierre-Jean Texier [Sun, 7 Jun 2020 16:11:23 +0000 (18:11 +0200)]
iptables: upgrade 1.8.4 -> 1.8.5

This release contains the following fixes and enhancements:

xtables-save/xtables-restore:
- Fix parser in `--noflush' mode incorrectly rejecting chain definitions
  and empty lines.
- Fix crash when restoring or dumping while other ruleset changes happen
  in parallel.

iptables-apply:
- Install the script along with `make install'.
- Introduce parameters `-c' (run command) and `-w' (save successfully
  applied rules to file).
- Use `mktemp' instead of `tempfile' for temporary files.

iptables-translate:
- Support `time' match and `NOTRACK' target.
- Fix for special interface names `*', `+' and `eth++'.

ebtables-nft:
- Full among match support, including sets with mixed MAC and MAC+IP
  entries.

extensions:
- connlabel: Numeric labels were rejected if a connlabel.conf existed in
             the system.
- IDLETIMER: Introduce `--alarm' option.

libxtables:
- Introduce xtables_fini() to properly deinit the library and close any
  loaded shared objects.

nfnl_osf:
- Fix lockup after loading the first line from fingerprints file.
- Improve error handling, don't silently exit when deleting a
  non-existing fingerprint.

General:
- Fixes for undefined behaviour.
- Replace a few unsafe calls to strcpy().
- Fix some warnings when compiling with clang.
- Various fixes for valgrind-detected problems such as memory leaks and
  reachable memory at program exit.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpa-supplicant: remove service templates from SYSTEMD_SERVICE
Kai Kang [Sun, 7 Jun 2020 13:21:57 +0000 (21:21 +0800)]
wpa-supplicant: remove service templates from SYSTEMD_SERVICE

Remove service templates wpa_supplicant-nl80211@.service and
wpa_supplicant-wired@.service from SYSTEMD_SERVICE that they should NOT
be started/stopped by calling 'systemctl' in postinst and prerm scripts.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomdadm: remove service template from SYSTEMD_SERVICE
Kai Kang [Sun, 7 Jun 2020 13:21:56 +0000 (21:21 +0800)]
mdadm: remove service template from SYSTEMD_SERVICE

Remove service template mdmon@.service from SYSTEMD_SERVICE which should
be not started by systemctl directly. It is hanlded by udev rules.

Replace tab with spaces in SRC_URI as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovim: _FORTIFY_SOURCE=2 be gone
Joe Slater [Sat, 6 Jun 2020 17:17:01 +0000 (10:17 -0700)]
vim: _FORTIFY_SOURCE=2 be gone

vim will abort in many places with this setting.  Replace
it with the benign _FORTIFY_SOURCE=1.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-sysroots: add sysroot paths with native binaries to PATH
Alexander Kanavin [Mon, 8 Jun 2020 07:46:59 +0000 (09:46 +0200)]
build-sysroots: add sysroot paths with native binaries to PATH

staging_populate_sysroot_dir() collects postinsts from the sysroot
and executes them. These postinsts, in turn, may call binaries that
are only available from the sysroot. This works fine with recipe-specific
sysroots, as all necessary paths are already in PATH, but breaks down
in this recipe which imitates the old global sysroot way but doesn't adjust
the PATH to include the binary paths from global sysroot.

To reproduce the failure:

$ bitbake docbook-xml-dtd4-native
$ bitbake -c build_native_sysroot build-sysroots

...

Exception: subprocess.CalledProcessError: Command '/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog' returned non-zero exit status 127.

Subprocess output:
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 5: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 8: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoca-certificates: correct upstream version check
Alexander Kanavin [Mon, 8 Jun 2020 07:46:58 +0000 (09:46 +0200)]
ca-certificates: correct upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinit-system-helpers: use https for fetching
Alexander Kanavin [Mon, 8 Jun 2020 07:46:57 +0000 (09:46 +0200)]
init-system-helpers: use https for fetching

git:// protocol seems to be down.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxinetd: 2.3.15 -> 2.3.15.4
Alexander Kanavin [Mon, 8 Jun 2020 07:46:56 +0000 (09:46 +0200)]
xinetd: 2.3.15 -> 2.3.15.4

This is updating from an old version from abandoned upstream repo to
an actively maintained opensuse fork, hence all the changes and cleanups.

License-Update: added suse copyrights
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosubversion: upgrade 1.13.0 -> 1.14.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:55 +0000 (09:46 +0200)]
subversion: upgrade 1.13.0 -> 1.14.0

Add python3native, as configure probes into python configuration.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoshared-mime-info: upgrade 1.15 -> 2.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:54 +0000 (09:46 +0200)]
shared-mime-info: upgrade 1.15 -> 2.0

Convert to meson, replace custom call to
update-mime-database with a built-in meson option.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: update to 202005
Alexander Kanavin [Mon, 8 Jun 2020 07:46:53 +0000 (09:46 +0200)]
ovmf: update to 202005

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agompg123: update to 1.26.1
Alexander Kanavin [Mon, 8 Jun 2020 07:46:52 +0000 (09:46 +0200)]
mpg123: update to 1.26.1

Drop a patch merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: update to 2.12.1
Alexander Kanavin [Mon, 8 Jun 2020 07:46:51 +0000 (09:46 +0200)]
lttng-modules: update to 2.12.1

Drop backports.

devupstream variant was incorrectly updated in a059fc67da4
(changed to 2.12, but without updating SRCREV), so revert it back
to 2.11.2.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibksba: 1.3.5 -> 1.4.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:50 +0000 (09:46 +0200)]
libksba: 1.3.5 -> 1.4.0

Adjust the pkg-config patch:

- upstream added their own .pc file, so adding it again is not needed.
- ksba.m4 adjustment to use pkg-config remains in place, but has to be rebased.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiproute2: upgrade 5.6.0 -> 5.7.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:49 +0000 (09:46 +0200)]
iproute2: upgrade 5.6.0 -> 5.7.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: 1.14.3 -> 1.14.4
Alexander Kanavin [Mon, 8 Jun 2020 07:46:48 +0000 (09:46 +0200)]
go: 1.14.3 -> 1.14.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogit: upgrade 2.26.2 -> 2.27.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:47 +0000 (09:46 +0200)]
git: upgrade 2.26.2 -> 2.27.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodebianutils: 4.9.1 -> 4.11
Alexander Kanavin [Mon, 8 Jun 2020 07:46:46 +0000 (09:46 +0200)]
debianutils: 4.9.1 -> 4.11

License-Update: changed license file path on Debian systems
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: 8.6.10 -> 9.0.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:45 +0000 (09:46 +0200)]
asciidoc: 8.6.10 -> 9.0.0

License-Update: copyright years, gpl2 text updated to latest official
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobison: upgrade 3.6.2 -> 3.6.3
Alexander Kanavin [Mon, 8 Jun 2020 07:46:44 +0000 (09:46 +0200)]
bison: upgrade 3.6.2 -> 3.6.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap: upgrade 2.34 -> 2.36
Alexander Kanavin [Mon, 8 Jun 2020 07:46:42 +0000 (09:46 +0200)]
libcap: upgrade 2.34 -> 2.36

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognutls: upgrade 3.6.13 -> 3.6.14
Alexander Kanavin [Mon, 8 Jun 2020 07:46:41 +0000 (09:46 +0200)]
gnutls: upgrade 3.6.13 -> 3.6.14

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpebackend-fdo: upgrade 1.6.0 -> 1.6.1
Alexander Kanavin [Mon, 8 Jun 2020 07:46:40 +0000 (09:46 +0200)]
wpebackend-fdo: upgrade 1.6.0 -> 1.6.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoffmpeg: upgrade 4.2.2 -> 4.2.3
Alexander Kanavin [Mon, 8 Jun 2020 07:46:39 +0000 (09:46 +0200)]
ffmpeg: upgrade 4.2.2 -> 4.2.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: upgrade 2.12.0 -> 2.12.1
Alexander Kanavin [Mon, 8 Jun 2020 07:46:38 +0000 (09:46 +0200)]
lttng-tools: upgrade 2.12.0 -> 2.12.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobabeltrace2: upgrade 2.0.2 -> 2.0.3
Alexander Kanavin [Mon, 8 Jun 2020 07:46:37 +0000 (09:46 +0200)]
babeltrace2: upgrade 2.0.2 -> 2.0.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: upgrade 20200421 -> 20200519
Alexander Kanavin [Mon, 8 Jun 2020 07:46:36 +0000 (09:46 +0200)]
linux-firmware: upgrade 20200421 -> 20200519

License-Update: added more entries to WHENCE, all redistributable
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxkeyboard-config: upgrade 2.29 -> 2.30
Alexander Kanavin [Mon, 8 Jun 2020 07:46:35 +0000 (09:46 +0200)]
xkeyboard-config: upgrade 2.29 -> 2.30

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-demos: upgrade to latest revision
Alexander Kanavin [Mon, 8 Jun 2020 07:46:34 +0000 (09:46 +0200)]
vulkan-demos: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdrm: upgrade 2.4.101 -> 2.4.102
Alexander Kanavin [Mon, 8 Jun 2020 07:46:33 +0000 (09:46 +0200)]
libdrm: upgrade 2.4.101 -> 2.4.102

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocogl-1.0: upgrade 1.22.6 -> 1.22.8
Alexander Kanavin [Mon, 8 Jun 2020 07:46:32 +0000 (09:46 +0200)]
cogl-1.0: upgrade 1.22.6 -> 1.22.8

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoepiphany: upgrade 3.36.1 -> 3.36.2
Alexander Kanavin [Mon, 8 Jun 2020 07:46:31 +0000 (09:46 +0200)]
epiphany: upgrade 3.36.1 -> 3.36.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomsmtp: upgrade 1.8.10 -> 1.8.11
Alexander Kanavin [Mon, 8 Jun 2020 07:46:30 +0000 (09:46 +0200)]
msmtp: upgrade 1.8.10 -> 1.8.11

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoman-db: upgrade 2.9.1 -> 2.9.2
Alexander Kanavin [Mon, 8 Jun 2020 07:46:29 +0000 (09:46 +0200)]
man-db: upgrade 2.9.1 -> 2.9.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoacpica: upgrade 20200430 -> 20200528
Alexander Kanavin [Mon, 8 Jun 2020 07:46:26 +0000 (09:46 +0200)]
acpica: upgrade 20200430 -> 20200528

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostrace: upgrade 5.6 -> 5.7
Alexander Kanavin [Mon, 8 Jun 2020 07:46:25 +0000 (09:46 +0200)]
strace: upgrade 5.6 -> 5.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-git: upgrade 3.1.2 -> 3.1.3
Alexander Kanavin [Mon, 8 Jun 2020 07:46:24 +0000 (09:46 +0200)]
python3-git: upgrade 3.1.2 -> 3.1.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-numpy: upgrade 1.18.4 -> 1.18.5
Alexander Kanavin [Mon, 8 Jun 2020 07:46:23 +0000 (09:46 +0200)]
python3-numpy: upgrade 1.18.4 -> 1.18.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopkgconf: upgrade 1.6.3 -> 1.7.3
Alexander Kanavin [Mon, 8 Jun 2020 07:46:22 +0000 (09:46 +0200)]
pkgconf: upgrade 1.6.3 -> 1.7.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibrepo: upgrade 1.11.3 -> 1.12.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:21 +0000 (09:46 +0200)]
librepo: upgrade 1.11.3 -> 1.12.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocreaterepo-c: upgrade 0.15.10 -> 0.15.11
Alexander Kanavin [Mon, 8 Jun 2020 07:46:20 +0000 (09:46 +0200)]
createrepo-c: upgrade 0.15.10 -> 0.15.11

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopciutils: upgrade 3.6.4 -> 3.7.0
Alexander Kanavin [Mon, 8 Jun 2020 07:46:19 +0000 (09:46 +0200)]
pciutils: upgrade 3.6.4 -> 3.7.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto: exclude from version checks/automated version updates
Alexander Kanavin [Mon, 8 Jun 2020 07:46:18 +0000 (09:46 +0200)]
linux-yocto: exclude from version checks/automated version updates

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodpkg: Remove workaound patch for host tar < 1.27
Adrian Bunk [Sat, 6 Jun 2020 07:38:24 +0000 (10:38 +0300)]
dpkg: Remove workaound patch for host tar < 1.27

tar >= 1.28 is already required.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.32.1 -> 3.32.2
Andreas Müller [Fri, 5 Jun 2020 15:29:27 +0000 (17:29 +0200)]
sqlite3: upgrade 3.32.1 -> 3.32.2

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoharfbuzz: upgrade 2.6.4 -> 2.6.7
Andreas Müller [Fri, 5 Jun 2020 15:29:26 +0000 (17:29 +0200)]
harfbuzz: upgrade 2.6.4 -> 2.6.7

* Seems they stopped maintaining freedesktop downloads so we missed few versions.
  To stay tuned add UPSTREM_CHECKs.
* License checksum was changed by credits & date changes [1]

[1] https://github.com/harfbuzz/harfbuzz/commit/5440313924172e155e34391f033f5e6c5e2390b3#diff-7116ef0705885343c9e1b2171a06be0e

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: upgrade 0.60.2 -> 0.60.3
Andreas Müller [Fri, 5 Jun 2020 15:29:25 +0000 (17:29 +0200)]
vte: upgrade 0.60.2 -> 0.60.3

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovte: tiny cleanup / renumber patch
Andreas Müller [Fri, 5 Jun 2020 15:29:24 +0000 (17:29 +0200)]
vte: tiny cleanup / renumber patch

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver: Speed up tests
Paul Barker [Fri, 5 Jun 2020 09:39:56 +0000 (10:39 +0100)]
archiver: Speed up tests

When running tests locally without the advantage of a populated sstate
cache, the archiver tests can take an unnecessarily long time. Using
different target recipes can speed things up a lot by reducing the
number of dependencies that are built.

For the test case test_archiver_srpm_mode we can still test the
conditions described in bug #11121 by using a target recipe that is
known to inherit the nopackages class as well as a more normal recipe,
instead of having to compute all the depepndencies of core-image-sato.

Before:
    archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name: PASSED (20.50s)
    archiver.Archiver.test_archiver_filters_by_type: PASSED (14.16s)
    archiver.Archiver.test_archiver_filters_by_type_and_name: PASSED (79.08s)
    archiver.Archiver.test_archiver_mode_configured: PASSED (558.19s)
    archiver.Archiver.test_archiver_mode_diff: PASSED (14.59s)
    archiver.Archiver.test_archiver_mode_dumpdata: PASSED (14.41s)
    archiver.Archiver.test_archiver_mode_mirror: PASSED (14.02s)
    archiver.Archiver.test_archiver_mode_mirror_combined: PASSED (19.99s)
    archiver.Archiver.test_archiver_mode_mirror_excludes: PASSED (14.24s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm: PASSED (13.47s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm_shallow: PASSED (22.15s)
    archiver.Archiver.test_archiver_mode_original: PASSED (14.15s)
    archiver.Archiver.test_archiver_mode_patched: PASSED (14.57s)
    archiver.Archiver.test_archiver_mode_recipe: PASSED (14.56s)
    archiver.Archiver.test_archiver_srpm_mode: PASSED (83.03s)
    oe-selftest () - Ran 15 tests in 911.905s

After:
    archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name: PASSED (23.66s)
    archiver.Archiver.test_archiver_filters_by_type: PASSED (15.16s)
    archiver.Archiver.test_archiver_filters_by_type_and_name: PASSED (15.33s)
    archiver.Archiver.test_archiver_mode_configured: PASSED (15.94s)
    archiver.Archiver.test_archiver_mode_diff: PASSED (15.79s)
    archiver.Archiver.test_archiver_mode_dumpdata: PASSED (15.39s)
    archiver.Archiver.test_archiver_mode_mirror: PASSED (15.28s)
    archiver.Archiver.test_archiver_mode_mirror_combined: PASSED (21.22s)
    archiver.Archiver.test_archiver_mode_mirror_excludes: PASSED (15.11s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm: PASSED (13.61s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm_shallow: PASSED (23.21s)
    archiver.Archiver.test_archiver_mode_original: PASSED (14.87s)
    archiver.Archiver.test_archiver_mode_patched: PASSED (15.50s)
    archiver.Archiver.test_archiver_mode_recipe: PASSED (15.62s)
    archiver.Archiver.test_archiver_srpm_mode: PASSED (20.66s)
    oe-selftest () - Ran 15 tests in 257.170s

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest-nopackages: New recipe in meta-selftest
Paul Barker [Fri, 5 Jun 2020 09:39:55 +0000 (10:39 +0100)]
selftest-nopackages: New recipe in meta-selftest

This provides a test recipe which is known to inherit the nopackages
bbclass.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest-ed: Support native builds
Paul Barker [Fri, 5 Jun 2020 09:39:54 +0000 (10:39 +0100)]
selftest-ed: Support native builds

This allows tests to switch to selftest-ed-native which has far fewer
dependencies than selftest-ed.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodb: do not install db_verify if 'verify' is not enabled
Chen Qi [Fri, 5 Jun 2020 02:09:45 +0000 (10:09 +0800)]
db: do not install db_verify if 'verify' is not enabled

On target, when running `db_verify /var/lib/rpm/Packages', we get
the following error.

  db_verify: BDB0571 library build did not include support for database verification

This is because db_verify is installed but 'verify' PACKAGECONFIG is
not enabled. So fix it by not installing do_verify in such case.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver: Capture git submodules in mirror archiver
Paul Barker [Thu, 4 Jun 2020 17:33:01 +0000 (18:33 +0100)]
archiver: Capture git submodules in mirror archiver

Using the new Fetch.expanded_urldata() function we can get URL data for
all git submodules.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest: git-submodule-test: New recipe for testing a gitsm SRC_URI
Paul Barker [Thu, 4 Jun 2020 17:33:00 +0000 (18:33 +0100)]
selftest: git-submodule-test: New recipe for testing a gitsm SRC_URI

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibunwind: Fix build on aarch64/musl
Khem Raj [Thu, 4 Jun 2020 16:30:50 +0000 (09:30 -0700)]
libunwind: Fix build on aarch64/musl

Backport a patch from upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu: force build type to production
Joe Slater [Mon, 1 Jun 2020 22:30:17 +0000 (15:30 -0700)]
qemu: force build type to production

qemu will not build for -Og optimization because macros
in lockable.h expect dead-code elimination.  Override DEBUG_BUILD.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofeatures_check: Factorize code for checking features
Jacob Kroon [Tue, 26 May 2020 07:36:23 +0000 (09:36 +0200)]
features_check: Factorize code for checking features

The DISTRO/MACHINE/COMBINED features should be treated identically, so
convert the expanded code to a loop. This fixes some of the COMBINED error
messages which were previously referring to MACHINE features. There
should be no functional changes.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibarchive: upgrade 3.4.2 -> 3.4.3
Pierre-Jean Texier [Mon, 1 Jun 2020 16:40:25 +0000 (18:40 +0200)]
libarchive: upgrade 3.4.2 -> 3.4.3

See full changelog https://github.com/libarchive/libarchive/releases/tag/v3.4.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: support merging .cfg files for UBOOT_CONFIG
Ming Liu [Wed, 3 Jun 2020 11:56:01 +0000 (13:56 +0200)]
u-boot: support merging .cfg files for UBOOT_CONFIG

U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-magic: add the missing rdepends
Mingli Yu [Thu, 4 Jun 2020 08:13:39 +0000 (16:13 +0800)]
python3-magic: add the missing rdepends

Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import magic
 [snip]
 ModuleNotFoundError: No module named 'ctypes'
 ModuleNotFoundError: No module named 'tempfile'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocups.inc: remove template service from SYSTEMD_SERVICE
Changqing Li [Thu, 4 Jun 2020 03:28:12 +0000 (11:28 +0800)]
cups.inc: remove template service from SYSTEMD_SERVICE

this template service need to triggered by org.cups.cups-lpd.socket,
which will assigned an instance id for org.cups.cups-lpd@.service,
like org.cups.cups-lpd@0.service. add this in SYSTEMD_SERVICE will
cause post scriptlet fail as:
Failed to start org.cups.cups-lpd@.service: Unit name org.cups.cups-lpd@.service is missing the instance name.
See system logs and 'systemctl status org.cups.cups-lpd@.service' for details.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinitramfs-framework: check successful mount using mountpoint
Stefan Agner [Wed, 3 Jun 2020 19:50:11 +0000 (19:50 +0000)]
initramfs-framework: check successful mount using mountpoint

Instead of checking for existence of /dev in the mounted file system use
mountpoint to check if a root file system has been mounted. This allows
to use the rootfs module for OSTree based rootfs as well, where the file
system rootfs does not have any of the regular directories (at least
when using the modern layout).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: move ld.so.conf back to main package
Rasmus Villemoes [Tue, 2 Jun 2020 12:17:22 +0000 (14:17 +0200)]
glibc: move ld.so.conf back to main package

There are cases where one doesn't want ldconfig on target (e.g. for
read-only root filesystems, it's rather pointless), yet one still
needs ld.so.conf to be present at image build time:

When some recipe installs libraries to a non-standard location, and
dutifully drops in a file in /etc/ld.so.conf.d/foo.conf, we need the
ld.so.conf containing the

  include /etc/ld.so.conf.d/*.conf

stanza to get those other locations picked up.

So change the packaging logic so that there's always an ld.so.conf
present when the build-time ldconfig runs.

The ld.so.conf and ld.so.conf.d/*.conf files don't take up much
room (at least not compared to the 700K binary ldconfig), and they
might be needed in case ldconfig is installable, so leave them
alone.

In case of a read-only rootfs, one could add some logic to remove them
if one really wants to shave those few dozens of bytes off.

While here, fix typos in the bb.note (add spaces) so one can just
copy-paste the line from the log-file and redo the command.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-selftest: Recursively patch test case paths
Paul Barker [Wed, 3 Jun 2020 20:07:38 +0000 (21:07 +0100)]
oe-selftest: Recursively patch test case paths

This ensures that builddir is updated correctly to point to the new
selftest build directory when we're given a list of test suites instead
of a list of test cases.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-selftest: Support verbose log output
Paul Barker [Wed, 3 Jun 2020 20:07:37 +0000 (21:07 +0100)]
oe-selftest: Support verbose log output

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooe-selftest: Allow overriding the build directory used for tests
Paul Barker [Wed, 3 Jun 2020 20:07:36 +0000 (21:07 +0100)]
oe-selftest: Allow overriding the build directory used for tests

This may be useful if the parent directory of the original builddir is
not writable, on a lower performance drive, etc.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarchiver: Fix test case for srpm archiver mode
Paul Barker [Wed, 3 Jun 2020 20:03:48 +0000 (21:03 +0100)]
archiver: Fix test case for srpm archiver mode

We can't assume that rpm packaging will always be enabled when running
oe-selftest. In particular when using nodistro instead of poky this is
not enabled by default.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: introduce UBOOT_INITIAL_ENV
Ming Liu [Wed, 3 Jun 2020 11:48:38 +0000 (13:48 +0200)]
u-boot: introduce UBOOT_INITIAL_ENV

It defaults to ${PN}-initial-env, no functional changes with current
implementation, but this allows it to be changed in individual u-boot
recipes.

If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".

The major purpose for introducing this, is that the users might have
some scripts on targets like:
```
/sbin/fw_setenv -f /etc/u-boot-initial-env
```

and it should be able to run against a identical path generated by
different u-boot recipes.

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot.inc: fix some inconsistent coding style
Ming Liu [Wed, 3 Jun 2020 11:48:37 +0000 (13:48 +0200)]
u-boot.inc: fix some inconsistent coding style

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosecurity_flags: Remove stack protector flag from LDFLAGS
Junling Zheng [Wed, 3 Jun 2020 14:08:41 +0000 (22:08 +0800)]
security_flags: Remove stack protector flag from LDFLAGS

SECURITY_LDFLAGS contains stack protector flag inappropriately, which
has already be contained in SECURITY_CFLAGS. Let's remove it from
SECURITY_LDFLAGS.

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopatchelf: Add patch to address corrupt shared library issue
Richard Purdie [Wed, 3 Jun 2020 13:24:59 +0000 (14:24 +0100)]
patchelf: Add patch to address corrupt shared library issue

patchelf can corrupt shared libraries if the program headers don't
immediately follow the elf header. Add a patch submitted upstream
to address this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodbus-test: upgrade 1.12.16 -> 1.12.18
Wang Mingyu [Wed, 3 Jun 2020 10:53:20 +0000 (18:53 +0800)]
dbus-test: upgrade 1.12.16 -> 1.12.18

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: upgrade 3.15.0 -> 3.16.0
Wang Mingyu [Wed, 3 Jun 2020 10:52:01 +0000 (18:52 +0800)]
valgrind: upgrade 3.15.0 -> 3.16.0

0001-gcc10-arm64-build-needs-__getauxval-for-linking-with.patch
0001-tests-Make-pthread_detatch-call-portable-across-plat.patch
0004-pth_atfork1.c-Define-error-API-for-musl.patch
removed since they are included in 3.16.0

refresh 0004-Fix-out-of-tree-builds.patch

-License-Update:
before:
   You should have received a copy of the GNU General Public
   License along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307, USA.
after:
   You should have received a copy of the GNU General Public License
   along with this program; if not, see <http://www.gnu.org/licenses/>.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite: upgrade 3.31.1 -> 3.32.1
Wang Mingyu [Wed, 3 Jun 2020 10:52:00 +0000 (18:52 +0800)]
sqlite: upgrade 3.31.1 -> 3.32.1

CVE-2020-11655.patch
CVE-2020-11656.patch
CVE-2020-9327.patch
removed since they are included in 3.32.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibyaml: upgrade 0.2.4 -> 0.2.5
Wang Mingyu [Wed, 3 Jun 2020 10:51:59 +0000 (18:51 +0800)]
libyaml: upgrade 0.2.4 -> 0.2.5

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodbus: upgrade 1.12.16 -> 1.12.18
Wang Mingyu [Wed, 3 Jun 2020 10:51:58 +0000 (18:51 +0800)]
dbus: upgrade 1.12.16 -> 1.12.18

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoca-certificates: upgrade 20190110 -> 20200601
Wang Mingyu [Wed, 3 Jun 2020 10:51:57 +0000 (18:51 +0800)]
ca-certificates: upgrade 20190110 -> 20200601

-License-Update: format changed

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-networking: 2.64.2 -> 2.64.3
Lee Chee Yang [Tue, 2 Jun 2020 12:26:14 +0000 (20:26 +0800)]
glib-networking: 2.64.2 -> 2.64.3

update to 2.64.3 which include fix for CVE-2020-13645, see:
https://gitlab.gnome.org/GNOME/glib-networking/-/issues/135

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>