]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agopiglit: upgrade to latest revision
Ross Burton [Thu, 19 Dec 2019 12:46:25 +0000 (12:46 +0000)]
piglit: upgrade to latest revision

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agofribidi: upgrade 1.0.7 -> 1.0.8
Ross Burton [Thu, 19 Dec 2019 12:44:59 +0000 (12:44 +0000)]
fribidi: upgrade 1.0.7 -> 1.0.8

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibical: upgrade 3.0.6 -> 3.0.7
Ross Burton [Thu, 19 Dec 2019 12:44:27 +0000 (12:44 +0000)]
libical: upgrade 3.0.6 -> 3.0.7

License-Update: URL updated.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibtasn1: upgrade 4.14 -> 4.15.0
Anuj Mittal [Thu, 19 Dec 2019 05:41:08 +0000 (13:41 +0800)]
libtasn1: upgrade 4.14 -> 4.15.0

Remove backported patches and explicitly pass -std=gnu99 to native CFLAGS
to make sure build passes on older and still supported OSes like CentOS 7.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agommc-utils: upgrade to latest revision
Anuj Mittal [Thu, 19 Dec 2019 05:41:07 +0000 (13:41 +0800)]
mmc-utils: upgrade to latest revision

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agostress-ng: upgrade 0.10.11 -> 0.10.13
Anuj Mittal [Thu, 19 Dec 2019 05:41:06 +0000 (13:41 +0800)]
stress-ng: upgrade 0.10.11 -> 0.10.13

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibsolv: upgrade 0.7.8 -> 0.7.10
Anuj Mittal [Thu, 19 Dec 2019 05:41:05 +0000 (13:41 +0800)]
libsolv: upgrade 0.7.8 -> 0.7.10

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agovte: upgrade 0.58.2 -> 0.58.3
Anuj Mittal [Thu, 19 Dec 2019 05:41:03 +0000 (13:41 +0800)]
vte: upgrade 0.58.2 -> 0.58.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopkg: upgrade to version 0.4.2
Alejandro del Castillo [Wed, 18 Dec 2019 14:00:28 +0000 (14:00 +0000)]
opkg: upgrade to version 0.4.2

- Drop open_inner.patch
- Drop opkg_archive.patch
- Remove "remove_test_binaries" function

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoopkg-utils: upgrade to version 0.4.2
Alejandro del Castillo [Wed, 18 Dec 2019 00:16:08 +0000 (18:16 -0600)]
opkg-utils: upgrade to version 0.4.2

- Drop 00001-Switch-all-scripts-to-use-Python-3.x.patch
- Drop 00001-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch
- Drop pipefail.patch

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoxorgproto: merge .inc
Ross Burton [Fri, 13 Dec 2019 12:07:40 +0000 (12:07 +0000)]
xorgproto: merge .inc

This inc file isn't used anymore since the X.org protocol packages
merged into xorgproto.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agochrpath: do less work
Ross Burton [Thu, 12 Dec 2019 13:13:55 +0000 (13:13 +0000)]
chrpath: do less work

Instead of trying to change the RPATH in every file under the binary
directories, check that the file is an ELF first.

This means that we don't attempt to change the RPATH on the entire
Python standard library, for example.

Also return early if the directory to iterate doesn't exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodistutils3: do out of tree builds
Ross Burton [Tue, 10 Dec 2019 13:42:06 +0000 (13:42 +0000)]
distutils3: do out of tree builds

Pass --build-base so the build tree is a location we specify, which we
can ensure is empty when building.

This means we can stub out do_configure entirely and use cleandirs
instead.

When installing we need to tell it to do a build so that we can pass
--build-base, so also pass --skip-build to avoid the potential rebuild.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodistutils3: remove unused variable
Ross Burton [Tue, 10 Dec 2019 21:17:01 +0000 (21:17 +0000)]
distutils3: remove unused variable

This variable isn't used by the build task, despite it's name.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agodistutils3: remove unused stage tasks
Ross Burton [Tue, 10 Dec 2019 13:37:09 +0000 (13:37 +0000)]
distutils3: remove unused stage tasks

These staging tasks haven't been used since ~2010, so remove them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoscripts: add pkgdataui
Ross Burton [Tue, 14 Mar 2017 10:26:16 +0000 (10:26 +0000)]
scripts: add pkgdataui

pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata
database at your leisure.  By being graphical it is easier to explore and can
follow links between packages.

This is very much a work in progress, so be gentle and patches are welcome.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agokernel-devsrc: fix error with old (<4.2) x86 kernels
Peter Bergin [Thu, 28 Nov 2019 06:14:24 +0000 (07:14 +0100)]
kernel-devsrc: fix error with old (<4.2) x86 kernels

When using kernel-devsrc for older kernels do_install fails with:

| cp: failed to get attributes of 'arch/x86/entry': No such file or directory

In the Linux kernel commit 1f57d5d85
"x86/asm/entry: Move the arch/x86/syscalls/ definitions to arch/x86/entry/syscalls/"
moved some files copied in the kernel-devsrc recipe. Commit 1f57d5d85 was added in
v4.2.

To be able to use kernel-devsrc for kernels older than v4.2 this commit make use of find
for the files that shall be copied.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoinsane: don't use cachedpath
Ross Burton [Thu, 5 Dec 2019 21:17:27 +0000 (21:17 +0000)]
insane: don't use cachedpath

Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk.  In
this codepath there is no point to using cachedpath.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agorootfs: don't use oe.cachedpath
Ross Burton [Thu, 5 Dec 2019 21:12:52 +0000 (21:12 +0000)]
rootfs: don't use oe.cachedpath

Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk.  In
this codepath there is no point to using cachedpath.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agotune-cortexa72-cortexa53: Add tunes
Joshua Watt [Sat, 14 Dec 2019 16:06:22 +0000 (10:06 -0600)]
tune-cortexa72-cortexa53: Add tunes

Adds tunes for Cortex-A72 Cortex-A53 big.LITTLE SoCs (with and without
crypto extensions), e.g. Rockchip RK3399

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd-bootchart: Add mips64 tuples
Khem Raj [Tue, 17 Dec 2019 03:47:07 +0000 (19:47 -0800)]
systemd-bootchart: Add mips64 tuples

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agognutls: upgrade 3.6.8 -> 3.6.11.1
Alex Kiernan [Tue, 17 Dec 2019 05:26:19 +0000 (05:26 +0000)]
gnutls: upgrade 3.6.8 -> 3.6.11.1

