]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agoiptables: upgrade 1.8.3 -> 1.8.4
Changhyeok Bae [Mon, 27 Jan 2020 21:59:27 +0000 (22:59 +0100)]
iptables: upgrade 1.8.3 -> 1.8.4

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiw: upgrade 5.3 -> 5.4
Changhyeok Bae [Mon, 27 Jan 2020 21:59:26 +0000 (22:59 +0100)]
iw: upgrade 5.3 -> 5.4

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoiproute2: upgrade 5.3.0 -> 5.5.0
Changhyeok Bae [Mon, 27 Jan 2020 21:59:25 +0000 (22:59 +0100)]
iproute2: upgrade 5.3.0 -> 5.5.0

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomusl: Update to latest
Khem Raj [Tue, 28 Jan 2020 04:08:49 +0000 (20:08 -0800)]
musl: Update to latest

Changelog [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=91e662d1d941215eb024787db5e910dbfb5b169f..83350eb17b9cb355e3f08b0340c4f1e8c437fac9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovalgrind: Fix ptest builds on musl
Khem Raj [Tue, 28 Jan 2020 03:58:50 +0000 (19:58 -0800)]
valgrind: Fix ptest builds 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 agovalgrind: fix the remaining ptest failures
Alexander Kanavin [Mon, 27 Jan 2020 14:19:07 +0000 (15:19 +0100)]
valgrind: fix the remaining ptest failures

Particularly, one test is disabled as it is failing everywhere,
two patches that actually cause failures are dropped and
some binaries are prevented from being stripped where that is
expected.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoreproducible: Allow configuration of saved debug output
Richard Purdie [Thu, 24 Oct 2019 18:09:33 +0000 (13:09 -0500)]
reproducible: Allow configuration of saved debug output

If OEQA_DEBUGGING_SAVED_OUTPUT is set in the environment, use this location
to store reproducibile build failure output. This aids debugging on the
YP autobuilder in particular.

Use a date in the directory name to make it easier to find failure output.

Also clean up empty directories as they're unnecessary distracting noise.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoparselogs: remove mpc8315e-rdb from errors
Armin Kuster [Fri, 31 Jan 2020 00:28:01 +0000 (16:28 -0800)]
parselogs: remove mpc8315e-rdb from errors

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobsp-hw.json: remove mpc8315e-rdb manual tests
Armin Kuster [Fri, 31 Jan 2020 00:28:00 +0000 (16:28 -0800)]
bsp-hw.json: remove mpc8315e-rdb manual tests

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoMEMORIAM: Add recognition for contributors no longer with us
Richard Purdie [Wed, 29 Jan 2020 23:47:08 +0000 (23:47 +0000)]
MEMORIAM: Add recognition for contributors no longer with us

Its sad to have this but as the project ages, also perhaps inevitable.
Besides their contributions, remember them here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogrep: Fix shell after autotools changes
Richard Purdie [Mon, 27 Jan 2020 21:54:13 +0000 (21:54 +0000)]
grep: Fix shell after autotools changes

After changing autotools.bbclass, CONFIG_SHELL setting no longer works
resulting in:

grep-3.4-r0 do_package_qa: QA Issue: /bin/fgrep.grep contained in package grep requires /bin/bash, but no providers found in RDEPENDS_grep? [file-rdeps]

The script can use /bin/sh so set this specifically using sed since we
want to use a consistent shell for the rest of the build but not have
the specific bash dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoxz: Fix shell after autotools changes
Richard Purdie [Mon, 27 Jan 2020 21:54:01 +0000 (21:54 +0000)]
xz: Fix shell after autotools changes

After changing autotools.bbclass, CONFIG_SHELL setting no longer works
resulting in:

xz-5.2.4-r0 do_package_qa: QA Issue: /usr/bin/xzmore contained in package xz requires /bin/bash, but no providers found in RDEPENDS_xz? [file-rdeps]

The script can use /bin/sh so set this specifically.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoautotools: Give in and force CONFIG_SHELL to bash
Richard Purdie [Mon, 27 Jan 2020 17:37:16 +0000 (17:37 +0000)]
autotools: Give in and force CONFIG_SHELL to bash

At present, CONFIG_SHELL becomes /bin/sh if its bash and /bin/bash if not. This
isn't deterministic and leads to changes in ptest packages which include Makefiles.

At first glance you'd think we'd hardcode to /bin/sh since most system shells are sane.

Sadly the dash vs. bash leads to quoting differences in configure.

The bash default is probably the safest option since configure tries to find bash
and this is what most systems would end up using.

The end result is a more consisent build environment.

[YOCTO #13752]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoweston: upgrade 7.0.0 -> 8.0.0
Denys Dmytriyenko [Sun, 26 Jan 2020 17:51:03 +0000 (12:51 -0500)]
weston: upgrade 7.0.0 -> 8.0.0

Here are some highlights:
- DRM hardware planes should be used more effectively
- The DRM backend now supports HDCP
- Headless backend now supports OpenGL
- DRM backend can now be built without GBM
- EGL_KHR_partial_update is now used when available, reducing memory
  bandwidth usage on some GPUs
- Logging framework improvements
- Documentation for weston can now be built
https://lists.freedesktop.org/archives/wayland-devel/2020-January/041147.html

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonspr, nss: use ${includedir}/nspr like e.g. ubuntu does
Martin Jansa [Mon, 27 Jan 2020 15:43:30 +0000 (16:43 +0100)]
nspr, nss: use ${includedir}/nspr like e.g. ubuntu does

* instead of installing all 51 nspr header files directly in ${includedir}

* ubuntu uses /usr/include/nspr as well as shown in:
  https://packages.ubuntu.com/xenial/amd64/libnspr4-dev/filelist
  and some components assume the same path

* update nss configure to find them, similar change might be needed in
  mozjs and ecryptfs-utils

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-tools: disable tests that sporadically fail
Alexander Kanavin [Mon, 27 Jan 2020 14:19:08 +0000 (15:19 +0100)]
lttng-tools: disable tests that sporadically fail

Upstream is aware, and will investigate and fix.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocore-image-sato-sdk-ptest: use 2G of RAM
Alexander Kanavin [Mon, 27 Jan 2020 14:19:06 +0000 (15:19 +0100)]
core-image-sato-sdk-ptest: use 2G of RAM

Particularly, 1G wasn't enough for lttng-tools ptests as
half of that went to /tmp, and lttng-tools needs more.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolttng-tools: install additional scripts needed for ptests
Alexander Kanavin [Mon, 27 Jan 2020 14:19:05 +0000 (15:19 +0100)]
lttng-tools: install additional scripts needed for ptests

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodefault-distrovars.inc: add vfat to DISTRO_FEATURES
Alexander Kanavin [Mon, 27 Jan 2020 14:19:01 +0000 (15:19 +0100)]
default-distrovars.inc: add vfat to DISTRO_FEATURES

This is beneficial for parted ptests in particular, as
they expect vfat functionality to work.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokbd: Fix build reproducibility issue
Richard Purdie [Mon, 27 Jan 2020 16:32:59 +0000 (16:32 +0000)]
kbd: Fix build reproducibility issue

Our CFLAGS were being lost which was breaking reproducibile builds due to
losee of the debug prefix remapping flags. Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodistrodata/maintainers: Add PARSE_ALL_RECIPES flag to fix test issues
Richard Purdie [Mon, 27 Jan 2020 11:42:32 +0000 (11:42 +0000)]
distrodata/maintainers: Add PARSE_ALL_RECIPES flag to fix test issues

Currently the test depends on which DISTRO_FEATURES and targets are selected.
Similar to SOURCE_MIRROR_FETCH, add PARSE_ALL_RECIPES to allow the test to see
a much wider range of them. This avoids issues added by the new ucontext musl
specific recipe and allows the current whitelist to be cleared out a bit (more
cleanup can follow).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agol3afpad: Add missing mime-xdg inherit
Richard Purdie [Sun, 26 Jan 2020 22:27:35 +0000 (22:27 +0000)]
l3afpad: Add missing mime-xdg inherit

Fixes:
WARNING: l3afpad-0.8.18.1.11+gitAUTOINC+3cdccdc950-r0 do_package_qa: QA Issue:
package contains desktop file with key 'MimeType' but does not inhert mime-xdg:
l3afpad path 'XXX/packages-split/l3afpad/usr/share/applications/l3afpad.desktop' [mime-xdg]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonative/cross/nativesdk: Drop obsolete do_populate_sysroot[stamp-extra-info]
Richard Purdie [Fri, 24 Jan 2020 17:50:45 +0000 (17:50 +0000)]
native/cross/nativesdk: Drop obsolete do_populate_sysroot[stamp-extra-info]

With recipe specific sysroot, these settings do nothing. Drop
the obsolete code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo: Disable PIE on RISCV
Khem Raj [Sun, 26 Jan 2020 19:27:50 +0000 (11:27 -0800)]
go: Disable PIE on RISCV

Its not supported yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoDisable CGO on riscv64
Khem Raj [Sun, 26 Jan 2020 19:27:49 +0000 (11:27 -0800)]
Disable CGO on riscv64

Its not supported yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo-dep: Fix bolt for riscv64
Khem Raj [Sun, 26 Jan 2020 19:27:48 +0000 (11:27 -0800)]
go-dep: Fix bolt for riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogo.bbclass: Disable PIE on riscv
Khem Raj [Sun, 26 Jan 2020 19:27:47 +0000 (11:27 -0800)]
go.bbclass: Disable PIE on riscv

Its not _yet_ supported for riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoriscv32: Bump oldest kernel to 5.4
Khem Raj [Sun, 26 Jan 2020 19:27:46 +0000 (11:27 -0800)]
riscv32: Bump oldest kernel to 5.4

rv32 port has bumped its minimum kernel requirement to 5.4
as the userspace ABI is still in flux until glibc port is not
upstreamed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: Drop overloadable attibute for getcwd declaration
Khem Raj [Sun, 26 Jan 2020 19:27:45 +0000 (11:27 -0800)]
gettext: Drop overloadable attibute for getcwd declaration

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc: Drop fortify refactoring patch
Khem Raj [Sun, 26 Jan 2020 19:27:44 +0000 (11:27 -0800)]
glibc: Drop fortify refactoring patch

This helps clang to do a better job with fortify on but it is better
suited for clang layer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglibc: Update to final 2.31 release
Khem Raj [Sun, 26 Jan 2020 19:27:43 +0000 (11:27 -0800)]
glibc: Update to final 2.31 release

Drop ppc 8xx clear cache optimization, which we have been carrying
through eglibc days, it has been redone in glibc now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoMusl: Update to latest master
Khem Raj [Sun, 26 Jan 2020 19:27:42 +0000 (11:27 -0800)]
Musl: Update to latest master

Detailed changelog [1]

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=70d80609558153a996833392999c69cdb74e1119..91e662d1d941215eb024787db5e910dbfb5b169f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperf: Pass LDSHARED and CCLD via EXTRA_OEMAKE
Khem Raj [Sun, 26 Jan 2020 19:27:41 +0000 (11:27 -0800)]
perf: Pass LDSHARED and CCLD via EXTRA_OEMAKE

python code underneath is smart and pokes at python installation in
sysroot for compile environment, the overrides from EXTRA_OEMAKE are
ofcourse preferred but it falls back to python3's distutils/sysconfig
for rest of them, and it does use CCLD and LDSHARED for linking, when we
use clang to compile python3 then it encodes these variables to be clang
however, when building perf we inherit kernel which forces gcc to be
used for compiling perf, which then mixes both compilers due to CCLD and
LDSHARED demands. Therefore override CCLD and LDSHARED in make
environment helps python/distutils to use right linker

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoruby: Remove __has_include and __has_include_next from preprocessed header file
Khem Raj [Sun, 26 Jan 2020 19:27:40 +0000 (11:27 -0800)]
ruby: Remove __has_include and __has_include_next from preprocessed header file

one of the build steps ruby has is that it generated rb_mjit_header.h
during configure using gcc preprocessor using -dD which emits built-in
defines as well, problem happens when this header is later included in
subsequent compiles, where compiler errors out stating that an existing
internal define is redefined

| /tmp/20200123-2021083-2c601q.h:13849:9: error: "__has_include" cannot be used as a macro name
| 13849 | #define __has_include __has_include
|       |         ^~~~~~~~~~~~~
| compilation terminated due to -Wfatal-errors.

Since compiler already will take care of it internally we can edit it
out from this header file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS
Khem Raj [Sun, 26 Jan 2020 19:27:39 +0000 (11:27 -0800)]
nss: Pass NSS_USE_ARM_HW_CRYPTO as define in CFLAGS

Use NSS_USE_ARM_HW_CRYPTO to detect USE_ARM_GCM, since there are
dependent, without this we control the crypto code function inclusion in
build but do not control the call sites, which can result in undefined
symbols e.g.

Linux_SINGLE_SHLIB/gcm.o: in function `gcmHash_InitContext':
/usr/src/debug/nss/3.49.1-r0/nss-3.49.1/nss/lib/freebl/gcm.c:112: undefined reference to `gcm_HashInit_hw'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibucontext: Add recipe
Khem Raj [Sun, 26 Jan 2020 19:27:38 +0000 (11:27 -0800)]
libucontext: Add recipe

Help musl based systems provide ucontext APIs, these APIs are used in
some common applications e.g. chromium browser

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoelfutils: additional ptest fixes
Alexander Kanavin [Thu, 23 Jan 2020 17:34:16 +0000 (18:34 +0100)]
elfutils: additional ptest fixes

This should address ARM64 specific failures in particular.

eu-objdump is now installed on all architectures;
ptests fail in its absence and pass when it is present, so it's
useful at least in some scenarios in non-x86 architectures and
fails gracefully otherwise.

The original decision to exclude it was here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5283

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomdadm: correctly set up testing location for ptests
Alexander Kanavin [Thu, 23 Jan 2020 17:34:15 +0000 (18:34 +0100)]
mdadm: correctly set up testing location for ptests

1. Do not clutter /, create a special-purpose dir
2. Clean up the dir after tests are done (if this is not
performed, disk will overflow later in ptesting).
3. Fix up more locations in ptests to use the dir.

Upstream default /var/tmp is not suitable as it is not
big enough (mdadm needs about 500 Mb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomeson: update 0.52.1 -> 0.53.0
Alexander Kanavin [Fri, 24 Jan 2020 10:17:20 +0000 (11:17 +0100)]
meson: update 0.52.1 -> 0.53.0

Unset LD, and do not set ld in cross file from LD as
new version of meson passes that value directly
to -fuse-ld=... which requires one of lld, bfd, gold.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/devtool: add npm recipe build test
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:43 +0000 (18:07 +0100)]
oeqa/selftest/devtool: add npm recipe build test

This commit adds a devtool build test for npm recipe:

 - devtool.DevtoolAddTests.test_devtool_add_npm

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/selftest/recipetool: add npm recipe creation test
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:42 +0000 (18:07 +0100)]
oeqa/selftest/recipetool: add npm recipe creation test

This commit adds a recipetool creation test for npm recipe:

 - recipetool.RecipetoolTests.test_recipetool_create_npm

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool/create: npm: remove the 'noverify' url parameter
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:41 +0000 (18:07 +0100)]
recipetool/create: npm: remove the 'noverify' url parameter

