]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agosstate: Improve SSTATE_PKG handling
Richard Purdie [Wed, 11 Dec 2019 12:06:54 +0000 (12:06 +0000)]
sstate: Improve SSTATE_PKG handling

Move the task handling code into the SSTATE_PKGNAME variable using a temporary variable.

This makes the code more understandable as as well as allowing the length of the
final sstate filename to be more easily accesses for following patches.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate: Add extra directory level
Richard Purdie [Fri, 3 Jan 2020 18:03:35 +0000 (18:03 +0000)]
sstate: Add extra directory level

We're having speed issues on the autobuilder due to the numbers of files in sstate
directories. We previously split these by the first two characters of the hash.
This change extends this to split by the next two characters as well, creating
more layers of directories.

This should signifiantly speed up eSDK builds on the autobuilder as the current
sstate layout simply isn't scaling there but addresses a general complaint.

gen-lockedsig-cache needed to be updated for the new split level sstate.

Also update tests for new layout.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopopulate_sdk_ext: Fix confusing failure message
Richard Purdie [Mon, 6 Jan 2020 14:45:08 +0000 (14:45 +0000)]
populate_sdk_ext: Fix confusing failure message

This stack trace is horrible and obscurs the real failure message, avoid that.

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:copy_buildsystem(d)
     0003:
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 446, function: copy_buildsystem
     0442:    sdk_ext_type = d.getVar('SDK_EXT_TYPE')
     0443:    if (sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative) and not sdk_include_nativesdk:
     0444:        # Create the filtered task list used to generate the sstate cache shipped with the SDK
     0445:        tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'
 *** 0446:        create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)
     0447:    else:
     0448:        tasklistfn = None
     0449:
     0450:    if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 182, function: create_filtered_tasklist
     0178:        # Clean out residue of running bitbake, which check_sstate_task_list()
     0179:        # will effectively do
     0180:        clean_esdk_builddir(d, sdkbasepath)
     0181:    finally:
 *** 0182:        os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')
     0183:
     0184:python copy_buildsystem () {
     0185:    import re
     0186:    import shutil
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf.bak' -> 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Ensure that B is clean before configure task is run
Khem Raj [Fri, 3 Jan 2020 22:50:14 +0000 (14:50 -0800)]
musl: Ensure that B is clean before configure task is run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosysstat: 12.2.0 -> 12.2.1
Wang Mingyu [Fri, 3 Jan 2020 13:01:18 +0000 (05:01 -0800)]
sysstat: 12.2.0 -> 12.2.1

0001-Include-needed-headers-explicitly.patch and CVE-2019-19725.patch
Removed since they are included in 12.2.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostress-ng: upgrade 0.10.13 -> 0.10.15
Wang Mingyu [Fri, 3 Jan 2020 13:01:17 +0000 (05:01 -0800)]
stress-ng: upgrade 0.10.13 -> 0.10.15

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorng-tools: upgrade 6.8 -> 6.9
Wang Mingyu [Fri, 3 Jan 2020 13:01:16 +0000 (05:01 -0800)]
rng-tools: upgrade 6.8 -> 6.9

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags
Khem Raj [Fri, 3 Jan 2020 07:21:23 +0000 (23:21 -0800)]
tclibc-musl: Add -D__USE_TIME_BITS64 to c/c++ flags

This is needed for 64bit time_t support on 32bit architectures
see [1]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Build outside of source tree
Khem Raj [Fri, 3 Jan 2020 07:21:22 +0000 (23:21 -0800)]
musl: Build outside of source tree

musl does not use cmake/autotools etc. but plane old makefile basded
build system, which means it does not get B defined to be outside S
therefore define B explicitly to be outside S

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Upgrade beyond 1.24
Khem Raj [Fri, 3 Jan 2020 07:21:21 +0000 (23:21 -0800)]
musl: Upgrade beyond 1.24

License-Change: Added ARM to copyright files [1] [2] [3]

Detailed changes are here [4]

[1] https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=db3cc9a319c788cf5241ea68d3fa86b43f35733e
[2] https://git.musl-libc.org/cgit/musl/commit/?id=daa29e894c74d61296fe19d9b7c4be2f04037639
[3] https://git.musl-libc.org/cgit/musl/commit/?id=d3f7df235904439d48db041c7796e5b44be5b8e6
[4] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=2c2477da9a553c0b9b2fa18073a5dcdbe6d395af..70d80609558153a996833392999c69cdb74e1119

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: upgrade 2.62.3 -> 2.62.4
Wang Mingyu [Fri, 3 Jan 2020 06:06:18 +0000 (22:06 -0800)]
glib-2.0: upgrade 2.62.3 -> 2.62.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoshadow: Security Advisory - shadow - CVE-2019-19882
Li Zhou [Fri, 3 Jan 2020 05:58:12 +0000 (13:58 +0800)]
shadow: Security Advisory - shadow - CVE-2019-19882

Backport patch from <https://github.com/shadow-maint/shadow/pull/199/
commits/66b7bc0dcfda12d7f58eba993bd02872cae1d713> to solve
CVE-2019-19882.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython/python3: Whitelist CVE-2019-18348
Adrian Bunk [Wed, 1 Jan 2020 18:50:59 +0000 (20:50 +0200)]
python/python3: Whitelist CVE-2019-18348

This is not exploitable when glibc has CVE-2016-10739 fixed,
which is fixed in the upstream version since warrior.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Avoid resetting taskhash within siggen for locked sigs
Richard Purdie [Thu, 2 Jan 2020 16:37:58 +0000 (16:37 +0000)]
sstatesig: Avoid resetting taskhash within siggen for locked sigs

Since get_unihash uses taskhash as a key internally, changing it means
different bebahour when locked sigs are active verses not active. Under
corner cases this leads to a signature mismatch.

Avoid this by by adding a wrapper for the place its externally exposed
and then not changing the internals.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Fix locked signature handling with unihashes
Richard Purdie [Mon, 30 Dec 2019 14:44:01 +0000 (14:44 +0000)]
sstatesig: Fix locked signature handling with unihashes

get_taskhash will call get_unihash internally in the parent class. We
need to disable our filter of it whilst this runs else incorrect hashes
can be calculated.

This is believed to be causing the locked signatures test to fail under
some circumstances (depending on whether earlier hashes are being
remapped).

[YOCTO #13605]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstatesig: Test cross/native hashserv method extension
Richard Purdie [Sat, 28 Dec 2019 00:02:46 +0000 (00:02 +0000)]
sstatesig: Test cross/native hashserv method extension

We can have one taskhash which represents multiple native/cross sstate objects
since they're stored by BUILD_ARCH or possibly host distro (or host gcc version).
We need to put these into separate namespaces on hashserv since their outhashes
will never match and we need deterministic lookups for the different namespaces.

Use this extramethod option to handle this. This fixes several problematic
failures on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: Update to apply libgcc fix to libpython, glibc only
Richard Purdie [Wed, 1 Jan 2020 11:10:35 +0000 (11:10 +0000)]
python3: Update to apply libgcc fix to libpython, glibc only

Update to account for review feedback on list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonfs-utils: Drop unneeded patches, cmdline option overrides
Khem Raj [Tue, 31 Dec 2019 16:15:34 +0000 (08:15 -0800)]
nfs-utils: Drop unneeded patches, cmdline option overrides

0001-configure.ac-Do-not-fatalize-Wmissing-prototypes.patch is no longer
needed

disabling format warnings is no longer needed as well therefore remove
it from recipe and address the warnings (if any in patches)

Ensure that it can build with clang as well on the way via the new clang-warnings.patch
patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot: Update to v2020.01-rc5
Alistair Francis [Tue, 31 Dec 2019 15:55:40 +0000 (07:55 -0800)]
u-boot: Update to v2020.01-rc5

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/filemap: If FIGETBSZ iotctl fail, failback to os.stat
Kalle Lampila [Tue, 31 Dec 2019 15:10:49 +0000 (17:10 +0200)]
wic/filemap: If FIGETBSZ iotctl fail, failback to os.stat

Some file systems don't support fetching the block size (notably the
file system Docker uses for containers), so if iotctl() fail, try to use
failback via os.stat() to get block size.

Signed-off-by: Kalle lampila <kalle.lampila@lempea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: Backport patch to fix po files without translations
Khem Raj [Wed, 1 Jan 2020 03:47:59 +0000 (19:47 -0800)]
gettext: Backport patch to fix po files without translations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: fix failing ptests
Alexander Kanavin [Tue, 17 Dec 2019 16:00:11 +0000 (17:00 +0100)]
gettext: fix failing ptests

Results:

pass 400
fail 0
skip 32

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopsmisc: revert to default autopoint exclusion
Alexander Kanavin [Tue, 17 Dec 2019 16:00:10 +0000 (17:00 +0100)]
psmisc: revert to default autopoint exclusion

Otherwise, builds break with latest gettext.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: update to 0.20.1
Alexander Kanavin [Tue, 17 Dec 2019 16:00:09 +0000 (17:00 +0100)]
gettext: update to 0.20.1

License-Update: URLs changed from http to https
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext-minimal-native: update to 0.20.1
Alexander Kanavin [Tue, 17 Dec 2019 16:00:08 +0000 (17:00 +0100)]
gettext-minimal-native: update to 0.20.1

Rather than update a tarball, I took m4 files directly from an install of 0.20.1.

The patch is dropped as guile has long been removed from oe-core.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: Use PCRE for hardlink
Khem Raj [Tue, 31 Dec 2019 00:44:48 +0000 (16:44 -0800)]
util-linux: Use PCRE for hardlink

Use PCRE, this enables using posix extended Regexps on cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomaintainers: Add entry for buildtools-extended-tarball
Richard Purdie [Tue, 31 Dec 2019 11:26:50 +0000 (11:26 +0000)]
maintainers: Add entry for buildtools-extended-tarball

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuildtools-extended-tarball: add recipe with build-essentials
Tim Orling [Mon, 23 Dec 2019 01:18:37 +0000 (17:18 -0800)]
buildtools-extended-tarball: add recipe with build-essentials

* For some aging distros, such as CentOS 7, the native version
  of gcc is simply too ancient and is a constant source of
  headaches for moving forward.

* Add an extended version of buildtools-tarball which adds all
  of build-essential, so that the host is now modernized and
  capable of compiling the latest versions of components.

Fixes [YOCTO #13714]

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobitbake.conf: Simplify TARGET_SYS/SDK_SYS
Richard Purdie [Sat, 28 Dec 2019 23:37:37 +0000 (23:37 +0000)]
bitbake.conf: Simplify TARGET_SYS/SDK_SYS

As pointed out by Masahiro Yamada <masahiroy@kernel.org>, ('' or 'custom')
equates to "custom" and this code seems unecesaarily complicated and unused.

It was likely intended to supress the value if XXX_OS was set to '' but the
code doesn't actually do that. Simplify it as we shouldn't have this indirection
if we don't need it, its horrible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: RDEPEND on libgcc
Joshua Watt [Mon, 30 Dec 2019 20:59:41 +0000 (14:59 -0600)]
python3: RDEPEND on libgcc

=help>
List-Subscribe:
 <http://lists.openembedded.org/mailman/listinfo/openembedded-core>,
 <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Sender: openembedded-core-bounces@lists.openembedded.org
Errors-To: openembedded-core-bounces@lists.openembedded.org
X-Virus-Scanned: clamav-milter 0.101.4 at dan
X-Virus-Status: Clean
X-Evolution-Source: 1525863794.3857.16@hex
Content-Transfer-Encoding: 8bit

Python uses features of glibc that require it to dynamically load (i.e.
dlopen()) libgcc_s at runtime. However, since this isn't a link time
dependency, it doesn't get picked up automatically by bitbake so
manually add it to RDEPENDS.

There is an outstanding bug in Python to make it explicitly link against
libgcc at link time which would remove the need for this. See:
https://bugs.python.org/issue37395

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-ust: Turn examples into a packageconfig
Khem Raj [Mon, 30 Dec 2019 21:10:03 +0000 (13:10 -0800)]
lttng-ust: Turn examples into a packageconfig

examples are unbuildable in some cases, see [1]
this helps in making them optional via the newly addded
configure option in 2.11 release

[1] https://bugs.lttng.org/issues/1132
[2] https://patchwork.ozlabs.org/patch/832106/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Add multiconfig support
Joshua Watt [Mon, 30 Dec 2019 20:59:50 +0000 (14:59 -0600)]
runqemu: Add multiconfig support

Users may want to run qemu against a specific multiconfig instead of the
base configuration, so give them the ability to specify which config
should be used with the MULTICONFIG environment variable.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/image_types_wic: Depend on do_image_complete tasks
Joshua Watt [Mon, 30 Dec 2019 20:59:29 +0000 (14:59 -0600)]
classes/image_types_wic: Depend on do_image_complete tasks

do_image_wic now depends on the do_image_complete tasks from all it's
dependencies. This allows images recipes specified in WKS_FILE_DEPENDS
(for example, if a machine wants to put a initrd into a boot partition)
to correctly trigger rebuilds for the wic image.

Note that recrdeptask can't be used as was done for do_deploy because
this would cause circular task dependency errors. This shouldn't be
necessary anyway if the dependencies specified in WKS_FILE_DEPENDS are
complete.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: fix ${PN}-journal-remote systemd unit
André Draszik [Mon, 30 Dec 2019 20:36:55 +0000 (20:36 +0000)]
systemd: fix ${PN}-journal-remote systemd unit

Commit d31ff84a5f47 ("systemd: fix PN-container package splitting"),
d0b2cedfb099 in poky, created a new package for the remote journal,
but introduced a typo during declaration of the systemd unit part
of that package.

Fix it.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Upgrade to 19.3.1
Alistair Francis [Sat, 21 Dec 2019 06:36:48 +0000 (22:36 -0800)]
mesa: Upgrade to 19.3.1

Upgrade mesa to 19.3 and refresh the patches.

As MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in [1] we are going
to change the do_install and add a patch to libepoxy to use the new
define.

1: https://gitlab.freedesktop.org/mesa/mesa/commit/6202a13b71e18dc31ba7e2f4ea915b67eacc1ddb

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: Upgrade 3.7.5 -> 3.7.6
Adrian Bunk [Fri, 20 Dec 2019 04:51:11 +0000 (06:51 +0200)]
python3: Upgrade 3.7.5 -> 3.7.6

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosstate.bbclass: Fix for consistent whitespace
Martin Jansa [Mon, 16 Dec 2019 10:56:41 +0000 (11:56 +0100)]
sstate.bbclass: Fix for consistent whitespace

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomultilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native
Mike Crowe [Tue, 17 Dec 2019 08:02:25 +0000 (08:02 +0000)]
multilib.conf: Ensure that RECIPE_SYSROOT is unchanged for native

Ensure that RECIPE_SYSROOT is the same for -native recipes whether
multilib.conf is included or not.

Without this change task signatures for -native recipes change when
switching between MACHINEs that require multilib.conf and those that
don't.

This fix was one of the ones suggested by Khem Raj in
http://lists.openembedded.org/pipermail/openembedded-core/2019-December/290303.html

Add test_sstate_multilib_or_not_native_samesigs test case to
sstatetests.py to ensure that this stays fixed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-networking: upgrade 2.62.1 -> 2.62.2
Anuj Mittal [Thu, 19 Dec 2019 05:41:04 +0000 (13:41 +0800)]
glib-networking: upgrade 2.62.1 -> 2.62.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotune-riscv: Add support for no float
Alistair Francis [Thu, 19 Dec 2019 21:24:10 +0000 (13:24 -0800)]
tune-riscv: Add support for no float

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl/tcl: fix /usr/share/man/man3/Thread.3 conflicts
Hongxu Jia [Sat, 21 Dec 2019 06:19:35 +0000 (14:19 +0800)]
perl/tcl: fix /usr/share/man/man3/Thread.3 conflicts

While installing perl-doc and tcl-doc to image, there is a file conflicts
at do_rootfs
...
|file /usr/share/man/man3/Thread.3 conflicts between attempted installs of
perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64
...

Use update-alternatives to fix

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonativesdk-buildtools-perl-dummy: add dependencies for autoconf and automake
Tim Orling [Mon, 23 Dec 2019 01:18:36 +0000 (17:18 -0800)]
nativesdk-buildtools-perl-dummy: add dependencies for autoconf and automake

* For buildtools-extended-tarball, where we are adding all of build-essentials
  to the nativesdk, we need additional perl modules for autoconf and automake.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopango: Disable Wimplicit-fallthrough as error
Khem Raj [Sun, 29 Dec 2019 18:44:15 +0000 (10:44 -0800)]
pango: Disable Wimplicit-fallthrough as error

Clang is quite a lot more stricter and ends up finding more cases,
these are code format warnings so its safer to disable them here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoxkbcomp: Gcc 10 spits out extra warnings as errors
Khem Raj [Sun, 29 Dec 2019 18:44:14 +0000 (10:44 -0800)]
xkbcomp: Gcc 10 spits out extra warnings as errors

Its better for us to disable these extra warnings, upstream should fix
them correctly in code and we can re-enable it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipes: Use -fcommon explicitly
Khem Raj [Sun, 29 Dec 2019 18:44:13 +0000 (10:44 -0800)]
recipes: Use -fcommon explicitly

This is needed with gcc 10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agollvm: Upgrade to 9.0.1 release
Khem Raj [Sun, 29 Dec 2019 18:44:12 +0000 (10:44 -0800)]
llvm: Upgrade to 9.0.1 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotune-power9: Add power9 tunings
Khem Raj [Sun, 29 Dec 2019 18:44:04 +0000 (10:44 -0800)]
tune-power9: Add power9 tunings

Add Little/big Endian, 32bit/64bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopowerpc, powerpc64: Append little-endianness to tune arch
Khem Raj [Sun, 29 Dec 2019 18:44:03 +0000 (10:44 -0800)]
powerpc, powerpc64: Append little-endianness to tune arch

This helps in constructing right arch for target tuple name for
Little-endian ppc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agositeinfo: Recognize 64bit PPC LE
Khem Raj [Sun, 29 Dec 2019 18:44:02 +0000 (10:44 -0800)]
siteinfo: Recognize 64bit PPC LE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocmake.bbclass: Define LIB_SUFFIX
Khem Raj [Sun, 29 Dec 2019 18:44:01 +0000 (10:44 -0800)]
cmake.bbclass: Define LIB_SUFFIX

This variable is used in lot of cmake based packages to denote libdir in
multilib environments, now a days there is a better way to include
GNUInstallDirs module but thats upto these packages to adopt. Defining
this helps compiling a bunch of recipes in extended layers when using
multilibbed builds.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogoarch: Dont use -fno-PIE on mips
Khem Raj [Sun, 29 Dec 2019 18:43:59 +0000 (10:43 -0800)]
goarch: Dont use -fno-PIE on mips

This was added with

98b24e9268 goarch.bbclass: set SECURITY_CFLAGS for mips64

to overcome a problem that was inherent in go linker which has been now
fixed in golang compiler upstream

https://github.com/golang/go/issues/20243
https://github.com/golang/go/commit/39c07ce9e5311c94880789f19f2f8b49bf1b5241

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd: Fix time_t size assumptions
Khem Raj [Sun, 29 Dec 2019 18:43:58 +0000 (10:43 -0800)]
systemd: Fix time_t size assumptions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agofeature-microblaze-versions.inc: Update MB to v11.0
Manjukumar Matha [Mon, 23 Dec 2019 07:11:20 +0000 (23:11 -0800)]
feature-microblaze-versions.inc: Update MB to v11.0

Update the Microblaze to v11.0

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinuxloader: Correct loader for glibc on armhf
Alex Kiernan [Sun, 29 Dec 2019 16:26:55 +0000 (16:26 +0000)]
linuxloader: Correct loader for glibc on armhf

Fix the naming of the loader on armhf to match what glibc expects:

  #define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT SYSTEMLIBS_DIR "ld-linux.so.3"
  #define GLIBC_DYNAMIC_LINKER_HARD_FLOAT SYSTEMLIBS_DIR "ld-linux-armhf.so.3"

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-yocto: allow external (aka non-integrated) BSPs to supply patches
Bruce Ashfield [Mon, 30 Dec 2019 03:07:21 +0000 (22:07 -0500)]
kernel-yocto: allow external (aka non-integrated) BSPs to supply patches

By default, only explicitly specified .scc files or patches are applied
to a BSP as part of the patching phase. This allows the reference BSPs
to be integrated into a kernel tree, and use the same meta data for tree
generation and for runtime building. It also greatly simplies the
processing of kernel meta data.

That being said, if an external (and fully standalone) kmeta repository
is used, it very well may contain both patches and configuration. To
allow the BSP definition to supply patches and config, we introduce a
new kernel meta data definition:

  define KMETA_EXTERNAL_BSP t

This can be set in any .scc file that wants to specify both patches
and configuration.

If specifying this per-BSP is not desired, a secondary variable is
used:

  KMETA_EXTERNAL_BSPS

When that is set in a bbappend, any located BSP definitions will be used
for both patches and configuration.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/5.2: update to v5.2.28
Bruce Ashfield [Mon, 30 Dec 2019 03:07:20 +0000 (22:07 -0500)]
linux-yocto/5.2: update to v5.2.28

Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:

    7943d7e69aa7 Linux 5.2.28
    b5db992cfdd3 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
    a0b637f7868d usb: gadget: configfs: Fix missing spin_lock_init()
    aee8c2147a36 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
    a04397ac5986 bonding: fix active-backup transition after link failure
    0993efbf3f01 ALSA: usb-audio: Fix incorrect size check for processing/extension units
    66375457a696 ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk()
    c0920628d63f ALSA: hda/ca0132 - Fix work handling in delayed HP detection
    e14b1f4b4011 mwifiex: fix possible heap overflow in mwifiex_process_country_ie()
    060505a3c9dc io_uring: use current task creds instead of allocating a new one
    8d113ae57534 io_uring: async workers should inherit the user creds
    4079323e2113 net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run
    013e927d5204 arm64: errata: Update stale comment
    2c8f51168b64 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets
    911f63fa6335 bonding: fix using uninitialized mode_lock
    ab3e4e6f92d4 usbip: Fix free of unallocated memory in vhci tx
    516423c1395e cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead
    2c17159569ee mm/filemap.c: don't initiate writeback if mapping has no dirty pages
    a53a54cbee03 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write()
    96e3c3553d84 e1000: fix memory leaks
    ef2c5f55f92e igb: Fix constant media auto sense switching when no cable is connected
    5853c1ae13c9 net: ethernet: arc: add the missed clk_disable_unprepare
    330a0ce1737a NFSv4: Don't allow a cached open with a revoked delegation
    ecb481d00e39 arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core
    c3cc8b365b07 arm64: Brahma-B53 is SSB and spectre v2 safe
    87251ea1e89b arm64: apply ARM64_ERRATUM_845719 workaround for Brahma-B53 core
    36c2624f9432 usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
    93268e187878 arm64: cpufeature: Enable Qualcomm Falkor errata 1009 for Kryo
    1498bf362a53 x86, efi: Never relocate kernel below lowest acceptable address
    3cfc26fc6f99 efi: libstub/arm: Account for firmware reserved memory at the base of RAM
    fc5ffc1e3fdd hv_netvsc: Fix error handling in netvsc_attach()
    92b10afd667e SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding
    086a81dbfba3 SUNRPC: The TCP back channel mustn't disappear while requests are outstanding
    ffdad349b545 drm/amd/display: Passive DP->HDMI dongle detection fix
    35be94b64940 drm/amd/display: do not synchronize "drr" displays
    7c39460cb5ac drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
    78d726f10338 drm/sched: Set error to s_fence if HW job submission failed.
    9830f79967bf mt76: dma: fix buffer unmap with non-linear skbs
    720d823bdb4b iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41
    63fd1ae15909 net: mscc: ocelot: refuse to overwrite the port's native vlan
    9016218584da net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up
    28c0b80eaf33 net: hisilicon: Fix "Trying to free already-free IRQ"
    1ecc30627dde fjes: Handle workqueue allocation failure
    e87e60d8b437 nvme-multipath: fix possible io hang after ctrl reconnect
    4872894ab801 sched/topology: Allow sched_asym_cpucapacity to be disabled
    1da63fea0a7b sched/topology: Don't try to build empty sched domains
    70e90b283406 scsi: qla2xxx: stop timer in shutdown path
    1cc270775485 hwmon: (ina3221) Fix read timeout issue
    45239aea409d RDMA/hns: Prevent memory leaks of eq->buf_list
    53fa37993b30 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
    7ff5b79bbbeb usbip: tools: Fix read_usb_vudc_device() error path handling
    a2938e175103 USB: ldusb: use unsigned size format specifiers
    680a523e29ac USB: Skip endpoints with 0 maxpacket length
    e0d7df991267 perf/x86/uncore: Fix event group support
    89cc224ca642 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h)
    3cef7fe493bc perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity
    b2dce44309c3 usb: dwc3: remove the call trace of USBx_GFLADJ
    2a3754959b17 usb: gadget: configfs: fix concurrent issue between composite APIs
    b97e16bf764c usb: gadget: composite: Fix possible double free memory bug
    f28bdd84158d usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode.
    5853c961dc7f usb: fsl: Check memory resource before releasing it
    95100a241e6d usb: dwc3: select CONFIG_REGMAP_MMIO
    108ae240a478 scsi: sd: define variable dif as unsigned int instead of bool
    6525d5046fc8 virt_wifi: fix refcnt leak in module exit routine
    d7aaa2cc70d4 macsec: fix refcnt leak in module exit routine
    9ca46b3266cd bonding: use dynamic lockdep key instead of subclass
    09dd999301fe bonding: fix unexpected IFF_BONDING bit unset
    b3ba6e2b6620 ipvs: move old_secure_tcp into struct netns_ipvs
    d532f1fd8afb ipvs: don't ignore errors in case refcounting ip_vs module fails
    70cbcdb17ff0 net: phy: smsc: LAN8740: add PHY_RST_AFTER_CLK_EN flag
    0e4ba0c6840e xsk: Fix registration of Rx-only sockets
    ef1fdf7f97d0 netfilter: nf_flow_table: set timeout before insertion into hashes
    38521edda858 iwlwifi: pcie: 0x2720 is qu and 0x30DC is not
    8560aaae6c0e iwlwifi: pcie: fix all 9460 entries for qnj
    bd7630c67813 iwlwifi: pcie: fix PCI ID 0x2720 configs that should be soc
    dbd6c9966dd8 bpf: Fix use after free in bpf_get_prog_name
    86e351f38ec7 scsi: qla2xxx: Initialized mailbox to prevent driver load failure
    efb36f318994 scsi: lpfc: Honor module parameter lpfc_use_adisc
    9bff69da3b99 net: openvswitch: free vport unless register_netdevice() succeeds
    193fa1a4522a bpf: Fix use after free in subprog's jited symbol removal
    1ee4522aa93c RDMA/uverbs: Prevent potential underflow
    9c018cb9f15b scsi: ufs-bsg: Wake the device before sending raw upiu commands
    682f81e5304b scsi: qla2xxx: fixup incorrect usage of host_byte
    dca864479cde selftests/bpf: More compatible nc options in test_tc_edt
    7ad63e706f31 net/mlx5e: TX, Fix consumer index of error cqe dump
    b3c5d67904a8 net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
    de4ed191ea6a IB/core: Use rdma_read_gid_l2_fields to compare GID L2 fields
    b4912439edec RDMA/qedr: Fix reported firmware version
    8291185a312b iw_cxgb4: fix ECN check on the passive accept
    fc84b384eb40 RDMA/mlx5: Clear old rate limit when closing QP
    c76d7b0214ee powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries.
    13fecbf4a027 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()
    e6d91869518a dmaengine: sprd: Fix the possible memory leak issue
    55d41c0f1470 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config
    cb7318f2b0e4 dmaengine: xilinx_dma: Fix 64-bit simple AXIDMA transfer
    03a1b968775d bpf: lwtunnel: Fix reroute supplying invalid dst
    4903f1d1bf8b dmaengine: sprd: Fix the link-list pointer register configuration issue
    556cf9124c0a HID: google: add magnemite/masterball USB ids
    09e8a1ec600e usbip: Implement SG support to vhci-hcd and stub driver
    065245f072da ALSA: usb-audio: Fix copy&paste error in the validator
    51db18fc1b06 ALSA: usb-audio: remove some dead code
    eeb8753a5329 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
    5159d8aab602 ALSA: usb-audio: Clean up check_input_term()
    594d9d1e5e17 ALSA: usb-audio: Remove superfluous bLength checks
    44db0074cd7c ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
    443cff51a6bb ALSA: usb-audio: Simplify parse_audio_unit()
    bcc4dd818640 ALSA: usb-audio: More validations of descriptor units
    af26301992ac configfs: fix a deadlock in configfs_symlink()
    58e23dc42be6 can: dev: add missing of_node_put() after calling of_get_child_by_name()
    b2b42b51675f can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak
    35b90e57a289 can: peak_usb: fix a potential out-of-sync while decoding packets
    6cc9a0bb94de can: c_can: c_can_poll(): only read status register after status IRQ
    78aa7546e343 can: flexcan: disable completely the ECC mechanism
    60eb5bed4403 can: usb_8dev: fix use-after-free on disconnect
    573872be4f06 SMB3: Fix persistent handles reconnect
    a422197a1eab x86/apic/32: Avoid bogus LDR warnings
    46279c9462f3 x86/dumpstack/64: Don't evaluate exception stacks before setup
    c6c6ac3c04b2 intel_th: pci: Add Jasper Lake PCH support
    911ece5b25e1 intel_th: pci: Add Comet Lake PCH support
    3f2a73ab3b0a intel_th: gth: Fix the window switching sequence
    ecb83032ecac netfilter: ipset: Fix an error code in ip_set_sockfn_get()
    343ebeaf5062 netfilter: nf_tables: Align nft_expr private data to 64-bit
    97d84484d0e6 cpufreq: intel_pstate: Fix invalid EPB setting
    7c985c014425 ARM: sunxi: Fix CPU powerdown on A83T
    43a2cca05874 iio: srf04: fix wrong limitation in distance measuring
    b870132ec166 iio: imu: inv_mpu6050: fix no data on MPU6050
    e48c1fca5974 iio: imu: adis16480: make sure provided frequency is positive
    9dca863d3b35 iio: adc: stm32-adc: fix stopping dma
    8fc1bf8f2be7 ceph: don't allow copy_file_range when stripe_count != 1
    8cfda9695cf9 ceph: don't try to handle hashed dentries in non-O_CREAT atomic_open
    4ad07fc427d4 ceph: add missing check in d_revalidate snapdir handling
    ef1848480086 ceph: fix RCU case handling in ceph_d_revalidate()
    d97f80fd208a ceph: fix use-after-free in __ceph_remove_cap()
    dfe4803a9068 ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address
    5e23235c9524 arm64: Do not mask out PTE_RDONLY in pte_same()
    48c2025b2f09 blkcg: make blkcg_print_stat() print stats only for online blkgs
    034d5809a5f4 soundwire: bus: set initial value to port_status
    649b8fd670bc soundwire: depend on ACPI || OF
    94aa8ee28648 soundwire: depend on ACPI
    ee8af21351c4 mm/khugepaged: fix might_sleep() warn with CONFIG_HIGHPTE=y
    d66df2eb6b3a HID: wacom: generic: Treat serial number and related fields as unsigned
    e1ffbf4ecc06 drm/radeon: fix si_enable_smc_cac() failed issue
    69d06ef9e08d perf map: Use zalloc for map_groups
    782163d51e60 perf tools: Fix time sorting
    3067a7cc476a pinctrl: intel: Avoid potential glitches if pin is in GPIO mode
    b69bf236dff2 tools: gpio: Use !building_out_of_srctree to determine srctree
    e231278b0d22 btrfs: save i_size to avoid double evaluation of i_size_read in compress_file_range
    5e162cf4feec btrfs: tree-checker: Fix wrong check on max devid
    3f2943947386 dump_stack: avoid the livelock of the dump_lock
    4355d417a94f mm, vmstat: hide /proc/pagetypeinfo from normal users
    953014f940f5 mm: thp: handle page cache THP correctly in PageTransCompoundMap
    61650775cd53 mm, meminit: recalculate pcpu batch and high limits after init completes
    2dcc41fdaf8a mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges
    aa9bf5f11454 ALSA: hda/ca0132 - Fix possible workqueue stall
    3b82b35a59db ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
    e2ba23d39223 ALSA: timer: Fix incorrectly assigned timer instance
    0dc0b91d07e4 vsock/virtio: fix sock refcnt holding during the shutdown
    420c2d73c309 net/smc: fix ethernet interface refcounting
    d7b3e1639bd7 net: sched: prevent duplicate flower rules from tcf_proto destroy race
    343d798fc32d net: prevent load/store tearing on sk->sk_stamp
    7dae346fabf5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path
    d8dd70306467 ipv6: fixes rt6_probe() and fib6_nh->last_probe init
    28b0701981a4 selftests/tls: add test for concurrent recv and send
    e35586c32b38 net/tls: add a TX lock
    a440797c1de5 net/tls: don't pay attention to sk_write_pending when pushing partial records
    d606d0d99205 net: mscc: ocelot: fix NULL pointer on LAG slave removal
    0be7d0f645a9 net: mscc: ocelot: don't handle netdev events for other netdevs
    7c406bd7d55b qede: fix NULL pointer deref in __qede_remove()
    a09ec9b4cc7d NFC: st21nfca: fix double free
    0c0b3ac80ac8 nfc: netlink: fix double device reference drop
    90a397f2593f NFC: fdp: fix incorrect free object
    cfe446854a9c net: usb: qmi_wwan: add support for DW5821e with eSIM support
    8d510fd1378a net/tls: fix sk_msg trim on fallback to copy mode
    55a7a495b3fe net: qualcomm: rmnet: Fix potential UAF when unregistering
    756e7124cde2 net: fix data-race in neigh_event_send()
    212322510b49 net: ethernet: octeon_mgmt: Account for second possible VLAN header
    b0855a3ad221 ipv4: Fix table id reference in fib_sync_down_addr
    9dfa56e19c37 CDC-NCM: handle incomplete transfer of MTU
    86e7bde87d43 bonding: fix state transition issue in link monitoring

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/4.19/5.2/-dev: fix gcc10 build
Bruce Ashfield [Mon, 30 Dec 2019 03:07:19 +0000 (22:07 -0500)]
linux-yocto/4.19/5.2/-dev: fix gcc10 build

Integrating Khem's gcc10 build fix:

[
    Author: Khem Raj <raj.khem@gmail.com>
    Date:   Fri Dec 20 17:42:02 2019 -0800

        x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset

        kaslr_64.c also defines the same variable, however when both files are
        included into final link, linker complains about multiple definition of
        `__force_order' which is coming from kaslr_64.o and pgtable_64.o, its
        possible that kaslr_64.o is disabled via CONFIG_RANDOMIZE_BASE config
        option, therefore define it conditionally only when
        CONFIG_RANDOMIZE_BASE is not set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/5.2: update to v5.2.27
Bruce Ashfield [Mon, 30 Dec 2019 03:07:18 +0000 (22:07 -0500)]
linux-yocto/5.2: update to v5.2.27

Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:

    766f754fb8ce Linux 5.2.27
    2e635a05d05c ASoC: SOF: Intel: hda-stream: fix the CONFIG_ prefix missing
    1708b2a269de usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driver fails
    52d4750e4da2 arm64: dts: ti: k3-am65-main: Fix gic-its node unit-address
    d7b2a7ceb695 ASoC: pcm3168a: The codec does not support S32_LE
    8c9d7d01ccf0 selftests/powerpc: Fix compile error on tlbie_test due to newer gcc
    532cc582af44 selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
    21344b6bacda CIFS: Fix retry mid list corruption on reconnects
    7249aad46eed platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table
    48a226ebae98 net/flow_dissector: switch to siphash
    27508702fe6d net: bcmgenet: reset 40nm EPHY on energy detect
    8bbff985b199 net: phy: bcm7xxx: define soft_reset for 40nm EPHY
    3a48c3ea0431 net: netem: correct the parent's backlog when corrupted packet was dropped
    472df452d167 r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2
    717fa6516e96 net: usb: lan78xx: Connect PHY before registering MAC
    1d2fd4d20889 net: netem: fix error path for corrupted GSO frames
    5f0d17174801 net: hns3: fix mis-counting IRQ vector numbers issue
    18a577972516 net: dsa: fix switch tree list
    b2c233dbbdcb net: dsa: b53: Do not clear existing mirrored port mask
    30f425544ea2 net: bcmgenet: don't set phydev->link from MAC
    3d4a4cfb4ef7 net/mlx5e: Fix handling of compressed CQEs in case of low NAPI budget
    ba405f985d11 net/mlx5e: Fix ethtool self test: link speed
    01284dbae3d4 r8169: fix wrong PHY ID issue with RTL8168dp
    0a02e85ee175 mlxsw: core: Unpublish devlink parameters during reload
    0031274acd73 net/mlx5: Fix rtable reference leak
    0bb43d6b565e net/smc: fix refcount non-blocking connect() -part 2
    5dca2f5212b5 net/smc: fix refcounting for non-blocking connect()
    3320bb716cb3 net/mlx5: Fix flow counter list auto bits struct
    0490b698de8f net/smc: keep vlan_id for SMC-R in smc_listen_work()
    83577bc7531c net/smc: fix closing of fallback SMC sockets
    89b1d3e8dc5e selftests: fib_tests: add more tests for metric update
    52752b65dc62 ipv4: fix route update on metric change.
    c7525fb56257 net: add READ_ONCE() annotation in __skb_wait_for_more_packets()
    c7a5d3e53e0a net: use skb_queue_empty_lockless() in busy poll contexts
    7648cc097d86 net: use skb_queue_empty_lockless() in poll() handlers
    b192ff3d10ba udp: use skb_queue_empty_lockless()
    155f9ae9e73c net: add skb_queue_empty_lockless()
    c17ac3802036 vxlan: check tun_info options_len properly
    9c154c58aa9d udp: fix data-race in udp_set_dev_scratch()
    b64595ce1ed4 selftests: net: reuseport_dualstack: fix uninitalized parameter
    fb87cd347da4 net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
    0819acecc962 net: usb: lan78xx: Disable interrupts before calling generic_handle_irq()
    07e413b2fbb0 net: rtnetlink: fix a typo fbd -> fdb
    0e3580cc30bf netns: fix GFP flags in rtnl_net_notifyid()
    338502ee8050 net/mlx4_core: Dynamically set guaranteed amount of counters per VF
    df8fccdba3d1 net: hisilicon: Fix ping latency when deal with high throughput
    1a3cfa10a0d7 net: fix sk_page_frag() recursion from memory reclaim
    b38a3703d880 net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum
    7ad5a3f67946 net: dsa: bcm_sf2: Fix IMP setup for port different than 8
    9f949630b4e5 net: annotate lockless accesses to sk->sk_napi_id
    8f963115bff3 net: annotate accesses to sk->sk_incoming_cpu
    72e16d7c131f inet: stop leaking jiffies on the wire
    250e30ea064b erspan: fix the tun_info options_len check for erspan
    5001418c1340 dccp: do not leak jiffies on the wire
    7ed4e6ea40b4 cxgb4: request the TX CIDX updates to status page
    11ccb2b93320 cxgb4: fix panic when attaching to ULD fail
    95a7b64f82d0 nbd: handle racing with error'ed out commands
    5d6e015cded5 nbd: protect cmd->status with cmd->lock
    092a5fa02456 irqchip/sifive-plic: Skip contexts except supervisor in plic_init()
    7a3552d0d993 cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs
    81eb09eaf75b i2c: stm32f7: remove warning when compiling with W=1
    29143d76b32e i2c: stm32f7: fix a race in slave mode with arbitration loss irq
    433c1cb88a21 i2c: stm32f7: fix first byte to send in slave mode
    aef36d8fa956 i2c: mt65xx: fix NULL ptr dereference
    47392944abe2 irqchip/gic-v3-its: Use the exact ITSList for VMOVP
    93cfb4dcfa2c MIPS: bmips: mark exception vectors as char arrays
    7639d63d6cdb ALSA: hda: Add Tigerlake/Jasperlake PCI ID
    1b916a8969b6 selftests: kvm: fix sync_regs_test with newer gccs
    782536b540ef selftests: kvm: vmx_set_nested_state_test: don't check for VMX support twice
    e7d861519b9d ARM: 8926/1: v7m: remove register save to stack before svc
    6a70e11c2225 drm/komeda: Don't flush inactive pipes
    2ae6a7ecd31d i2c: aspeed: fix master pending state handling
    db0521235e05 ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue
    7d8ff5d7d0bc tracing: Fix "gfp_t" format for synthetic events
    962b999c85b7 scsi: target: core: Do not overwrite CDB byte 1
    14983cdea8af drm/amdgpu: fix error handling in amdgpu_bo_list_create
    a772698fbff7 drm/amdgpu: fix potential VM faults
    7c39141a8e19 ARM: davinci: dm365: Fix McBSP dma_slave_map entry
    f6266068923b perf kmem: Fix memory leak in compact_gfp_flags()
    39fa2e018843 8250-men-mcb: fix error checking when get_num_ports returns -ENODEV
    8695a1b81da1 perf c2c: Fix memory leak in build_cl_output()
    c6bfe2d971a2 perf tools: Fix resource leak of closedir() on the error paths
    74825b0f12f5 arm64: dts: imx8mm: Use correct clock for usdhc's ipg clk
    606b1f7012c4 arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk
    bd48cf1b8785 ARM: dts: imx7s: Correct GPT's ipg clock source
    634adb5ff10d ARM: dts: vf610-zii-scu4-aib: Specify 'i2c-mux-idle-disconnect'
    b5e444ec8046 ARM: dts: imx6q-logicpd: Re-Enable SNVS power key
    21991e6ca3a8 arm64: dts: lx2160a: Correct CPU core idle state name
    0c6787a615a9 arm64: dts: rockchip: fix RockPro64 sdmmc settings
    54a20ce80ef4 ARM: 8914/1: NOMMU: Fix exc_ret for XIP
    65afe1bbf903 ARM: 8908/1: add __always_inline to functions called from __get_user_check()
    f1d2d5999a90 scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE
    f91e21d4ec3a scsi: sni_53c710: fix compilation error
    41c16b471c56 scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
    1ca65ebd2038 scsi: qla2xxx: fix a potential NULL pointer dereference
    d6940a823dd4 ARM: mm: fix alignment handler faults under memory pressure
    2dbff99a37af ARM: dts: Use level interrupt for omap4 & 5 wlcore
    1c5dfeaa70da ASoC: simple_card_utils.h: Fix potential multiple redefinition error
    6c1607186a43 ASoC: msm8916-wcd-digital: add missing MIX2 path for RX1/2
    3f03fb38ecb5 ARM: dts: am3874-iceboard: Fix 'i2c-mux-idle-disconnect' usage
    0e688ad61baa arm64: dts: zii-ultra: fix ARM regulator states
    0af649d2eb1f pinctrl: stmfx: fix null pointer on remove
    c4829c0de7f8 pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable()
    a804692693e4 arm64: dts: rockchip: fix RockPro64 sdhci settings
    adb1f13ec2a3 arm64: dts: rockchip: fix RockPro64 vdd-log regulator settings
    3b7f40e22049 ARM: dts: logicpd-torpedo-som: Remove twl_keypad
    dbae4113b111 arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line
    35121b191493 ASoc: rockchip: i2s: Fix RPM imbalance
    273687c15ca7 ASoC: wm_adsp: Don't generate kcontrols without READ flags
    2a8adb4c41eb regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
    0b37b27e25e4 ASoC: intel: bytcr_rt5651: add null check to support_button_press
    f56de4455199 ASoC: intel: sof_rt5682: add remove function to disable jack
    f7b687159124 ASoC: rt5682: add NULL handler to set_jack function
    4b6e757b6c3b ASoC: SOF: Intel: hda: Disable DMI L1 entry during capture
    375b9b38fbb8 ASoC: SOF: Intel: initialise and verify FW crash dump data.
    70e6d9eafbe8 ASoC: SOF: Intel: hda: fix warnings during FW load
    87df87873d3f ASoC: SOF: topology: fix parse fail issue for byte/bool tuple types
    f0c8c58983c5 ASoC: SOF: loader: fix kernel oops on firmware boot failure
    d972519f0d11 pinctrl: intel: Allocate IRQ chip dynamic
    ceced419c570 regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone
    4934e53e51a2 arm64: dts: Fix gpio to pinmux mapping
    9a61c23028d2 arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
    39f4a4a170ce arm64: dts: allwinner: a64: Re-add PMU node
    b68dfc690d27 arm64: dts: allwinner: a64: Drop PMU node
    6974df4eb790 arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
    01a832b775a0 ASoC: topology: Fix a signedness bug in soc_tplg_dapm_widget_create()
    94c31579cefb regulator: da9062: fix suspend_enable/disable preparation
    ece602dfdc03 ASoC: wm8994: Do not register inapplicable controls for WM1811
    52cc4490b025 regulator: of: fix suspend-min/max-voltage parsing
    d35e9545daaa ext4: add more paranoia checking in ext4_expand_extra_isize handling

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosubversion: upgrade 1.12.2 -> 1.13.0
Richard Purdie [Sat, 28 Dec 2019 23:29:46 +0000 (23:29 +0000)]
subversion: upgrade 1.12.2 -> 1.13.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime/ptest: fix detection of failed tests
André Draszik [Fri, 20 Dec 2019 16:37:54 +0000 (16:37 +0000)]
oeqa/runtime/ptest: fix detection of failed tests

Since commit d6065f136f6d ("oeqa/logparser: Various misc cleanups"),
7b17274c30c6 in poky, the ptest OEQA is unable to detect failures
in any of the test results.

The reason is that the test result string changed from 'fail' to
'FAILED', because the original mapping has been removed as part of
that commit, but the code in here is still trying to match against
the old string, resulting in no matches, i.e. everything is treated
as successful, even if it shouldn't be.

Update the OEQA ptest test to actually work again and report
failure if there was a failure.

Note that the ptest test is marked as @expectedfail, so even though
this test now again starts to fail, the overall OEQA test result is
not affected - but at least the overall OEQA test summary reflects
the correct status again.

In other words:
    RESULTS:
    RESULTS - ping.PingTest.test_ping: PASSED (0.26s)
    RESULTS - ptest.PtestRunnerTest.test_ptestrunner: PASSED (4.05s)
    RESULTS - ssh.SSHTest.test_ssh: PASSED (0.60s)
    SUMMARY:
    image-debug () - Ran 3 tests in 4.937s
correctly changes to:
    AssertionError: Failed ptests:
    {'dummytest': ['check_True_is_True', 'test_basic']}

    RESULTS:
    RESULTS - ping.PingTest.test_ping: PASSED (0.24s)
    RESULTS - ssh.SSHTest.test_ssh: PASSED (0.56s)
    RESULTS - ptest.PtestRunnerTest.test_ptestrunner: EXPECTEDFAIL (4.13s)
    SUMMARY:
    image-debug () - Ran 3 tests in 4.937s
instead and we see a summary of the ptest subtests that failed.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokexec-tools: update to 2.0.20
Alexander Kanavin [Fri, 20 Dec 2019 16:23:51 +0000 (17:23 +0100)]
kexec-tools: update to 2.0.20

Add a patch that restores missing declarations for 32 bit x86 builds.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxml-parser-perl: update to 2.46
Alexander Kanavin [Fri, 20 Dec 2019 16:23:49 +0000 (17:23 +0100)]
libxml-parser-perl: update to 2.46

License-Update: readme no longer carries a copyright notice, so take it from a source file
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoprelink: upgrade to latest revision (in the cross_prelink branch)
Alexander Kanavin [Fri, 20 Dec 2019 16:23:48 +0000 (17:23 +0100)]
prelink: upgrade to latest revision (in the cross_prelink branch)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodiffstat: update to 1.63
Alexander Kanavin [Fri, 20 Dec 2019 16:23:47 +0000 (17:23 +0100)]
diffstat: update to 1.63

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest-packagelists: drop python 2.x
Alexander Kanavin [Fri, 20 Dec 2019 16:23:45 +0000 (17:23 +0100)]
ptest-packagelists: drop python 2.x

With python 2.x reaching EOL and leaving oe-core soon, there is no need to keep
it in ptest lists.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocmake: Add a knob for cmake VERBOSE settings
Khem Raj [Sat, 28 Dec 2019 07:56:08 +0000 (23:56 -0800)]
cmake: Add a knob for cmake VERBOSE settings

Setting VERBOSE always, while is fine on one hand for debugging, its
coming at an expense of creating lots and lots of logs, e.g. qtwebkit
compile logs alone with VERBOSE is 163MB, there are many other large
packages which use cmake e.g. WPE, webkitgtk etc which are in same range
with out this option on, the logs reduce to 861K and also speeds up
build a notch

If user needs to disable these logs for a recipe or globally

CMAKE_VERBOSE = ""

in recipe or in global metadata e.g. local.conf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-pygments: update to 2.5.2
Alexander Kanavin [Thu, 19 Dec 2019 13:23:01 +0000 (14:23 +0100)]
python3-pygments: update to 2.5.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agollvm: fix upstream version check
Alexander Kanavin [Thu, 19 Dec 2019 13:23:00 +0000 (14:23 +0100)]
llvm: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoboost: upgrade 1.71.0 -> 1.72.0
Alexander Kanavin [Thu, 19 Dec 2019 13:22:57 +0000 (14:22 +0100)]
boost: upgrade 1.71.0 -> 1.72.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoepiphany: upgrade 3.34.1 -> 3.34.2
Alexander Kanavin [Thu, 19 Dec 2019 13:22:56 +0000 (14:22 +0100)]
epiphany: upgrade 3.34.1 -> 3.34.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobtrfs-tools: upgrade 5.3.1 -> 5.4
Alexander Kanavin [Thu, 19 Dec 2019 13:22:55 +0000 (14:22 +0100)]
btrfs-tools: upgrade 5.3.1 -> 5.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibrepo: upgrade 1.11.0 -> 1.11.1
Alexander Kanavin [Thu, 19 Dec 2019 13:22:54 +0000 (14:22 +0100)]
librepo: upgrade 1.11.0 -> 1.11.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocreaterepo-c: upgrade 0.15.1 -> 0.15.4
Alexander Kanavin [Thu, 19 Dec 2019 13:22:53 +0000 (14:22 +0100)]
createrepo-c: upgrade 0.15.1 -> 0.15.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibcomps: upgrade 0.1.12 -> 0.1.14
Alexander Kanavin [Thu, 19 Dec 2019 13:22:52 +0000 (14:22 +0100)]
libcomps: upgrade 0.1.12 -> 0.1.14

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobash-completion: upgrade 2.9 -> 2.10
Alexander Kanavin [Thu, 19 Dec 2019 13:22:51 +0000 (14:22 +0100)]
bash-completion: upgrade 2.9 -> 2.10

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovala: upgrade 0.46.4 -> 0.46.5
Alexander Kanavin [Thu, 19 Dec 2019 13:22:50 +0000 (14:22 +0100)]
vala: upgrade 0.46.4 -> 0.46.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: update 0.52.0 -> 0.52.1
Alexander Kanavin [Thu, 19 Dec 2019 13:22:49 +0000 (14:22 +0100)]
meson: update 0.52.0 -> 0.52.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocore-image-testmaster: use Python 3
Alexander Kanavin [Fri, 20 Dec 2019 16:23:44 +0000 (17:23 +0100)]
core-image-testmaster: use Python 3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool: always use python 3 in recipe creation
Alexander Kanavin [Fri, 20 Dec 2019 16:23:43 +0000 (17:23 +0100)]
recipetool: always use python 3 in recipe creation

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agostrace: Upgrade to 5.4
Khem Raj [Sat, 21 Dec 2019 18:52:03 +0000 (10:52 -0800)]
strace: Upgrade to 5.4

Remove a patch already present upstream
Add a patch to fix build with upcoming glibc 2.31 where
__ptrace_syscall_info definition is added

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobusybox: Replace obsolete stime API with clock_settime
Khem Raj [Sat, 21 Dec 2019 16:31:12 +0000 (08:31 -0800)]
busybox: Replace obsolete stime API with clock_settime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Replace stime() API with clock_settime
Khem Raj [Sun, 22 Dec 2019 04:05:48 +0000 (20:05 -0800)]
qemu: Replace stime() API with clock_settime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-sanitizers: Fix build with glibc 2.31
Khem Raj [Sun, 22 Dec 2019 04:05:47 +0000 (20:05 -0800)]
gcc-sanitizers: Fix build with glibc 2.31

Backport a patch from latest gcc-9-branch to fix an API change in glibc
2.31, this patch wont be needed when upgrading to 9.3 or 10.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc-sanitizers: Add missing dep on libcrypt
Khem Raj [Sun, 22 Dec 2019 04:05:46 +0000 (20:05 -0800)]
gcc-sanitizers: Add missing dep on libcrypt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokbd: fix ptest can NOT run issue
Kai Kang [Tue, 24 Dec 2019 01:54:49 +0000 (09:54 +0800)]
kbd: fix ptest can NOT run issue

After kbd updated to 2.2.0, it fails to run ptest:

| make: *** No rule to make target 'libkbdfile-test01.c', needed by 'libkbdfile-test01'.

Update sed expression to fix such kind of issues. And also make target
dumpkeys-bkeymap and dumpkeys-bkeymap which are required by ptest.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: Fix build with -fno-common
Khem Raj [Mon, 23 Dec 2019 22:53:38 +0000 (14:53 -0800)]
valgrind: Fix build with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibdnf: Include mising <stdexcept>
Khem Raj [Mon, 23 Dec 2019 22:39:14 +0000 (14:39 -0800)]
libdnf: Include mising <stdexcept>

This header is needed for runtime_error element

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocpio: remove unused CVE patch
Changqing Li [Fri, 27 Dec 2019 08:08:05 +0000 (16:08 +0800)]
cpio: remove unused CVE patch

According to the home page, https://www.gnu.org/software/cpio/,
CVE-2015-1197 have been fix in version 2.13, so removed
this patch get from SUSE

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel: Make symbol link to vmlinux.64 in boot directory
Vasyl Gomonovych [Thu, 26 Dec 2019 11:50:56 +0000 (13:50 +0200)]
kernel: Make symbol link to vmlinux.64 in boot directory

Some mips 64 bit platforms use vmlinux.64 image name
Make a symbol link to vmlinux.64 in arch/mips/boot/

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibva-utils: upgrade 2.5.0 -> 2.6.0
Naveen Saini [Thu, 26 Dec 2019 07:43:35 +0000 (15:43 +0800)]
libva-utils: upgrade 2.5.0 -> 2.6.0

Release details can be found here:
https://github.com/intel/libva-utils/releases/tag/2.6.0

Removed the patch which is not required anymore.
Also switched to meson.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibva: upgrade 2.5.0 -> 2.6.0
Naveen Saini [Thu, 26 Dec 2019 07:43:34 +0000 (15:43 +0800)]
libva: upgrade 2.5.0 -> 2.6.0

Release details can be found here:
https://github.com/intel/libva/releases/tag/2.6.0

Also switched to meson.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopseudo: Make realpath() remove trailing slashes
Robert Yang [Tue, 24 Dec 2019 07:21:09 +0000 (15:21 +0800)]
pseudo: Make realpath() remove trailing slashes

Linux system's realpath() remove trailing slashes, but pseudo's doesn't, need
make them identical.

E.g., the following code (rel.c) prints '/tmp' with system's realpath, but
pseudo's realpath prints '/tmp/':

    #include <stdio.h>
    #include <limits.h>
    #include <stdlib.h>

    int main() {
        char out[PATH_MAX];
        printf("%s\n", realpath("/tmp/", out));
        return 0;
    }

$ bitbake base-passwd -cdevshell # For pseudo env
$ gcc rel.c
$ ./a.out
/tmp/ (but should be /tmp)

This patch fixes the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosyslogkd: fix parallel compile failed problem
Changqing Li [Thu, 26 Dec 2019 02:10:54 +0000 (10:10 +0800)]
syslogkd: fix parallel compile failed problem

Parallel compile maybe failed with error:
error: ../lib/strlcat.o: No such file or directory
Makefile:619: recipe for target 'syslogd' failed

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsdl2: fix failure appeared in bitbake libsdl2-native
Yanfei Xu [Wed, 25 Dec 2019 07:44:25 +0000 (15:44 +0800)]
libsdl2: fix failure appeared in bitbake libsdl2-native

When you bitbake libsdl2-native and your host had installed fcitx
or ibus, it may cause you bitbake failed in do_compile.

Disable fcitx and ibus check with EXTRA_OECONF in bb file.

-------------snip---------------------
  CC     build/SDL_sysfilesystem.lo
  CC     build/SDL_syshaptic.lo
  CC     build/SDL_systimer.lo
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5:
error: unknown type name ‘SDL_DBusContext’
     SDL_DBusContext *dbus;
     ^~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8:
error: unknown type name ‘DBusHandlerResult’
 static DBusHandlerResult
        ^~~~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20:
error: unknown type name ‘DBusConnection’;
------------snip----------------------

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase.bbclass: clean up dead symlink when handling hosttools
Chen Qi [Wed, 25 Dec 2019 07:01:13 +0000 (15:01 +0800)]
base.bbclass: clean up dead symlink when handling hosttools

When some hosttool is a dead symlink, bitbake any recipe will
fail with error like below.

  FileExistsError: [Errno 17] File exists: '/usr/bin/chrpath' -> '/path/to/builddir/tmp-glibc/hosttools/chrpath'

So we remove dead symlink under hostools/ directory to avoid
such error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agochrpath: Cleanup and fix previous patch
Ross Burton [Fri, 13 Dec 2019 11:33:51 +0000 (11:33 +0000)]
chrpath: Cleanup and fix previous patch

Ensure self.data isn't accessed without assignment. Also clean up old style
popen use and replace with modern/simpler subprocess.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: map the system property in the cross file
Ross Burton [Fri, 20 Dec 2019 14:57:35 +0000 (14:57 +0000)]
meson: map the system property in the cross file

We can't just use HOST_OS, as in meta-mingw SDKs that is 'mingw32' but Meson
expects 'windows'.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopixman: port to meson
Ross Burton [Thu, 19 Dec 2019 21:19:25 +0000 (21:19 +0000)]
pixman: port to meson

Disable libpng as that's only used in the tests and demos, that we don't build.

Drop iwmmxt disabling, we can add this back again if it fails.  Loongsoon
remains disabled as the build fails for edgerouter.

Drop the Neon/VFP2 mojo, this is a micro-optimisation. If the size improvement
is significant then this can be added back.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopixman: don't use xorg-lib-common
Ross Burton [Thu, 19 Dec 2019 20:57:12 +0000 (20:57 +0000)]
pixman: don't use xorg-lib-common

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoqemu: Add PACKAGECONFIG for glusterfs
shohei.maruyama@cybertrust.co.jp [Thu, 19 Dec 2019 14:00:05 +0000 (14:00 +0000)]
qemu: Add PACKAGECONFIG for glusterfs

This commit adds PACKAGECONFIG for glusterfs. glusterfs is not required f-
or runqemu, so it should be optional to reduce build time.

Signed-off-by: Shohei Maruyama <shohei.maruyama@cybertrust.co.jp>
Signed-off-by: Ross Burton <ross.burton@intel.com>