Drop patch from 81485be19b18 ("gnutls: don't use HOSTTOOLS_DIR/bash as a
shell on target") as upstream now honours POSIX_SHELL when set as the
primary target shell.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoeudev: upgrade 3.2.8 -> 3.2.9
Anuj Mittal [Mon, 18 Nov 2019 08:51:45 +0000 (16:51 +0800)]
eudev: upgrade 3.2.8 -> 3.2.9

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocve-check: fail gracefully when file not found
Armin Kuster [Wed, 11 Dec 2019 16:16:04 +0000 (08:16 -0800)]
cve-check: fail gracefully when file not found

With out these changes, a traceback displayed when a file
is listed in the SRC_URI but the file does not exist.

raise FileNotFoundError and print the patch then mark the task as failed.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoassimp: fix search library failed on multilib
Hongxu Jia [Fri, 13 Dec 2019 06:28:58 +0000 (14:28 +0800)]
assimp: fix search library failed on multilib

While multilib enabled, it builds vulkan-demos failed
...
|CMake Error at tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/
recipe-sysroot/usr/lib64/cmake/assimp-5.0/assimpTargets.cmake:85 (message):
|  The imported target "assimp::assimp" references the file
|     "tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5"
|  but this file does not exist.  Possible reasons include:
...

Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than
hardcoded `/lib' to search library

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosed: add PACKAGECONFIG for selinux
Martin Jansa [Tue, 10 Dec 2019 12:08:31 +0000 (13:08 +0100)]
sed: add PACKAGECONFIG for selinux

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobitbake.conf: add number_threads to BB_SIGNATURE_EXCLUDE_FLAGS
Chris Laplante via Openembedded-core [Tue, 10 Dec 2019 19:05:29 +0000 (14:05 -0500)]
bitbake.conf: add number_threads to BB_SIGNATURE_EXCLUDE_FLAGS

Just as BB_NUMBER_THREADS is in BB_HASHCONFIG_WHITELIST.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibepoxy: upgrade 1.5.3 -> 1.5.4
Wang Mingyu [Wed, 11 Dec 2019 07:27:36 +0000 (23:27 -0800)]
libepoxy: upgrade 1.5.3 -> 1.5.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibpng: Correct SRC_URI path
Khem Raj [Wed, 11 Dec 2019 04:06:00 +0000 (20:06 -0800)]
libpng: Correct SRC_URI path

Fixes fetcher warning
WARNING: libpng-1.6.37-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.xz, attempting MIRRORS if available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogo: upgrade 1.13.3 -> 1.13.5
Tim Orling [Wed, 11 Dec 2019 01:01:35 +0000 (17:01 -0800)]
go: upgrade 1.13.3 -> 1.13.5

go1.13.4 (released 2019/10/31) includes fixes to the net/http and syscall
packages. It also fixes an issue on macOS 10.15 Catalina where the non-
notarized installer and binaries were being rejected by Gatekeeper.
See the Go 1.13.4 milestone on our issue tracker for details.

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

go1.13.5 (released 2019/12/04) includes fixes to the go command, the runtime,
the linker, and the net/http package. See the Go 1.13.5 milestone on our issue
tracker for details.

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

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooe-run-native: fix typo
Ross Burton [Tue, 10 Dec 2019 12:38:56 +0000 (12:38 +0000)]
oe-run-native: fix typo

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd: Rename the files instead of using PV
Adrian Bunk [Mon, 9 Dec 2019 14:44:01 +0000 (16:44 +0200)]
systemd: Rename the files instead of using PV

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibpam: consolidate a patch to a patch
Ross Burton [Tue, 10 Dec 2019 10:52:03 +0000 (10:52 +0000)]
libpam: consolidate a patch to a patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocross-localedef: Re-arrange patches
Khem Raj [Sat, 7 Dec 2019 18:40:41 +0000 (10:40 -0800)]
cross-localedef: Re-arrange patches

Patches are currently, crossing across repo boundaries, between glibc
and localedef, therefore it is better to divide the patches
accordiningly, with this patchset makery patch is spun out since that
applies to localedef alone.

There are no other code changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agonetbase: upgrade 5.7 -> 5.8
Wang Mingyu [Mon, 9 Dec 2019 14:59:59 +0000 (06:59 -0800)]
netbase: upgrade 5.7 -> 5.8

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: Fix vc4 build for 64bit time_t changes on 32bit arches
Khem Raj [Wed, 4 Dec 2019 22:48:45 +0000 (14:48 -0800)]
mesa: Fix vc4 build for 64bit time_t changes on 32bit arches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa/selftest/package: mark string as raw
Ross Burton [Wed, 4 Dec 2019 21:58:56 +0000 (21:58 +0000)]
oeqa/selftest/package: mark string as raw

This regex uses \ so is actually parsed incorrectly, mark it up as a raw
string.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd-compat-units: this recipe doesn't need a compiler
Ross Burton [Wed, 4 Dec 2019 17:11:03 +0000 (17:11 +0000)]
systemd-compat-units: this recipe doesn't need a compiler

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agooeqa: reproducible: Test core-image-sato and core-image-full-cmdline
Joshua Watt [Tue, 17 Dec 2019 20:36:23 +0000 (14:36 -0600)]
oeqa: reproducible: Test core-image-sato and core-image-full-cmdline

Adds core-image-sato and core-image-full-cmdline to the list of images
that the reproducible build test builds.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemtap: fix builds with newer gettext
Alexander Kanavin [Tue, 17 Dec 2019 16:00:12 +0000 (17:00 +0100)]
systemtap: fix builds with newer gettext

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysklogd: Fix 2.0.3 upgrade fallouts on musl
Khem Raj [Thu, 12 Dec 2019 18:14:17 +0000 (19:14 +0100)]
sysklogd: Fix 2.0.3 upgrade fallouts on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysklogd: update to 2.0.3
Alexander Kanavin [Thu, 12 Dec 2019 18:14:15 +0000 (19:14 +0100)]
sysklogd: update to 2.0.3

Drop all patches as they are no longer necessary with autotools,
fix problems that are addressed upstream, or (in case of no-vectorization.patch)
don't apply to the old version either, which means no one is using that hw target
anymore.

Remove custom systemd configs (provided by upstream), and custom
syslog config (also provided by upstream but not installed by default).

Adjust parselogs to not error out on not being able to find
System.map file during boot (that is packaged into kernel-dev
and is not normally installed).

License-Update: various tweaks; the license terms are the same.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopodfix: only alter normal files
Ross Burton [Mon, 16 Dec 2019 11:24:02 +0000 (11:24 +0000)]
podfix: only alter normal files

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoincompatible_lic.py: Add tests for incompatible licenses with wildcards
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:20 +0000 (17:48 +0100)]
incompatible_lic.py: Add tests for incompatible licenses with wildcards

Suggested-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense_image.bbclass: Report only the licenses that are incompatible
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:19 +0000 (17:48 +0100)]
license_image.bbclass: Report only the licenses that are incompatible

Instead of reporting ${LICENSE} when a package cannot be installed
into an image because it is using an incompatible license, report the
license(s) that are actually incompatible.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage.bbclass: Report only the licenses that are incompatible
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:18 +0000 (17:48 +0100)]
package.bbclass: Report only the licenses that are incompatible

When excluding a package from being packaged due to incompatible
licenses, report the license(s) that are actually incompatible.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase.bbclass: Report only the licenses that are incompatible for a package
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:17 +0000 (17:48 +0100)]
base.bbclass: Report only the licenses that are incompatible for a package

Instead of reporting ${LICENSE} when a package is identified as using
an incompatible license, report the license(s) that are actually
incompatible.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase.bbclass: Simplify the check for whitelisted licenses
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:16 +0000 (17:48 +0100)]
base.bbclass: Simplify the check for whitelisted licenses

After a number of rewrites, the code checking if a package has been
whitelisted for an incompatible license was calculating the
whitelisted packages twice (as 'whitelist' and as 'incompatwl').

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense.bbclass: Make incompatible_pkg_license return incompatible lics
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:15 +0000 (17:48 +0100)]
license.bbclass: Make incompatible_pkg_license return incompatible lics

This makes it possible to report the incompatible licenses.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicenses.conf: Remove the SRC_DISTRIBUTE_LICENSES variable
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:14 +0000 (17:48 +0100)]
licenses.conf: Remove the SRC_DISTRIBUTE_LICENSES variable

The SRC_DISTRIBUTE_LICENSES variable and its static list of licenses
has been replaced by AVAILABLE_LICENSES, which automatically contains
all available licenses.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolicense.bbclass: Introduce AVAILABLE_LICENSES that lists all licenses
Peter Kjellerstedt [Wed, 11 Dec 2019 16:48:13 +0000 (17:48 +0100)]
license.bbclass: Introduce AVAILABLE_LICENSES that lists all licenses

Previously, there was SRC_DISTRIBUTE_LICENSES, an undocumented
variable that contained a static list of licenses. It was used by
expand_wildcard_licenses() to expand any wildcards used in, e.g.,
INCOMPATIBLE_LICENSE. However, since this static list of licenses has
not been kept up-to-date, many licenses were missing, with the result
that if one tried to use any of those licenses with a wildcard, no
licenses would be found, effectively ignoring that they should be
marked as incompatible.

This introduces a new (documented) variable, AVAILABLE_LICENSES, that
is automatically updated to contain all licenses found in any
directories specified by ${COMMON_LICENSE_DIR} and ${LICENSE_PATH},
and uses it instead of SRC_DISTRIBUTE_LICENSES when expanding
wildcards.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa.inc: allow the user to choose the build type
Trevor Woerner [Wed, 11 Dec 2019 17:23:34 +0000 (12:23 -0500)]
mesa.inc: allow the user to choose the build type

Upstream mesa can either be built as a debug release (the default) or a
production release. This patch allows the user to choose which one they
want by setting MESA_BUILD_TYPE to either 'production' or 'debug' as
they see fit. Under OpenEmbedded a production build will be performed by
default.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson.bbclass: allow buildtype to be changed
Trevor Woerner [Wed, 11 Dec 2019 17:08:18 +0000 (12:08 -0500)]
meson.bbclass: allow buildtype to be changed

Some upstream projects are employing the buildtype parameter so users
can create, say, "production" versus "debug" builds. Therefore create a
configurable parameter so recipes/users can tweak it.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocmake: 3.15.5 -> 3.16.1
Pascal Bach [Thu, 12 Dec 2019 08:25:07 +0000 (09:25 +0100)]
cmake: 3.15.5 -> 3.16.1

Patches have been refreshed and all of meta-oe and oe-core was sucessfully built.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcl: upgrade 8.6.9 -> 8.6.10
Yi Zhao [Thu, 12 Dec 2019 05:55:32 +0000 (13:55 +0800)]
tcl: upgrade 8.6.9 -> 8.6.10

Refresh patches:
  alter-includedir.patch
  tcl-remove-hardcoded-install-path.patch

Backport a patch to fix tk build failure with cross compile:
  0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
See:
https://core.tcl-lang.org/tk/tktview/abd4abedd2f01c12839f0ad94564ae31137f7af5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssl: fix CVE-2019-1551
Anuj Mittal [Thu, 12 Dec 2019 01:50:54 +0000 (09:50 +0800)]
openssl: fix CVE-2019-1551

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: fix CVE-2019-19725
Anuj Mittal [Wed, 11 Dec 2019 23:10:42 +0000 (07:10 +0800)]
sysstat: fix CVE-2019-19725

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/apt dnf opkg: support running from within docker container
André Draszik [Thu, 12 Dec 2019 21:52:12 +0000 (21:52 +0000)]
oeqa/runtime/apt dnf opkg: support running from within docker container

If the user specified an http port to use for serving
files, use that instead of a random one. At the same
time, have the http server bind to all interfaces.

Binding to the server_ip might not always be possible,
e.g. in the case of running bitbake / oeqa from within
a docker container. In this case, the ip address is valid
outside the container, but not inside, and hence can't
be bound to. So switch to simply binding to all interfaces.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/target/ssh oeqa/target/qemu: expose server listening port to tests
André Draszik [Thu, 12 Dec 2019 21:52:11 +0000 (21:52 +0000)]
oeqa/target/ssh oeqa/target/qemu: expose server listening port to tests

Allow tests to access the listening port as just introduced.
Note that when using qemu this infrastructure shouldn't be
needed, but we still need to set the port to 0 so that
a listening port is determined automatically (e.g. by the
python http server).

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/context.py: support listening port in TEST_SERVER_IP
André Draszik [Thu, 12 Dec 2019 21:52:10 +0000 (21:52 +0000)]
oeqa/runtime/context.py: support listening port in TEST_SERVER_IP

Similar to the existing possibility to specify a port in
TEST_TARGET_IP, allow TEST_SERVER_IP to also contain a
port.

The intention is for this port to be passed into e.g.
the http server from the apt / dnf / opkg tests, or
any other (custom) tests that might need the target to
connect to a service spawned by bitbake / oeqa, where
bitbake is actually running inside a docker container.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/utils/httpserver: allow to pass in listening port
André Draszik [Thu, 12 Dec 2019 21:52:09 +0000 (21:52 +0000)]
oeqa/utils/httpserver: allow to pass in listening port

Being able to specify the listening port is useful when
running OEQA from within a docker container, e.g.
crops or any other solution.
In that case, a port on the outside must be mapped to a
specific port inside the container. If no port is specified
for the http server module in this case, the http server
would choose a random port, which is unlikely to be mapped
and thus won't be reachable from the outside.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoconnman: update kernel module RRECOMMENDS for kernel >= v4.19
André Draszik [Thu, 12 Dec 2019 21:41:58 +0000 (21:41 +0000)]
connman: update kernel module RRECOMMENDS for kernel >= v4.19

nf_tables_inet.ko and nf_tables_ipv4.ko and nf_tables_ipv6.o
(and nf_tables_arp.ko and nf_tables_netdev.ko) were merged into
the core nf_tables.ko before v4.17 in kernel commit
    02c7b25e5f54 netfilter: nf_tables: build-in filter chain type

nf_meta.ko was merged to be a builtin of nf_tables.ko before
v4.18 in kernel commit
    8a22543c8e70 netfilter: nf_tables: make meta expression builtin

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoe2fsprogs: split dumpe2fs into its own package
André Draszik [Thu, 12 Dec 2019 21:41:40 +0000 (21:41 +0000)]
e2fsprogs: split dumpe2fs into its own package

This is a mere 24KB (on 32bit arm), avoiding to pull in
all of the remainder +300KB in small initramfs images
when not needed.
Add this new package to RDEPENDS of e2fsprogs so as to
not break existing users.

Also, remove a stale reference to the non-existent
e2fsprogs-fsck package which was removed in 2012 from here
in commit 98b1b9f047ef ("e2fsprogs: Drop fsck binary"),
commit 93d647172786 in poky, and sort some of the lists
alphabetically.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd-systemctl: Fix handling of aliased targets
Slavic Brutalik [Thu, 12 Dec 2019 22:30:54 +0000 (00:30 +0200)]
systemd-systemctl: Fix handling of aliased targets

The script scans for services, parses them and makes sure those targets are still
there. The exists file check fails if the target is an alias, such as default.target
so add an additional test.

[YOCTO #13685]

Signed-off-by: Werner Grift <sky.captin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-modules: fix NULL pointer deference error when testing rpc_task_running
Quanyang Wang [Fri, 13 Dec 2019 06:19:52 +0000 (14:19 +0800)]
lttng-modules: fix NULL pointer deference error when testing rpc_task_running

This is a backport from upstream https://github.com/lttng/lttng-modules.git stable-2.10
to fix NULL pointer deference error when running kts testcase lttng_syscall_events.

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogit: upgrade 2.24.0 -> 2.24.1
Anuj Mittal [Fri, 13 Dec 2019 02:31:27 +0000 (10:31 +0800)]
git: upgrade 2.24.0 -> 2.24.1

Fixes a bunch of CVEs:
https://github.com/git/git/commit/53a06cf39b756eddfe4a2a34da93e3d04eb7b728

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosudo: update to 1.8.29
Alexander Kanavin [Thu, 12 Dec 2019 18:14:34 +0000 (19:14 +0100)]
sudo: update to 1.8.29

License-Update: added SPDX info.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocpio: update to 2.13
Alexander Kanavin [Thu, 12 Dec 2019 18:14:33 +0000 (19:14 +0100)]
cpio: update to 2.13

Drop a couple of backports.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-db: update to 2.9.0
Alexander Kanavin [Thu, 12 Dec 2019 18:14:31 +0000 (19:14 +0100)]
man-db: update to 2.9.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoman-pages: update to 5.04
Alexander Kanavin [Thu, 12 Dec 2019 18:14:30 +0000 (19:14 +0100)]
man-pages: update to 5.04

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoparted: update 3.2->3.3
Alexander Kanavin [Thu, 12 Dec 2019 18:14:24 +0000 (19:14 +0100)]
parted: update 3.2->3.3

0001-Unset-need_charset_alias-when-building-for-musl.patch is no longer
necessary as upstream has removed the code.

dm_check.patch is replaced with 0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch

Rework ptests, in particular remove the generated Makefile
from the layer, and use the upstream Makefile.

Ptest pass rate is 100%.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml2: update to 2.9.10
Alexander Kanavin [Thu, 12 Dec 2019 18:14:23 +0000 (19:14 +0100)]
libxml2: update to 2.9.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglide: update to 0.13.3
Alexander Kanavin [Thu, 12 Dec 2019 18:14:20 +0000 (19:14 +0100)]
glide: update to 0.13.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopuzzles: update to latest revision
Alexander Kanavin [Thu, 12 Dec 2019 18:14:19 +0000 (19:14 +0100)]
puzzles: update to latest revision

Remove 0001-Use-labs-instead-of-abs.patch as problem is fixed upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodos2unix: update to 7.4.1
Alexander Kanavin [Thu, 12 Dec 2019 18:14:18 +0000 (19:14 +0100)]
dos2unix: update to 7.4.1

License-Update: copyright years
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Further optimise
Richard Purdie [Sun, 15 Dec 2019 17:44:35 +0000 (17:44 +0000)]
sstatesig: Further optimise

Optimise the call into the parent function to be only when needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscripts/oe-build-perf-test: Use python3 from the environment
Richard Purdie [Sun, 15 Dec 2019 00:22:51 +0000 (00:22 +0000)]
scripts/oe-build-perf-test: Use python3 from the environment

On test machines we have python3 available at alternative locations. Use
these rather from the evnrionment rather than a hardcoded path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Optimise get_taskhash for hashequiv
Richard Purdie [Sat, 14 Dec 2019 12:51:24 +0000 (12:51 +0000)]
sstatesig: Optimise get_taskhash for hashequiv

With hashequiv the get_taskhash function is called much more regularly
and contains expensive operations. This these don't change based upon
hash in a given build, improve the caching within the function to
reduce overhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoconf/machine/x86-base: use wic instead of live
Ross Burton [Wed, 27 Nov 2019 13:30:47 +0000 (13:30 +0000)]
conf/machine/x86-base: use wic instead of live

Use wic instead of the live/hddimg filesystem type for x86 machines, as it
produces better filesystems and doesn't have a hard limit of 4GB.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildstats: Replace 'is' with '==' in python condition check expression
Khem Raj [Sun, 8 Dec 2019 21:42:11 +0000 (13:42 -0800)]
buildstats: Replace 'is' with '==' in python condition check expression

python 3.8 has started to throw this as a warning but usage is wrong see
[1], it seems to be working by accident and not design.

Fixes
SyntaxWarning: "is" with a literal. Did you mean "=="?

[1]: https://bugs.python.org/issue34850

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibjpeg-turbo: Build reproducibly
Joshua Watt [Mon, 9 Dec 2019 04:03:12 +0000 (22:03 -0600)]
libjpeg-turbo: Build reproducibly

Configures the options passed to nasm to remove build paths in the
generated object files.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonasm: Add debug-prefix-map option
Joshua Watt [Mon, 9 Dec 2019 04:03:11 +0000 (22:03 -0600)]
nasm: Add debug-prefix-map option

Adds an option to nasm to change the prefix for file paths encoded in
the object files. This allows builds to be reproducible regardless of
the build directory.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRevert "go: Reset unneeded GOARCH variables for native recipe"
Khem Raj [Fri, 13 Dec 2019 21:15:02 +0000 (13:15 -0800)]
Revert "go: Reset unneeded GOARCH variables for native recipe"

This reverts commit 4825eede606b075d0d529b38d6162999f1dec506.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogoarch: Remove target specific dependencies
Khem Raj [Fri, 13 Dec 2019 21:15:01 +0000 (13:15 -0800)]
goarch: Remove target specific dependencies

goarch is used in all classes of recipes ranging from native to target,
therefore its best to contain the variables and not spill over into
recipe classes where they can adversely affect shared state reuse e.g.
go-native currently gets TUNE_FEATURES into dependency chain of
referenced variables which means go-native gets rebuilt when we change
from qemuarm to qemux86 machine types since TUNE_FEATURES is defined
with DEFAULTTUNE which would change as machines are switched

These variables are specific to arm/mips/x86 so marking them with
appropriate overrides for native recipes will be right thing here

Chose 'hardfloat' for mips which is default too, 7 for arm and sse2 for x86
somehow go-native bootstrap compiler (1.4) still needs them so feed
commonly used values or defaults.

Fixes
ERROR: go-native different signature for task do_configure.sigdata between qemux86copy and qemuarm
...
List of dependencies for variable TUNE_FEATURES changed from '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-core2-32'}' to '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-armv7vethf-neon'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocronie:fix SRC_URI path
Stefano Babic [Fri, 13 Dec 2019 15:34:11 +0000 (16:34 +0100)]
cronie:fix SRC_URI path

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: disable debug output in ptests
Alexander Kanavin [Thu, 12 Dec 2019 18:14:22 +0000 (19:14 +0100)]
bluez5: disable debug output in ptests

This makes the log very large and breaks the ptest result
parser.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez: update 5.50 -> 5.52
Alexander Kanavin [Thu, 12 Dec 2019 18:14:21 +0000 (19:14 +0100)]
bluez: update 5.50 -> 5.52

Drop a big pile of backports.

Disable zsh completions, as they're unlikely to be useful.

(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokbd: avoid vlock conflict with busybox
Hongxu Jia [Sat, 14 Dec 2019 03:59:08 +0000 (11:59 +0800)]
kbd: avoid vlock conflict with busybox

busybox as well as vlock utility from meta-oe provides vlock utility
which can conflict when with kbd if pam is a enabled distro_feature

Fixes image build errors

update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to /bin/busybox.suid since <rootfs>/usr/bin/vlock exists and is not a link

ERROR: yoe-qt5-wayland-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
The vlock doesn't exist if PAM isn't enabled.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoreproducible_build_simple: inherit podfix
Ross Burton [Fri, 13 Dec 2019 23:21:56 +0000 (23:21 +0000)]
reproducible_build_simple: inherit podfix

When doing reproducible builds inherit podfix to remove the possibility
of differing Perl versions causing manpages to change.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopodfix: class to remove Pod::Man versions from manpages
Ross Burton [Fri, 13 Dec 2019 23:21:55 +0000 (23:21 +0000)]
podfix: class to remove Pod::Man versions from manpages

Manpages generated by Pod::Man contain the version number, which isn't
reproducible if we're using the host Perl to generate manpage.

One option is to always depend on perl-native when generating manpages
but this is a heavy dependency, so instead strip out the versions in
do_install().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: handle tap device creation failure properly
Paul Eggleton [Mon, 9 Dec 2019 10:59:09 +0000 (23:59 +1300)]
runqemu: handle tap device creation failure properly

If we fail to run the command to generate the tap devices then we should
show a reasonable message and then exit, without showing a traceback.
"return 1" at this point in the code does nothing because the caller
doesn't check the return, so just use sys.exit().

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: log parameters correctly within testimage
Paul Eggleton [Mon, 9 Dec 2019 10:59:08 +0000 (23:59 +1300)]
runqemu: log parameters correctly within testimage

It is not a good idea to mix logging and calls to print() - if the
output is being captured the result can be that the two types of output
are not recorded contiguously; this could be observed if an error
occurred running runqemu from inside testimage:

---------- snip ----------
ERROR: core-image-minimal-1.0-r0 do_testimage: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:

runqemu - INFO - Setting up tap interface under sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
runqemu - ERROR - Setting up tap device failed:
Command '('sudo', '/home/paul/poky/poky/scripts/runqemu-ifup', '1000', '1000', '/home/paul/poky/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1.
Run runqemu-gen-tapdevs to manually create one.
runqemu - INFO - Cleaning up
KERNEL: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.2.20+git0+bd0762cd13_dd25a04fc5-r0-qemux86-64-20191205213021.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4]
CONFFILE: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf]
---------- snip ----------

What we should see here is the KERNEL, MACHINE, etc. lines appearing
immediately after the "Continuing with the following parameters:" line
as they do when you run runqemu directly. If we put all of the lines
through the logger instead then it works properly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: qemu: ensure we print runqemu output in the event of failure
Paul Eggleton [Mon, 9 Dec 2019 10:59:07 +0000 (23:59 +1300)]
oeqa: qemu: ensure we print runqemu output in the event of failure

If we get here in the code it's because runqemu has failed, this is not
a debug situation - we need to see the output, so print it as an error.

Fixes [YOCTO #13681].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: qemu: fix width of top output in host dump
Paul Eggleton [Mon, 9 Dec 2019 10:59:06 +0000 (23:59 +1300)]
oeqa: qemu: fix width of top output in host dump

If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). One of
those commands is "top -bn1", however top restricts the output to the
width of the calling terminal, and for whatever reason this is a little
restrictive when called from inside testimage, so set COLUMNS in the
environment to a high value to fix it. (Another way is to use the -w
option, but that is not supported by our default busybox configuration
so it will then fail when this same list of commands is used on the
target).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: qemu: ensure that host dump commands can be run properly
Paul Eggleton [Mon, 9 Dec 2019 10:59:05 +0000 (23:59 +1300)]
oeqa: qemu: ensure that host dump commands can be run properly

If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). However,
when we try to run these we are inside the normal build environment
which restricts commands to be run on the host to those specified in
HOSTTOOLS. Since this isn't a place where host contamination is going to
be a problem, override PATH to a reasonable default so that we run the
actual host tools directly to avoid the issue. (Logically we would want
to use the original PATH value here, but it is not easily accessible.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 12 Dec 2019 14:21:40 +0000 (14:21 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 12 Dec 2019 13:15:09 +0000 (13:15 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 11 Dec 2019 11:59:49 +0000 (11:59 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Ensure mkdir happens before mktemp
Richard Purdie [Wed, 11 Dec 2019 11:59:14 +0000 (11:59 +0000)]
sstate: Ensure mkdir happens before mktemp

This avoids a directory not present error.

Fix a comment typo whilst here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 11 Dec 2019 10:09:44 +0000 (10:09 +0000)]
build-appliance-image: Update to master head revision

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