This commit removes the 'noverify' parameter which was added to the url
to fix warnings with the shrinkwrap / lockdown file generation. This is
not needed anymore with the new npm fetcher.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodevtool/standard: npm: update the append file
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:40 +0000 (18:07 +0100)]
devtool/standard: npm: update the append file

When creating a recipe using devtool, a workspace is created to store
the new recipe, the recipe source and some append files. These append
files are used by devtool to build the recipe using externalsrc (to use
the source which are in the workspace). They can also have some
additional actions according to the class of the recipe.

This commit updates the append file for the npm recipes. The
devtool / externalsrc files are removed in the npm package directory
instead of the install directory.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolib/oe/package: remove unneeded npm_split_package_dirs function
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:39 +0000 (18:07 +0100)]
lib/oe/package: remove unneeded npm_split_package_dirs function

The npm_split_package_dirs function was used by the recipetool when
creating npm recipes. This is not the case anymore.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool/create_npm: handle the licenses of the dependencies
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:38 +0000 (18:07 +0100)]
recipetool/create_npm: handle the licenses of the dependencies

As usual the 'LICENSE' and the 'LIC_FILES_CHKSUM' values reflects all
the license files discovered in the source tree (including the
dependencies).

For npm recipes the 'LIC_FILES_CHKSUM' value contains also the status of
the 'package.json' file of every packages as it contains license
informations.

Finally each package has a separate 'LICENSE_${PN}-package-name' value
which describes its license.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool/create_npm: refactor the npm recipe creation handler
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:37 +0000 (18:07 +0100)]
recipetool/create_npm: refactor the npm recipe creation handler

This commit refactors the npm recipe creation handler to use the new npm
behavior. The process is kept as simple as possible and only generates
the shrinkwrap file.

To avoid naming issues the recipe name is now extracted from the npm
package name and not directly mapped.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodevtool: npm: rename npm command line options
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:36 +0000 (18:07 +0100)]
devtool: npm: rename npm command line options

This commit renames the '--fetch-dev' option into '--npm-dev' as it is a
npm only option.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/npm: force to rebuild the prebuild addons
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:35 +0000 (18:07 +0100)]
classes/npm: force to rebuild the prebuild addons

This commit forces to rebuild the prebuild addons which are using
node-gyp-build.

  https://www.npmjs.com/package/node-gyp-build

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/npm: use the native python
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:34 +0000 (18:07 +0100)]
classes/npm: use the native python

When building addons, the node-gyp build tool is looking for python. It
is available in the native directory but not directly in the PATH.

This commit configures npm to use the native python executable.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/npm: use the local node headers
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:33 +0000 (18:07 +0100)]
classes/npm: use the local node headers

When building addons, the node headers are needed to be able to compile
properly. Usually they are downloaded by npm but network access in the
do_compile task are unauthorized. Hopefully the local node headers are
available in the native sysroot so lets use them.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/npm: restrict the build to be offline
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:32 +0000 (18:07 +0100)]
classes/npm: restrict the build to be offline

After the do_fetch task, every other tasks must not access the network.
In order to ensure this point every npm command must use the offline
configuration. In addition setting an invalid proxy is used as a safety.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/npm: refactor the npm class
Jean-Marie LEMETAYER [Fri, 24 Jan 2020 17:07:31 +0000 (18:07 +0100)]
classes/npm: refactor the npm class

This commit splits the npm build in three steps:

1. With the new npmsw fetcher, the sources and dependencies of the
   package have been fetched and unpacked. As sources can also be
   patched, a local cache must be configured to use these modified
   sources.

2. Next, the installation process is run using the local cache only.
   Some packages may need to be compiled.

3. The final installation filters the previously installed files to
   avoid unnecessary files.

This new version also fixes multiple issues related to npm dependencies
badly handled: package names, scope packages, installation directories

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot: Move B from u-boot.inc to u-boot-common.inc
Daisuke Yamane [Thu, 23 Jan 2020 10:33:33 +0000 (10:33 +0000)]
u-boot: Move B from u-boot.inc to u-boot-common.inc

Use the same value of B between u-boot and u-boot-tools.
This patch also enable the out-of-tree builds of u-boot-tools actually.

Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agou-boot-tools: Add capability of building from out-of-tree
Daisuke Yamane [Thu, 23 Jan 2020 10:33:32 +0000 (10:33 +0000)]
u-boot-tools: Add capability of building from out-of-tree

This patch also helps to build with EXTERNALSRC.

Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobusybox: udhcpc: fix 'ip route add' with multiple interfaces on the same network
Luca Ceresoli [Wed, 22 Jan 2020 16:34:23 +0000 (17:34 +0100)]
busybox: udhcpc: fix 'ip route add' with multiple interfaces on the same network

The udhcpc script fails to properly set a default route when:

 - 'ip' is present ($have_bin_ip -eq 1)
 - there are 2 or more interfaces connected to the same network
   (e.g. ethernet + wifi on the same home LAN / same DHCP server)

In this case, when the first interface gets an address from DHCP
(e.g. eth0), a default route is set correctly. When the second interface
(e.g. wlan0) gets its address, 'ip route add' without 'dev $interface' sets
the route on the other interface. The result looks like:

  # ip route
  default via 192.168.1.1 dev eth0  metric 5
  default via 192.168.1.1 dev eth0  metric 10          # wrong dev here
  192.168.1.0/24 dev eth0 scope link  src 192.168.1.20
  192.168.1.0/24 dev wlan0 scope link  src 192.168.1.30
  #

The situation might go unnoticed until eth0 is disconnected, because only
wlan0 is present but there is no route through wlan0.

Fix by explicitly passing "dev $interface" to 'ip route add'. Note that all
other 'ip' invocations already have "dev $interface" passed.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokbd: make libkbdfile-test08 ptest work for multilib
Mingde (Matthew) Zeng [Wed, 22 Jan 2020 20:20:03 +0000 (15:20 -0500)]
kbd: make libkbdfile-test08 ptest work for multilib

This patch fixes kbd ptest libkbdfile-test08 failure in 64-bit images.

```sh
root@intel-x86-64:/usr/lib64/kbd/ptest# ./run-ptest
make: Entering directory '/usr/lib64/kbd/ptest/tests'
make[1]: Entering directory '/usr/lib64/kbd/ptest/tests'
PASS: libkbdfile-test01
PASS: libkbdfile-test02
PASS: libkbdfile-test03
PASS: libkbdfile-test04
PASS: libkbdfile-test05
PASS: libkbdfile-test06
PASS: libkbdfile-test07
FAIL: libkbdfile-test08
PASS: libkbdfile-test09
...
```

`DATADIR` and `ABS_DATADIR` are compile flags defined in
./kbd/tests/Makefile.am. `DATADIR` is the relative directory of
kbd, i.e `./kbd/ptest/tests` whereas `ABS_DATADIR` is the full
directory path, i.e `/usr/lib/kbd/ptest/tests`. The latter has a
problem when building ptests for a 64-bit image, because the tests
folder is located at `/usr/lib64/kbd/ptest/tests` instead.

Therefore `ABS_DATADIR` is changed to `DATADIR`, also consistent with
what *every other* kbd test is doing.

The test searches DATADIR recursively for a file named `test0.map`,
but it finds the wrong file at
    `/findfile/test_0/keymaps/test0.map`,
while it actually needs
    `/findfile/test_0/keymaps/i386/qwerty/test0.map`.

Thus appending `/i386` to `dirpath` so that `libkbdfile-test08.c`
    finds the right test file.

Signed-off-by: Matthew Zeng<Matthew.Zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibx11: squash whitespace in generated files
Ross Burton [Wed, 22 Jan 2020 17:37:48 +0000 (17:37 +0000)]
libx11: squash whitespace in generated files

The locale data in the recipe is generated using cpp, which results in
differing amounts of whitespace depending on what compiler is used.
This means that the files may differ in just whitespace, which is
sufficient for RPM's multilib code to consider them different and not
allow lib32-libx11-locale and lib64-libx11-locale to be installed at the
same time.

[ YOCTO #13647 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoshared-mime-info: actually depends on itstool-native
Ross Burton [Wed, 22 Jan 2020 12:57:46 +0000 (12:57 +0000)]
shared-mime-info: actually depends on itstool-native

shared-mime-info needs itstool-native, not itstool.  Fixing this removes itstool
from the rdepends of shared-mime-info-dev.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoconnman: add PACKAGECONFIG for the commandline client
Ross Burton [Wed, 22 Jan 2020 12:53:25 +0000 (12:53 +0000)]
connman: add PACKAGECONFIG for the commandline client

The client depends on readline which is GPLv3.  Add a PACKAGECONFIG so users who
don't need the client and are against GPLv3 can disable it.

Also remove the explicit installation of the client in do_install_append, as the
Makefile installs it now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython: remove last remnants of python2
Ross Burton [Mon, 20 Jan 2020 17:14:07 +0000 (17:14 +0000)]
python: remove last remnants of python2

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agopython3-dbus: upgrade 1.2.14 -> 1.2.16
Wang Mingyu [Mon, 20 Jan 2020 12:26:54 +0000 (04:26 -0800)]
python3-dbus: upgrade 1.2.14 -> 1.2.16

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibjpeg-turbo: upgrade 2.0.3 -> 2.0.4
Wang Mingyu [Mon, 20 Jan 2020 12:26:50 +0000 (04:26 -0800)]
libjpeg-turbo: upgrade 2.0.3 -> 2.0.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agogrep: upgrade 3.3 -> 3.4
Wang Mingyu [Mon, 20 Jan 2020 12:26:46 +0000 (04:26 -0800)]
grep: upgrade 3.3 -> 3.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agognupg: upgrade 2.2.17 -> 2.2.19
Wang Mingyu [Mon, 20 Jan 2020 12:26:45 +0000 (04:26 -0800)]
gnupg: upgrade 2.2.17 -> 2.2.19

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agofile: upgrade 5.37 -> 5.38
Wang Mingyu [Mon, 20 Jan 2020 12:26:44 +0000 (04:26 -0800)]
file: upgrade 5.37 -> 5.38

CVE-2019-18218.patch
Removed since it is included in 5.38.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoethtool: upgrade 5.3 -> 5.4
Wang Mingyu [Mon, 20 Jan 2020 12:26:43 +0000 (04:26 -0800)]
ethtool: upgrade 5.3 -> 5.4

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agolibva: upgrade 2.6.0 -> 2.6.1
Anuj Mittal [Mon, 20 Jan 2020 07:29:50 +0000 (15:29 +0800)]
libva: upgrade 2.6.0 -> 2.6.1

Also switch back to using the released tarballs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosstate.bbclass: Only show sstate mirror progress bar for >= 100 objects
Peter Kjellerstedt [Sat, 11 Jan 2020 03:28:43 +0000 (04:28 +0100)]
sstate.bbclass: Only show sstate mirror progress bar for >= 100 objects

With the introduction of the hash equivalence server, the progress bar
for "Checking sstate mirror object availability" is shown
repeatedly. Most of the times the number of objects scanned is very
low and the progress bar completes almost immediately. To avoid all
these unnecessary progress bars, set the minimum number of objects to
100 before the progress bar is shown.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agocairo: Add a PACKAGECONFIG "trace" to disable cairo-trace
Peter Kjellerstedt [Sat, 11 Jan 2020 03:19:39 +0000 (04:19 +0100)]
cairo: Add a PACKAGECONFIG "trace" to disable cairo-trace

cairo-trace is the only part of cairo that is licensed as GPL-3.0, and
is normally packaged separately in cairo-perf-utils.

The "trace" PACKAGECONFIG is enabled by default for backwards
compatibility.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoenchant2: fix qa issue about staticdev
Chen Qi [Tue, 14 Jan 2020 05:56:08 +0000 (13:56 +0800)]
enchant2: fix qa issue about staticdev

staticdev package defaults to include ${libdir}/${BPN}/*.a, but
for enchant2, the file locates under ${libdir}/echant-2/. So fix
it to avoid the following QA issue.

  QA Issue: non -staticdev package contains static .a library: enchant2 path '/.../usr/lib/enchant-2/enchant_aspell.a'

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomanpages.bbclass: Fix rootfs host corruption
Alex Kiernan [Thu, 9 Jan 2020 14:45:59 +0000 (14:45 +0000)]
manpages.bbclass: Fix rootfs host corruption

When running mandb we end up with files owned by the build user, correct
this. Also pick up non-default locales and relocate their index.db files
to /var/cache.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd: add missing Upstream-Status
Ross Burton [Mon, 6 Jan 2020 11:25:42 +0000 (11:25 +0000)]
systemd: add missing Upstream-Status

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoxorg-driver: don't enforce autotools
Ross Burton [Fri, 3 Jan 2020 18:32:36 +0000 (18:32 +0000)]
xorg-driver: don't enforce autotools

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosysstat: don't version the documentation folder
Ross Burton [Fri, 3 Jan 2020 15:35:03 +0000 (15:35 +0000)]
sysstat: don't version the documentation folder

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosysstat: remove default values
Ross Burton [Fri, 3 Jan 2020 15:34:51 +0000 (15:34 +0000)]
sysstat: remove default values

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoupdate_font_cache: fix ownership of .uuid files too
Ross Burton [Thu, 2 Jan 2020 23:19:38 +0000 (23:19 +0000)]
update_font_cache: fix ownership of .uuid files too

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agofontcache: fix indentation
Ross Burton [Thu, 2 Jan 2020 23:16:20 +0000 (23:16 +0000)]
fontcache: fix indentation

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agosystemd: fix a test-seccomp build issue
Ming Liu [Sat, 28 Dec 2019 13:18:02 +0000 (14:18 +0100)]
systemd: fix a test-seccomp build issue

Fix a following compiling issue when seccomp is enabled by
PACKAGECONFIG:
| ../test-seccomp.c: In function 'test_protect_sysctl':
| ../test-seccomp.c:307:5: error: "__NR__sysctl" is not defined, evaluates to 0 [-Werror=undef]
|  307 | #if __NR__sysctl > 0
|      |     ^~~~~~~~~~~~

Reference:
https://github.com/systemd/systemd/pull/14032

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoxmlto: set CLEANBROKEN = "1"
Hongxu Jia [Tue, 21 May 2019 08:49:15 +0000 (16:49 +0800)]
xmlto: set CLEANBROKEN = "1"

While rebuilding xmlto or xmlto-native, `make clean' in do_configure
will remove man/man1/xmlif.1 which triger failure in do_compile

$ bitbake xmlto-native
$ bitbake xmlto-native -cconfigure -f
$ bitbake xmlto-native -ccompile -f
...
|FORMAT_DIR=./format /bin/bash ./xmlto -o man/man1 man doc/xmlif.xml
|xmlto: tmp-glibc/work/x86_64-linux/xmlto-native/0.0.28-r0/xmlto-0.0.28/
doc/xmlif.xml does not validate (status 3)
|xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/
docbook/xml/4.2/docbookx.dtd
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomeson.bbclass: warn if cross property defaults are used
Ross Burton [Wed, 13 Mar 2019 00:37:33 +0000 (00:37 +0000)]
meson.bbclass: warn if cross property defaults are used

The Meson idiom for checks which require running code on the target
(which isn't possible in cross compilation) is to use a cross property,
which the user can set in the cross file:

if cc_can_run
  rres = cc.run(test_foo_code)
  have_foo = rres.compiled() and rres.returncode() == 0
else
  have_foo = meson.get_cross_property('have_foo', false)
endif

The default value may be overly conservative so we should review every
property and explicitly set them as apppropriate.  oe-core 669ddaf added
a log message when the default value is used, so look for this message
and emit a warning that the user will see.

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoell: Update to 0.27
Robert Joslyn [Fri, 20 Dec 2019 03:55:24 +0000 (19:55 -0800)]
ell: Update to 0.27

- Fix issue with data overflow and multiple PEMs.
- Fix issue with handling DHCP lease expiration.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agomesa: Allow building the virgl driver to be configurable
Fred Baksik [Fri, 20 Dec 2019 13:01:00 +0000 (08:01 -0500)]
mesa: Allow building the virgl driver to be configurable

If a .bbappend file sets GALLIUMDRIVERS then virgl is always being
appended to the list of drivers to be built. Make virgl an optional
component.

Signed-off-by: Fred Baksik <fred.baksik@mrcy.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agoacpica: upgrade 20191018 -> 20191213
Ross Burton [Fri, 20 Dec 2019 12:23:47 +0000 (12:23 +0000)]
acpica: upgrade 20191018 -> 20191213

Signed-off-by: Ross Burton <ross.burton@intel.com>
5 years agobuildtools-tarball: Add an ld.so.conf for nativesdk-binutils
Richard Purdie [Fri, 17 Jan 2020 17:15:03 +0000 (17:15 +0000)]
buildtools-tarball: Add an ld.so.conf for nativesdk-binutils

We need to search our own libdirs, then fall back to the system ones as our
customised dynamic loader will. Have ld.so.conf reflect that.

This ensures that binutils finds libraries here when linking too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils: Install non-alternatives links for nativesdk
Richard Purdie [Fri, 17 Jan 2020 17:20:48 +0000 (17:20 +0000)]
binutils: Install non-alternatives links for nativesdk

In the SDK we need the plain symlinks and don't use alternative providers.
When these are missing the toolchain can work incorrectly so fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobinutils: Fix relocation of ld.so.conf in nativesdk builds
Richard Purdie [Fri, 17 Jan 2020 17:21:39 +0000 (17:21 +0000)]
binutils: Fix relocation of ld.so.conf in nativesdk builds

We need binutils to look at our ld.so.conf file within the SDK to ensure
we search the SDK's libdirs as well as those from the host system.

There add a patch which passes in the directory to the code using a define,
then add it to a section we relocate in a similar way to the way we relocate
the gcc internal paths. This ensures that ld works correctly in our buildtools
tarball.

Standard sysroot relocation doesn't work since we're not in a sysroot,
we want to use both the host system and SDK libs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl: support cpan versions of core modules
Jens Rehsack [Tue, 21 Jan 2020 16:46:41 +0000 (17:46 +0100)]
perl: support cpan versions of core modules

Most of perl core modules are dual-life modules which exists on CPAN
as well as they do in perl core. Sometime, fixes are uploaded to CPAN
before a new perl is released which contains the fix of the core
module. Also, some modules recent releases aren't fully backported
to earlier releases (out of support, lack of specific feature, ...),
which makes it up to the distribution build to choose between core
or CPAN version, respectively.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolib/oe/package_manager: Improve locale-archive reproducibility
Alex Kiernan [Sun, 19 Jan 2020 18:04:27 +0000 (18:04 +0000)]
lib/oe/package_manager: Improve locale-archive reproducibility

The generation of locale-archive depends on the order of the input
files. Fix the order by sorting the file list.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: Enable ppc64le support for qemu-usermode
Khem Raj [Sun, 19 Jan 2020 19:13:51 +0000 (11:13 -0800)]
qemu: Enable ppc64le support for qemu-usermode

glibc defines minimum kernel needed to be 3.10.0 for LE ppc64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/reproducible: Fix unset save_dir variable
Richard Purdie [Wed, 22 Jan 2020 10:44:24 +0000 (10:44 +0000)]
oeqa/reproducible: Fix unset save_dir variable

Previous refactoring broke the case where save_dir was set. Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/reproducible: Fix extra data reporting
Joshua Watt [Sun, 19 Jan 2020 18:59:58 +0000 (12:59 -0600)]
oeqa/reproducible: Fix extra data reporting

A typo was preventing the extra data about the reproducible build from
being reported in the test results

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/reproducible: Add flag for building from sstate
Joshua Watt [Sun, 19 Jan 2020 18:59:57 +0000 (12:59 -0600)]
oeqa/reproducible: Add flag for building from sstate

Adds a flag to control if the reproducible QA test should allow building
from sstate or not. Building from sstate may not be reproducible
depending on how the sstate is populated.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobusybox: udhcpc: fix IPv6 support when using udhcpc
Stefan Agner [Mon, 14 May 2018 14:44:15 +0000 (16:44 +0200)]
busybox: udhcpc: fix IPv6 support when using udhcpc

The udhcpc script calls ip addr flush .. which flushes addresses
of any address family, including IPv6. However, busybox udhcpc is
IPv4 only and should not influence IPv6 addressing. Hence use ip
addr flush with family constrait.

The script particularly broke IPv6 SLAAC: Typically when udhcpc
calls the script the kernel already assigned the IPv6 link-local
address. The flush removes the link-local IPv6 address again and
prohibits proper IPv6 operation such as SLAAC since neighbor
discovery protocol relies on IPv6 link-local addressing.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-plugins-base: add PACKAGECONFIG for dispmanx and set OPENGL_WINSYS based...
Martin Jansa [Mon, 20 Jan 2020 22:02:00 +0000 (23:02 +0100)]
gstreamer1.0-plugins-base: add PACKAGECONFIG for dispmanx and set OPENGL_WINSYS based on enabled PACKAGECONFIGs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-omx: allow to more easily select different libomxil provider
Martin Jansa [Mon, 20 Jan 2020 22:01:59 +0000 (23:01 +0100)]
gstreamer1.0-omx: allow to more easily select different libomxil provider

* for rpi it's provided by userland recipe and this will make the bbappend
  in meta-raspberrypi a bit smaller

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcp-wrappers: Remove redundant forward declarations
Khem Raj [Mon, 20 Jan 2020 17:52:28 +0000 (09:52 -0800)]
tcp-wrappers: Remove redundant forward declarations

fgets is already in stdio.h, and it can confuse the compilers when using
fortified headers, therefore remove the declarations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Help compile with clang/mips
Khem Raj [Mon, 20 Jan 2020 17:52:27 +0000 (09:52 -0800)]
mesa: Help compile with clang/mips

meson is detecting it does not support 64bit attomics but then when
defining local suppliments confused clang

../mesa-19.3.1/src/util/u_atomic.c:38:1: error: cannot redeclare builtin function '__sync_add_and_fetch_8'
__sync_add_and_fetch_8(uint64_t *ptr, uint64_t val)
^
../mesa-19.3.1/src/util/u_atomic.c:38:1: note: '__sync_add_and_fetch_8' is a builtin with type 'long long (volatile long long *, long long, ...)'
../mesa-19.3.1/src/util/u_atomic.c:38:1: error: definition of builtin function '__sync_add_and_fetch_8'
__sync_add_and_fetch_8(uint64_t *ptr, uint64_t val)
^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogettext: Fix overloadable error with clang
Khem Raj [Mon, 20 Jan 2020 17:52:26 +0000 (09:52 -0800)]
gettext: Fix overloadable error with clang

Clang detects that getcwd is being re-declared and signatures don't
match, simple solution is to let clang use overloadable attribute

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogoarch.bbclass: Disable dynamic linking on PPC64 LE
Khem Raj [Mon, 20 Jan 2020 17:18:26 +0000 (09:18 -0800)]
goarch.bbclass: Disable dynamic linking on PPC64 LE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibsecret: upgrade 0.19.1 -> 0.20.0
Alexander Kanavin [Mon, 20 Jan 2020 17:25:09 +0000 (18:25 +0100)]
libsecret: upgrade 0.19.1 -> 0.20.0

Add a backported patch to fix musl builds.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>