]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agoclasses/sanity: check we don't have an ancient GNU patch
Ross Burton [Tue, 5 Dec 2017 17:51:37 +0000 (17:51 +0000)] 
classes/sanity: check we don't have an ancient GNU patch

We depend on the host GNU patch, but patch < 2.7 can't handle git-style patches.
This results in patches that fail to apply, or worse apply incorrectly.

(From OE-Core rev: ddda57ab1dee989dce8754350471807c916a6f47)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosanity: getstatusoutput returns an int, not a string
Ross Burton [Tue, 5 Dec 2017 17:34:08 +0000 (17:34 +0000)] 
sanity: getstatusoutput returns an int, not a string

This code is an error path so nobody noticed that oe.utils.getstatusoutput() is
just a wrapper around subprocess.getstatusoutput() which returns an (int,
string) pair not (string, string).

(From OE-Core rev: 33bf6e05af0a68da32f0484460b1de5f7f4eea98)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa: fix malformed/missing Upstream-Status tags
Ross Burton [Tue, 5 Dec 2017 14:25:00 +0000 (14:25 +0000)] 
meta: fix malformed/missing Upstream-Status tags

(From OE-Core rev: 9e7aed823d3035b8429d3c5fc537cacadf16f675)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/patch: when PATCHTOOL = "git" double-check the repository
Paul Eggleton [Tue, 5 Dec 2017 01:36:58 +0000 (14:36 +1300)] 
classes/patch: when PATCHTOOL = "git" double-check the repository

If a bug is present or the user has set PATCHTOOL = "git" on a source
tree that isn't git, if we try to perform git operations (such as
committing or changing branches) when extracting source, then we might
in fact be running those operations on the metadata repository if the
build directory is underneath, say, poky or OE-Core, and that could
make a mess. Check if the source tree is a git repository and refuse
to continue if it isn't.

(From OE-Core rev: 59ae5b7cbfeedb216a57c3f77fe52527b6c918cc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/patch: remove unused variable
Paul Eggleton [Tue, 5 Dec 2017 01:36:57 +0000 (14:36 +1300)] 
classes/patch: remove unused variable

(From OE-Core rev: 5bc987fb1818ffb9748645bd6e0d80cf5914bad0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoacpica: drop NATIVE_INSTALL_WORKS and fix RCONFLICTS
Paul Eggleton [Mon, 4 Dec 2017 20:46:20 +0000 (09:46 +1300)] 
acpica: drop NATIVE_INSTALL_WORKS and fix RCONFLICTS

* NATIVE_INSTALL_WORKS hasn't been used in a very long time, so there's no
  need to be setting it here.
* RCONFLIGHTS was clearly a typo.

(From OE-Core rev: b0146f21765b10c1f71807372f69a286bc9c2474)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpm: upstream version is now known
Alexander Kanavin [Tue, 14 Nov 2017 14:57:34 +0000 (16:57 +0200)] 
rpm: upstream version is now known

(From OE-Core rev: 8483cc895cf6d9fbacc38878b543d7c608178d05)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: CVE-2017-16544
Zhixiong Chi [Mon, 4 Dec 2017 08:17:25 +0000 (00:17 -0800)] 
busybox: CVE-2017-16544

In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2,
the tab autocomplete feature of the shell, used to get a list of filenames
in a directory, does not sanitize filenames and results in executing any
escape sequence in the terminal. This could potentially result in code
execution, arbitrary file writes, or other attacks.

Backport the patch from:
https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
https://nvd.nist.gov/vuln/detail/CVE-2017-16544

(From OE-Core rev: aa41f0c37460a2863ce26d1321c19c9bedf680c4)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitramfs-module-install: Remove allarch and FILESEXTRAPATHS
Martin Jansa [Fri, 1 Dec 2017 21:53:21 +0000 (21:53 +0000)] 
initramfs-module-install: Remove allarch and FILESEXTRAPATHS

* files is already included in default FILESPATH
* it cannot inherit allarch as it RDEPENDS on bunch of TUNE_PKGARCH packages
* use the same COMPATIBLE_HOST restrictions as grub has to prevent ERRORs in
  bitbake world
  ERROR: Nothing RPROVIDES 'grub' (but oe-core/meta/recipes-core/initrdscripts/initramfs-module-install_1.0.bb RDEPENDS on or otherwise requires it)
  grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
  grub was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST)
  NOTE: Runtime target 'grub' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['grub']
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.

(From OE-Core rev: ecad98a0ffe41d8cc8890d16be09e4b604a1e192)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutils: qemurunner.py: cleanup grammar and ensure consistency
Mark Asselstine [Fri, 1 Dec 2017 16:30:13 +0000 (11:30 -0500)] 
utils: qemurunner.py: cleanup grammar and ensure consistency

Minor grammar correction along with making the term 'login banner'
consistent throughout to make searching logs easier.

(From OE-Core rev: 54e739485faba8d80f5af15407905aaeda4767f4)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutils: qemurunner.py: Log both 'failed to reach login banner" reasons
Mark Asselstine [Fri, 1 Dec 2017 16:30:12 +0000 (11:30 -0500)] 
utils: qemurunner.py: Log both 'failed to reach login banner" reasons

The current logging always assumes the boot timeout has expired yet
there is a second reason we might have ended up in a position where no
login banner was found, that being a socket disconnect. Add logging
for the disconnect case and make the timeout expiration conditional on
the timeout being exhausted.

(From OE-Core rev: 49403368ccf3e469ac111afa259a38cc11e0b688)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutils: qemurunner.py: Add wall clock to 'timeout' logging
Mark Asselstine [Fri, 1 Dec 2017 16:30:11 +0000 (11:30 -0500)] 
utils: qemurunner.py: Add wall clock to 'timeout' logging

When debugging issues when timeouts are involved it is always best to
have wall clock times included. This helps give confidence that the
timeout is in fact run down at the right rate and that no unexpected
events were the true cause of a premature running down of the
timeout. Having these times in old logs also helps when debugging
issues as we have a historic record as to what is a 'typical' time to
complete an action.

In addition to adding the wall clock times the time to 'login' is now
printed making it consistent with the time to 'qemu pid'.

(From OE-Core rev: 4a6364309547d77d1d7a94c48f7c51ceee2b5d1a)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub: Move grub-editenv packaging to grub2.inc
Otavio Salvador [Fri, 1 Dec 2017 13:02:54 +0000 (11:02 -0200)] 
grub: Move grub-editenv packaging to grub2.inc

The editenv utility must be available on grub and grub-efi so we
better have it inside the grub2.inc file to avoid the duplication of
metadata.

(From OE-Core rev: ebdd054ad85b19d47dd20eab0ba3f31ef5141140)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi: Add loadenv and test as default built-in
Otavio Salvador [Fri, 1 Dec 2017 13:02:53 +0000 (11:02 -0200)] 
grub-efi: Add loadenv and test as default built-in

To allow scripting and environment changes, the loadenv and test must
be enabled. This adds those to the default set.

(From OE-Core rev: b7c9a298801c828c06b6e7da47c35f592864ce74)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi: Rework GRUB_BUILTIN variable as it is too long
Otavio Salvador [Fri, 1 Dec 2017 13:02:52 +0000 (11:02 -0200)] 
grub-efi: Rework GRUB_BUILTIN variable as it is too long

As we will add new values here, it is better to split it in multiple
lines.

(From OE-Core rev: 1a491515d58d0d9f03f7a3a84738f53377b0f819)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowayland-protocols: update to 1.12
Denys Dmytriyenko [Sun, 3 Dec 2017 05:58:40 +0000 (00:58 -0500)] 
wayland-protocols: update to 1.12

(From OE-Core rev: 78f848bff2749f26041b950ae4090b5ebbf71ab9)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitramfs-framework: Add exec module
Otavio Salvador [Fri, 1 Dec 2017 13:05:32 +0000 (11:05 -0200)] 
initramfs-framework: Add exec module

This new module allow for easy execution of external scripts or
applications. It runs anything found in /exec.d directory in order and
in case of no scripts to be available, it opens a shell.

(From OE-Core rev: 9b98c97338b4c3f985eca572d6a1e21324fa0fbc)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake.conf: set more conservative default for IMAGE_FSTYPES_DEBUGFS
Andre McCurdy [Fri, 27 Oct 2017 21:50:48 +0000 (14:50 -0700)] 
bitbake.conf: set more conservative default for IMAGE_FSTYPES_DEBUGFS

Setting IMAGE_FSTYPES_DEBUGFS to the same value as IMAGE_FSTYPES can
lead to creating a large number of DEBUGFS filesystem images, many of
which may not make much sense (or may not even be buildable).

(From OE-Core rev: a41f7cdf0cbc56a283d5c845c36d88a0208bf386)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibbsd: Make it build with GCC 5.0 and older
Peter Kjellerstedt [Mon, 4 Dec 2017 10:59:17 +0000 (11:59 +0100)] 
libbsd: Make it build with GCC 5.0 and older

(From OE-Core rev: 2a769d0831cf368992cf540e7758cc2c2d9067ab)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopciutils: upgrade to 3.5.6
Chen Qi [Mon, 4 Dec 2017 10:25:35 +0000 (18:25 +0800)] 
pciutils: upgrade to 3.5.6

(From OE-Core rev: 7e40e007ccd7c97f9d6609d1c729a14b07b2638d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: remove ltp-staticdev package
Dengke Du [Mon, 4 Dec 2017 09:22:03 +0000 (04:22 -0500)] 
ltp: remove ltp-staticdev package

The nm01 testcase runtime depends on a static library, and ltp-staticdev
package is entirely pointless, so remove it and add the static libraries
to ltp main package and skip the "staticdev" checks.

(From OE-Core rev: 002f7b9f038b86b793b8e0558bcd17ad58372767)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomusl: prevent errors if do_install is run more than once
Andre McCurdy [Thu, 30 Nov 2017 20:20:40 +0000 (12:20 -0800)] 
musl: prevent errors if do_install is run more than once

(From OE-Core rev: 3d4c1e0d94175f8c782e94725d365e5e1d1178c1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoquilt: don't patch in an old acinclude.m4, just excude aclocal
Ross Burton [Thu, 30 Nov 2017 13:56:09 +0000 (13:56 +0000)] 
quilt: don't patch in an old acinclude.m4, just excude aclocal

(From OE-Core rev: 21479f1a9e2b77c014d02ddaf2a9a2ee8057b625)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogperf: don't use aclocal.m4/acinclude.m4 dance
Ross Burton [Thu, 30 Nov 2017 13:15:24 +0000 (13:15 +0000)] 
gperf: don't use aclocal.m4/acinclude.m4 dance

gperf doesn't use aclocal so don't call aclocal.

(From OE-Core rev: e080880a82df7f9402a76f20b74e0f43b87f5b71)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogperf: merge inc into bb
Ross Burton [Thu, 30 Nov 2017 12:47:12 +0000 (12:47 +0000)] 
gperf: merge inc into bb

(From OE-Core rev: 28b7ff06d685873aee54b6c27caab3e9518c004a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: don't do aclocal/acinclude dance
Ross Burton [Thu, 30 Nov 2017 12:30:43 +0000 (12:30 +0000)] 
openssh: don't do aclocal/acinclude dance

Instead, just stop running aclocal.

(From OE-Core rev: 0582396081b638811174f9371feacbbf4593bd1a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopango: update upstream-status on a patch
Ross Burton [Wed, 29 Nov 2017 17:38:26 +0000 (17:38 +0000)] 
pango: update upstream-status on a patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorecipes-graphics/piglit: Add patch to fix build in some platforms
Aníbal Limón [Tue, 28 Nov 2017 17:03:23 +0000 (11:03 -0600)] 
recipes-graphics/piglit: Add patch to fix build in some platforms

The entry point is not guaranteed to exist, so use the
piglit_egl_get_default_display() helper which does the correct thing.

(From OE-Core rev: fba2c9309ede86608f985adf46592c31b5d446ca)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic: support filesystem label for rawcopy
Martin Hundebøll [Tue, 28 Nov 2017 12:56:11 +0000 (13:56 +0100)] 
wic: support filesystem label for rawcopy

The '--label' argument should work for '--source rawcopy' as it does for
'--source rootfs', so add a method in RawCopyPlugin to update the label
on the temporary filesystem images.

(From OE-Core rev: 303d6ca5ae986acd2e633b0dc5e386ee7771f8ab)

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoprocps: fix two small problems
Chen Qi [Tue, 28 Nov 2017 08:16:08 +0000 (16:16 +0800)] 
procps: fix two small problems

1. Fix HOMEPAGE. The old one is obsolete.

2. Remove the setting of CPPFLAGS.
It was used to support out-of-tree build. But the problem has been
fixed upstream since commit 90cc5460aa0e9ca10a0d7c8c44064fd14789f750
(build-sys: add $(top_srcdir) to include search dir).

(From OE-Core rev: 201e0b643c44ef599f7b1b0210f21d0023bc0f96)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: fix the makefile for ptest
Jackie Huang [Tue, 28 Nov 2017 07:01:09 +0000 (15:01 +0800)] 
qemu: fix the makefile for ptest

It always fail to check the file generated by configure
when running ptest on the target since it's cross-compiling,
so remove the check from the Makefile for ptest.

(From OE-Core rev: 839f5ed91a8061506b1f71661ec4006783146672)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel.bbclass: Add cleandirs for do_shared_workdir
Saul Wold [Mon, 27 Nov 2017 19:01:54 +0000 (11:01 -0800)] 
kernel.bbclass: Add cleandirs for do_shared_workdir

We add the kernel-build-artifacts to the cleandirs list to ensure
that there are no remaining artificats in the kernel-build-artifacts
directory which is STAGING_KERNEL_BUILDDIR. Without this change
multiple System.map files are visiable in the STAGING_KERNEL_BUILDDIR,
which could cause problems for some tools.

[YOCTO #11880]

(From OE-Core rev: d52a65d3d8512eeb5081d9fb5f18805428358241)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobash: fix build race under musl
Ross Burton [Wed, 29 Nov 2017 12:31:55 +0000 (12:31 +0000)] 
bash: fix build race under musl

Under musl bash uses its own libintl clone but there are some missing
dependencies so it is possible for pathexp.o to be built whilst libintl.h is
being written, leading to compile errors.

(From OE-Core rev: d58c20fd45f4808cbc1726ec5b46edb1c60b9cf8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolzo: don't do aclocal/acinclude dance
Ross Burton [Tue, 28 Nov 2017 20:18:41 +0000 (20:18 +0000)] 
lzo: don't do aclocal/acinclude dance

autoreconf finds autoconf/local.m4 on its own, so there's no need to mess around
with a fork of aclocal.m4 as acinclude.m4.

(From OE-Core rev: 8f9025f05b787f41f1867d340d911d7754ee7794)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonettle: remove aclocal/acinclude dance
Ross Burton [Tue, 28 Nov 2017 19:36:19 +0000 (19:36 +0000)] 
nettle: remove aclocal/acinclude dance

(From OE-Core rev: 4143d0896bcf05d95c29bf18e913f32204c707f0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosite: consolidate ac_cv_func_mmap_fixed_mapped definitions
Ross Burton [Tue, 28 Nov 2017 16:18:15 +0000 (16:18 +0000)] 
site: consolidate ac_cv_func_mmap_fixed_mapped definitions

This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the
worst autoconf macros to exist.

Apart from being a runtime test which silently claims that mmap() is broken when
cross-compiling, this is basically to verify that mmap() actually works, because
SVR4.0 (released 1988) was broken.  Thirty years later, everyone has a working
mmap().

common-glibc already has an assignment, so add a corresponding assignment to
common-musl and remove it from the machine-specific files.

(From OE-Core rev: 93dd7c87cef4fd9c22a09857fb55218c8be87b5b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobash: disable aclocal
Ross Burton [Tue, 28 Nov 2017 14:45:36 +0000 (14:45 +0000)] 
bash: disable aclocal

Bash hand-maintains their aclocal.m4, so stop autoreconf from invoking aclocal
and overwriting it.  This means we can remove the kludge to copy aclocal.m4 to
acinclude.m4.

(From OE-Core rev: 57fe9f61dd4c43f8267b831c1b177ad67010d78c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-utils: 1.1.4 -> 1.1.5
Tanu Kaskinen [Mon, 27 Nov 2017 16:39:34 +0000 (18:39 +0200)] 
alsa-utils: 1.1.4 -> 1.1.5

Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5

Rebased 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch.

(From OE-Core rev: 8313d9521360a32ab42b00018a95050017cdb1bd)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-tools: 1.1.3 -> 1.1.5
Tanu Kaskinen [Mon, 27 Nov 2017 16:39:33 +0000 (18:39 +0200)] 
alsa-tools: 1.1.3 -> 1.1.5

Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5

Rebased autotools.patch and makefile_no_gtk.patch.

Dropped 0001-as10k1-Make-output_tram_line-static-inline.patch with the
assumption that it's not needed any more. The patch added a "static"
qualifier to a function. According to the commit message, this was done
to improve optimization. Upstream removed the "inline" qualifier from
that same function, because it caused some trouble with clang. My guess
is that the patch author actually ran into the same clang problem as
upstream, but came up with a different fix. It doesn't seem like a
function whose optimization anyone would really be interested in.

Cc: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 569beb5f5e32536a3b2e398ddc218ce5ad76cbe1)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-plugins: 1.1.4 -> 1.1.5
Tanu Kaskinen [Mon, 27 Nov 2017 16:39:32 +0000 (18:39 +0200)] 
alsa-plugins: 1.1.4 -> 1.1.5

Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5

(From OE-Core rev: a0ae70f9470dfeef8f2073168e16a6b67f7d2fad)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-lib: 1.1.4.1 -> 1.1.5
Tanu Kaskinen [Mon, 27 Nov 2017 16:39:31 +0000 (18:39 +0200)] 
alsa-lib: 1.1.4.1 -> 1.1.5

Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5

Dropped all patches. The poll.h patch is included in the release, and
the wordexp patch is not needed any more, because the wordexp function
is replaced by an internal reimplementation.

It would still be possible to enable the use of wordexp with the
--with-wordexp configure option. The option exists, because the internal
reimplementation covers only part of what wordexp can do, so not using
wordexp can in theory cause regressions. However, it seems that
regressions are quite unlikely in practice. Here's some discussion about
the topic:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-July/122667.html

(From OE-Core rev: 00b73cbe8ae6d1dd6ba82f0ab5cd38c2d712deb7)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolame: 3.99.5 -> 3.100
Tanu Kaskinen [Mon, 27 Nov 2017 16:39:30 +0000 (18:39 +0200)] 
lame: 3.99.5 -> 3.100

Release notes:
http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html?revision=1.154

Dropped patches that are included in the release:
 - lame-3.99.5_fix_for_automake-1.12.x.patch
 - CVE-2017-13712.patch

The CACHED_CONFIGUREVARS thing to disable SSE code on x86 isn't needed
anymore. The build system now correctly detects when SSE isn't
available.

Note for stable branch maintainers: This release includes several fixes
for bugs that have a CVE number associated with them. The bugs (or at
least most of them) are crashes that seem to be considered "remote DoS"
vulnerabilities, probably because it's easy to imagine lame being used
with untrusted audio files from remote sources. If you want to backport
"all sercurity fixes" to the stable brances, that task seems pretty
difficult. The release notes explicitly mention three CVE numbers, but
there are more: for example, OE had a fix for CVE-2017-13712, which is
not mentioned in the release notes but is fixed in the release. The
commit log doesn't keep any track of CVE numbers either. Maybe it would
be best to just upgrade lame to 3.100 also in the stable branches.

(From OE-Core rev: 930f8873e0e180da7242f65bfd5c60f9d6c19424)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopulseaudio: 10.0 -> 11.1
Tanu Kaskinen [Mon, 27 Nov 2017 16:39:29 +0000 (18:39 +0200)] 
pulseaudio: 10.0 -> 11.1

11.0 release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/

Additional changes in 11.1:
 * Fix a crash in filter modules related to flat volumes and volume
   sharing
 * Fix a crash when the bluetooth adapter reports weird MTU size
 * Disable bluetooth MTU autodetection by default
 * Add mixer handling back for hardware that doesn't have any alsa-lib
   configuration
 * Prioritize USB devices over built-in sound cards (11.0 was supposed
   to have this feature, but the implementation turned out to be
   incomplete)

Dropped backported patch:
pulseaudio-discuss-iochannel-don-t-use-variable-length-array-in-union.patch

(From OE-Core rev: c6d7d89d9a6bbe2de62fa1a91b833bf1c03693ac)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorootfs-postcommands.bbclass: ensure that rootfs gets mounted ro
Patrick Ohly [Mon, 27 Nov 2017 15:56:42 +0000 (16:56 +0100)] 
rootfs-postcommands.bbclass: ensure that rootfs gets mounted ro

When read-only-rootfs is active, we need to ensure that the rootfs
does not get mounted read/write by the kernel or initramfs. Adding
"ro" to the boot parameters achieves that.

(From OE-Core rev: cfc09de06ecc12bb42181004689e881c75072665)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconnman.inc: do not check IMAGE_FEATURES
Patrick Ohly [Mon, 27 Nov 2017 15:56:41 +0000 (16:56 +0100)] 
connman.inc: do not check IMAGE_FEATURES

Recipes can't rely on IMAGE_FEATURES to determine whether the
resulting packages will be used in an image with read/write or
read-only rootfs because IMAGE_FEATURES is a per-image recipe
variable.

The connman.inc code checked IMAGE_FEATURES to determine whether
/var/run/connman needs to be created via tmpfiles.d when booting a
read-only rootfs. In my tests that is not necessary (anymore?),
something (connman itself?) creates the missing directory.

(From OE-Core rev: 577585375efac8f86223d7549ce39cd70877cbd9)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotemplates/layer.conf: remove backslash to enable bbappend setting
Chen Qi [Fri, 24 Nov 2017 04:57:24 +0000 (12:57 +0800)] 
templates/layer.conf: remove backslash to enable bbappend setting

Remove the redundant backslash in template layer.conf file, otherwise,
the bbappend line setting wouldn't have effect, causing bbappend files
in these created layers not having any effect.

(From OE-Core rev: 7909b258ac87d4be9bb7aba00d12fd363bd9b248)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: allow dots in arguments to template units
Martin Hundebøll [Thu, 23 Nov 2017 12:24:10 +0000 (13:24 +0100)] 
systemd: allow dots in arguments to template units

When installing systemd template units with an argument, the current code
removes characters between the '@' and the '.' from service names in
SYSTEMD_SERVICE_${PN}, e.g.:

  getty@tty1.service -> getty@.service

This fails for services with dots in the argument (which is perfectly
legal in systemd), since the code searches only until the first dot.
E.g.:

  vlan@eth0.1.service -> vlan@1.service

This is obviously wrong, and fails in systemd_populate_packages(), where
it fails to find the unit file.

Fix this by reworking the removal of the argument part of the service
name, so that parts before '@' and after teh last '.' are used as base
name.

(From OE-Core rev: 4704bd91458a728f28cbdc57dcf78f5d04cfd0cd)

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxserver-xf86-config: remove last trace of 10-preload-modules.conf
Ross Burton [Fri, 1 Dec 2017 13:44:13 +0000 (13:44 +0000)] 
xserver-xf86-config: remove last trace of 10-preload-modules.conf

This file has been removed but the CONFFILES assignment for it wasn't.

(From OE-Core rev: 5caf53cddceafe55d25a9e53843bbcc2012db829)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, yocto-project-qs: Fixed some broken links
Scott Rifenbark [Fri, 8 Dec 2017 22:06:46 +0000 (14:06 -0800)] 
dev-manual, yocto-project-qs: Fixed some broken links

Links to the section in the BSP manual for how to create a new
BSP layer using 'bitbake-layers' were needing fixed.

(From yocto-docs rev: 150612925421b09e84f85514e65e58d179e5be46)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Cleaned up Saul's notes
Kristi Rifenbark [Fri, 8 Dec 2017 00:05:12 +0000 (16:05 -0800)] 
bsp-guide: Cleaned up Saul's notes

This section needs input from engineering.
It is incomplete, but as best as it can be for now.

(From yocto-docs rev: 1212f1eeebd23cb11c63889f3ee602e761450967)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: Added writernotes style
Kristi Rifenbark [Fri, 8 Dec 2017 00:04:34 +0000 (16:04 -0800)] 
bsp-guide: Added writernotes style

(From yocto-docs rev: 25afb2b10fb278b6ae8519c703a7e56f87096668)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobsp-guide: WIP Removing yocto-bsp
Kristi Rifenbark [Sat, 18 Nov 2017 00:30:16 +0000 (16:30 -0800)] 
bsp-guide: WIP Removing yocto-bsp

(From yocto-docs rev: 056cc0c1dab79df6911552a690ca6b4dc302cc8b)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoyocto-project-qs, mega-manual: Overhaul of the QS
Scott Rifenbark [Fri, 24 Nov 2017 17:54:12 +0000 (09:54 -0800)] 
yocto-project-qs, mega-manual: Overhaul of the QS

Changed the way the YP QS looks.  The QS now has numbered sections
rather than just formatted section heads.  This allows the reader
to better track the hierarchy of the sections.  This feature has
been asked for before and I decided it was time to implement it.
One thing though, is I am not generating a full TOC at the head
of the book as is done in the other YP manuals.

Decided to add a manual title .PNG file.  This required a new figure
file (ypqs-title.png) that needed to reside in the figures folder of
both the yocto-project-qs and mega-manual.  Updates were required in
the Makefile to include the figure.  Updates required in the
YP QS style sheet to display the figure.  Basically, there were all
kinds of changes to get this title to show up properly in both the
YP QS and in the Mega Manual.

Turned the structure of the YP QS into a book now rather than an
article.  This required creating a "qs.xml" file that has the actual
content.

(From yocto-docs rev: ef05f5c7ba2a61ebc4c58873cbbc32d35652659d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomakefile: Removed "yocto-environment.png" from tar list of mega-manual
Scott Rifenbark [Thu, 30 Nov 2017 22:46:48 +0000 (14:46 -0800)] 
makefile: Removed "yocto-environment.png" from tar list of mega-manual

File is not used.

(From yocto-docs rev: 83eb6d4decfe698a5f4be9c3c9792ef60e404323)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Fixed redundant link for "build system"
Scott Rifenbark [Thu, 30 Nov 2017 22:40:13 +0000 (14:40 -0800)] 
ref-manual: Fixed redundant link for "build system"

(From yocto-docs rev: 08f9683f53f78cdd13ca760392effb01fc755d57)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added new terms to Yocto Project Terms section.
Scott Rifenbark [Thu, 30 Nov 2017 22:28:39 +0000 (14:28 -0800)] 
ref-manual: Added new terms to Yocto Project Terms section.

Added "BSP", "Reference Kit", and "Build System"

(From yocto-docs rev: f2783d8150ea39e5e116aeebc5305e2c64c3b806)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added the GCCPIE Variable to Glossary
Kristi Rifenbark [Tue, 7 Nov 2017 23:55:41 +0000 (15:55 -0800)] 
ref-manual: Added the GCCPIE Variable to Glossary

(From yocto-docs rev: b30f3d3bd6f6d333b00fc9c3797126a898fb0685)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added kernel-devicetree to the Classes section
Kristi Rifenbark [Thu, 2 Nov 2017 23:53:41 +0000 (16:53 -0700)] 
ref-manual: Added kernel-devicetree to the Classes section

(From yocto-docs rev: 1ea1f0dc6451030738c506c4d6228b31f67f3f36)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added the BB_SERVER_TIMEOUT variable to glossary
Kristi Rifenbark [Thu, 2 Nov 2017 23:44:06 +0000 (16:44 -0700)] 
ref-manual: Added the BB_SERVER_TIMEOUT variable to glossary

(From yocto-docs rev: 6e765f4017ae300f83839201b123afa2a3662d70)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolib/oe/utils: remove param_bool()
Ross Burton [Thu, 30 Nov 2017 10:58:13 +0000 (10:58 +0000)] 
lib/oe/utils: remove param_bool()

This function is not used by any classes or recipes that I can find, so lets
delete it.

(From OE-Core rev: a7cd9d1183be603777fc9c8c448281fe01224f7b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager: force dnf to refresh the cache
Ross Burton [Mon, 27 Nov 2017 17:14:50 +0000 (17:14 +0000)] 
package_manager: force dnf to refresh the cache

DNF has a time-based cache policy (and a great sense of humour) so it's possible
that 'dnf makecache' won't actually refresh any caches.  Force the cache updates
by passing --refresh.

(From OE-Core rev: a6e34b6aa194a27db9667af1fb0195ac8fb563f5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa-selftest: fix upstream version checks for devtool test recipes
Alexander Kanavin [Fri, 24 Nov 2017 13:17:44 +0000 (15:17 +0200)] 
meta-selftest: fix upstream version checks for devtool test recipes

So that they're reported correctly when checking 'universe' for
latest upstream versions.

(From OE-Core rev: 7d1a28082da29e4c0db4d8bcb9f242049a763bf9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutil-linux: fix register location for rfkill to avoid conflict
Chen Qi [Thu, 23 Nov 2017 05:55:40 +0000 (13:55 +0800)] 
util-linux: fix register location for rfkill to avoid conflict

If we have 'wifi' in distro feature, then busybox would have rfkill
enabled. And we would have the following do_rootfs failure if we
install both busybox and util-linux-rfkill.

  Error: cannot register alternative rfkill to /usr/bin/rfkill since
  it is already registered to /usr/sbin/rfkill.

There's another provider of rfkill in OE, that is rfkill recipe in meta-oe.
And it also registers rfkill to ${sbindir}/rfkill.

So change the register location of rfkill in util-linux to avoid
conflict with busybox and rfkill recipes.

(From OE-Core rev: e01107c5da395a32f9a017f8ee8cc8421c5671e0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: Allow the user to override the device tree option
Alistair Francis [Wed, 22 Nov 2017 00:43:57 +0000 (16:43 -0800)] 
runqemu: Allow the user to override the device tree option

Update the runqemu script to allow the user to specify a device tree
to boot when calling runqemu.

This involves creating a seperate check_dtb() function incase the user
has specified 'none' for the kernel but still wants a device tree.

(From OE-Core rev: 867ac1370b294bfd1ee31f94abb63688f77081a1)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Ben Levinsky <ben.levinsky@xilinx.com>
Cc: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: Allow the user to override the Kernel option
Alistair Francis [Wed, 22 Nov 2017 00:43:56 +0000 (16:43 -0800)] 
runqemu: Allow the user to override the Kernel option

Update the runqemu script to allow the user to specify a Kernel to boot
when calling runqemu.

(From OE-Core rev: eaf2793a98cb27d82561da0f8993f2b4b304ecc2)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Cc: Ben Levinsky <ben.levinsky@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo: ensure use of BUILD_CC when building bootstrap tools
Matt Madison [Tue, 14 Nov 2017 17:20:15 +0000 (09:20 -0800)] 
go: ensure use of BUILD_CC when building bootstrap tools

For cross-canadian builds, we were accidentally using
the crosssdk C compiler when building the Go compiler
bootstrap.  Add a patch to the make script to let us
use BUILD_CC, and prepend do_compile to set it in
the local environment to ensure that the trailing
blank gets stripped, since that confuses Go.

[YOCTO #12341]

(From OE-Core rev: 0dbb860924fc157880b52d8e08bad3c6c6b019b8)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomtd-utils: fix flash_eraseall installation conflict
Andrej Valek [Thu, 23 Nov 2017 09:38:58 +0000 (10:38 +0100)] 
mtd-utils: fix flash_eraseall installation conflict

override correctly busybox's applet when CONFIG_FLASH_ERASEALL=y is set

Error: update-alternatives: not linking /builds/image/1.0-r0/rootfs/usr/
sbin/flash_eraseall to /bin/busybox.nosuid since /builds/image/1.0-r0/
rootfs/usr/sbin/flash_eraseall exists and is not a link

(From OE-Core rev: 21d5a52d86a4090f7ddb1a9eb41bb143261f890e)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: improve reproducibility
Juro Bystricky [Wed, 22 Nov 2017 21:58:29 +0000 (13:58 -0800)] 
ltp: improve reproducibility

ltp package contains several gzipped files.
Improve reproducibility of the build by ensuring the gzipped files
do not contain timestamps in their headers.

https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders

(From OE-Core rev: d4ac52bef9f5364619fcb8e2f8c05927d660fff7)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitramfs-live-boot-tiny: Create the initramfs-live-boot-tiny recipe
Alejandro Hernandez [Wed, 22 Nov 2017 17:09:30 +0000 (09:09 -0800)] 
initramfs-live-boot-tiny: Create the initramfs-live-boot-tiny recipe

The original initramfs-live-boot recipe RDEPENDS on udev, which is ok since
the init script relies some of its functionality on udevadm and such,
but on core-image-tiny-initramfs the init script simply drops to shell
after a basic setup, so udev is not needed.

This patch splits up an initramfs-live-boot-tiny recipe which does not
use udev, but uses busybox-mdev instead, eudev installed about 600
extra Kilobytes to core-image-tiny-initramfs userspace, by avoiding to
install eudev we achieve an even smaller footprint (almost 40% smaller).

(From OE-Core rev: 7725bad91b89a291a7099b2d99789a86b028f329)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoneon: remove the recipe
Alexander Kanavin [Wed, 22 Nov 2017 16:32:33 +0000 (18:32 +0200)] 
neon: remove the recipe

For these reasons:
1) Upstream website has been dead for quite a while now;
2) Nothing is actually using neon in oe-core, except one gstreamer plugin in gst-plugins-bad
(and I couldn't find evidence of that plugin being used anywhere)

However, the recipe is still required by libmusicbrainz in meta-oe and so it will be moved there
(with the tarball taken from debian).

(From OE-Core rev: 62513ad6d38e4aba3e6b155e04c4c6344ed70ebc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokern-tools-native: fix upstream version check
Alexander Kanavin [Wed, 22 Nov 2017 16:32:32 +0000 (18:32 +0200)] 
kern-tools-native: fix upstream version check

(From OE-Core rev: 1adff22d486a24b16d7233c1fd0a63c774f4e4ad)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopkg-utils: fix upstream version check
Alexander Kanavin [Wed, 22 Nov 2017 16:32:31 +0000 (18:32 +0200)] 
opkg-utils: fix upstream version check

(From OE-Core rev: 4390618cc73ed318ca9a27d32f02e401ef9d9cc8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agom4-native: fix upstream version check
Alexander Kanavin [Wed, 22 Nov 2017 16:32:30 +0000 (18:32 +0200)] 
m4-native: fix upstream version check

(From OE-Core rev: cfdee980fe48a081c489ff3e1bfd5d0b149c5e8f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocdrtools-native: fix upstream version check
Alexander Kanavin [Wed, 22 Nov 2017 16:32:29 +0000 (18:32 +0200)] 
cdrtools-native: fix upstream version check

(From OE-Core rev: 85fb32ad0ea1ad420902d84a32327e335f79bdfb)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowpa-supplicant: add a missing WPA_COMMON_CTRL_IFACE definition
Ming Liu [Wed, 22 Nov 2017 13:40:33 +0000 (14:40 +0100)] 
wpa-supplicant: add a missing WPA_COMMON_CTRL_IFACE definition

The WPA_COMMON_CTRL_IFACE definition is missing, which leads to obvious
problems since there is no way to access the ctrl socket. So add it in.

(From OE-Core rev: 7baa3137859915fdbaaea0499b442f5d9df3f17b)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinstall*.sh: add short sleep after parted commands
California Sullivan [Tue, 21 Nov 2017 23:02:09 +0000 (15:02 -0800)] 
install*.sh: add short sleep after parted commands

I wasn't able to install to my Optane SSD due to the following error:

Formatting /dev/nvme0n1p1 to vfat...
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/nvme0n1p1: No such file or directory
Target install-efi failed

A couple lines later I see:

[    10.265401]  nvme0n1: p1 p2 p3

Then looking at the device itself after booting from a USB stick:

root@intel-corei7-64: ~# ls /dev/nvme0n1*
/dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3

So it looks like the parted commands return before the device node is
actually created.

Work around this issue by waiting for device nodes for a short duration.

(From OE-Core rev: 9daafd49b448122e35d67a1637ce2212793a4dc5)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinit-install: fix grub-install command
California Sullivan [Tue, 21 Nov 2017 21:47:02 +0000 (13:47 -0800)] 
init-install: fix grub-install command

The grub_version variable was calling 'grub-install -v' (verbose) instead
of 'grub-install -V' (version) causing unexpected failures.

Fixes bug [YOCTO #12111].

(From OE-Core rev: 38dcbd96e82b1c40576a0514f053266429dca5d1)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoupdate-alternatives.bbclass: refuse to manage SysV init scripts
Markus Lehtonen [Mon, 5 Dec 2016 11:35:16 +0000 (13:35 +0200)] 
update-alternatives.bbclass: refuse to manage SysV init scripts

Sanity check for future packages.

[YOCTO #10944]

(From OE-Core rev: 061fa614cec49deb0374ccadf3013e5cc8ad2c51)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "classes: Fix alternatives and rc.d ordering"
Markus Lehtonen [Thu, 19 Jan 2017 12:28:48 +0000 (14:28 +0200)] 
Revert "classes: Fix alternatives and rc.d ordering"

This kludge is not needed anymore, now that syslog packages (or any
other package) don't use update-alternatives for managing SysV init
scripts.

This reverts commit fc89a3f739ff25306ea91d9bdb424fc8389bdf72.

[YOCTO #10944]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitscripts: rrecommend initscripts-functions
Markus Lehtonen [Wed, 14 Dec 2016 11:51:37 +0000 (13:51 +0200)] 
initscripts: rrecommend initscripts-functions

In order to make that the default provider for initd-functions.

[YOCTO #10944]

(From OE-Core rev: d32eaebed5726c6157a2ac993baeb6d16683ade7)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolsbinitscripts: don't use update-alternatives
Markus Lehtonen [Wed, 7 Dec 2016 10:25:35 +0000 (12:25 +0200)] 
lsbinitscripts: don't use update-alternatives

Make lsbinitscripts (r)conflict with initscripts-functions package.

[YOCTO #10944]

(From OE-Core rev: 1202307b24def6cb7e6ebc92b47736e42d32cbb6)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitscripts: don't use update-alternatives
Markus Lehtonen [Wed, 7 Dec 2016 10:08:25 +0000 (12:08 +0200)] 
initscripts: don't use update-alternatives

Stop using update-alternatives for managing /etc/init.d/functions. Also,
make the initscripts-functions subpackage to (runtime) conflict with
lsbinitscripts.

[YOCTO #10944]

(From OE-Core rev: cdcebd81c872cb7386c658998e27cf24e1d0447c)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysklogd: don't use update-alternatives
Markus Lehtonen [Fri, 18 Nov 2016 12:08:28 +0000 (14:08 +0200)] 
sysklogd: don't use update-alternatives

Using update-alternatives for managing init scripts has proved to be
problematic. And, sysklogd rconflicts with other syslog daemons so there
is no point in using update-alternatives from this perspective, either.

[YOCTO #10944]

(From OE-Core rev: 988aad01b20c18a8850db0ad6dc547525d94116c)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest/runtime_test: simplify postinst testing
Ross Burton [Wed, 22 Nov 2017 16:00:17 +0000 (16:00 +0000)] 
oeqa/selftest/runtime_test: simplify postinst testing

Update the packages and file names to reflect the new postinst recipe.

Fix a sh syntax error in the run_serial file exists test which was hidden by a
logic problem in the status code.

Remove the older test_verify_postinst as it's effectively a subset of
test_postinst_rootfs_and_boot, and doesn't work: when booting under systemd the
strings it searches for are not output to the console, but the test still
passes.

(From OE-Core rev: 781a1be88f5812157a231bf5771a01bb978bfcd9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopostinst: fix and simplify the postinst test recipe
Ross Burton [Wed, 22 Nov 2017 15:59:30 +0000 (15:59 +0000)] 
postinst: fix and simplify the postinst test recipe

Reduce the number of packages, and fix some syntax and logic errors in the
scripts.

(From OE-Core rev: 228f5f072218823aa9d47f2fb1dcde584fde7a44)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/commands: don't break if get_bb_vars is passed a tuple
Ross Burton [Wed, 22 Nov 2017 15:56:54 +0000 (15:56 +0000)] 
oeqa/commands: don't break if get_bb_vars is passed a tuple

get_bb_vars was using variables.copy() to duplicate the list of variables passed
but this function only exists in lists [1,2] and not tuples (1,2).

Instead of throwing an exception if the variables are in a tuple, simply
construct a new list using the passed sequence-like object.

(From OE-Core rev: b5837f62c8af94d134cf2160afdfb9e08b3418d1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobin_package: fail if ${S} doesn't actually contain anything
Ross Burton [Thu, 15 Jun 2017 16:48:58 +0000 (17:48 +0100)] 
bin_package: fail if ${S} doesn't actually contain anything

If the user is trying to use bin_package but the SRC_URI hasn't extracted
anything into ${S}, which is easily done when writing a recipe by hand, instead
of silently shippping an empty package abort the build.

(From OE-Core rev: bf5627ddbe5371eba62f73c33735fb1cf35c2194)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibassuan: update to 2.4.4
Armin Kuster [Tue, 21 Nov 2017 20:01:35 +0000 (12:01 -0800)] 
libassuan: update to 2.4.4

forward ported patch

assuan-def.h checksum changed do to "SPDX formating"
assuan.c checksum changes do to "SPDX formating"

(From OE-Core rev: ec00c2eb893b1755f9fdf89d0c74dc0e0bc3cf01)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonss: update to 3.34
Armin Kuster [Tue, 21 Nov 2017 20:01:34 +0000 (12:01 -0800)] 
nss: update to 3.34

for more info see:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.34_release_notes

(From OE-Core rev: 55ad71fd60507d566bf5235b5a119b327184fcf0)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonettle: update to 3.4 and cleanup
Armin Kuster [Tue, 21 Nov 2017 20:01:33 +0000 (12:01 -0800)] 
nettle: update to 3.4 and cleanup

merge .inc
forward ported two patches to work with 3.4

for more info see:
http://lists.gnu.org/archive/html/info-gnu/2017-11/msg00007.html

Change SRC_URI to use GNU download instead of liu.se, which interacts badly with
wget 1.19.2 and downloads uncompressed tarballs (RB).

(From OE-Core rev: 0b5d971a4e8e6904d2f4641fd5f3647d23ff4fa0)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
XX nettle: update SRC_URI
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agognutls: update to 3.6.1
Armin Kuster [Tue, 21 Nov 2017 20:01:32 +0000 (12:01 -0800)] 
gnutls: update to 3.6.1

zlib configure.ac support removed in  3.6.1
drop patch

(From OE-Core rev: 537325f204f2f7c66f13a12dc8fc08f8e16e4754)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl: fix runtime errors with Thumb2 when using binutils 2.29
Stefan Agner [Sat, 18 Nov 2017 08:53:57 +0000 (09:53 +0100)] 
openssl: fix runtime errors with Thumb2 when using binutils 2.29

When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled
crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH
server using the affected binary fails with:
  ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature

Backport upstream bugfix:
https://github.com/openssl/openssl/issues/4659

(From OE-Core rev: e76dcfbd6e1ad6fc147a0607dcdaf8e7ea98b610)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl: Upgrade 1.1.0f -> 1.1.0g
Stefan Agner [Sat, 18 Nov 2017 08:53:56 +0000 (09:53 +0100)] 
openssl: Upgrade 1.1.0f -> 1.1.0g

Deals with two CVEs:
* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)

(From OE-Core rev: edf9686be28fc321886d48043bcb4ef5b2c00c1d)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl10: fix runtime errors with Thumb2 when using binutils 2.29
Stefan Agner [Sat, 18 Nov 2017 08:53:55 +0000 (09:53 +0100)] 
openssl10: fix runtime errors with Thumb2 when using binutils 2.29

When compiling OpenSSL with binutils 2.29 for ARM with Thumb2 enabled
crashes and unexpected behavior occurs. E.g. connecting to a OpenSSH
server using the affected binary fails with:
  ssh_dispatch_run_fatal: Connection to 192.168.10.171 port 22: incorrect signature

Backport upstream bugfix:
https://github.com/openssl/openssl/issues/4659

(From OE-Core rev: 977db3843b629112539d3eb766c845127c0de497)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl10: Upgrade 1.0.2l -> 1.0.2m
Stefan Agner [Sat, 18 Nov 2017 08:53:54 +0000 (09:53 +0100)] 
openssl10: Upgrade 1.0.2l -> 1.0.2m

Deals with two CVEs:
* bn_sqrx8x_internal carry bug on x86_64 (CVE-2017-3736)
* Malformed X.509 IPAddressFamily could cause OOB read (CVE-2017-3735)

(From OE-Core rev: a200115c769eff4b9b0241d54ed5ad86da08fdbc)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoscripts/contrib/bbvars.py: Remove dead code
Amanda Brindle [Tue, 21 Nov 2017 00:40:25 +0000 (16:40 -0800)] 
scripts/contrib/bbvars.py: Remove dead code

Removed the -m option since this script now searches through all
recipes in the configuration. Also removed dead code, which includes
the functions recipe_bbvars() and collect_bbvars().

(From OE-Core rev: dac6515fcd23ea9cde5308c1d08a7a928efbb4d6)

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibepoxy: Fix build break for EGL_CAST dependency
Tom Hochstein [Sat, 18 Nov 2017 15:02:20 +0000 (09:02 -0600)] 
libepoxy: Fix build break for EGL_CAST dependency

This is a backport [1] to fix the following build error:

| In file included from /home/r60874/upstream/xwayland/tmp/work/armv7at2hf-neon-mx6qdl-fslc-linux-gnueabi/gtk+3/3.22.17-r0/recipe-sysroot/usr/include/epoxy/egl.h:46:0,
|                  from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.h:32,
|                  from ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:24:
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c: In function 'gdk_wayland_gl_context_realize':
| ../../../gtk+-3.22.17/gdk/wayland/gdkglcontext-wayland.c:179:43: error: expected expression before 'EGLContext'
|                                          : EGL_NO_CONTEXT,
|                                            ^

[1] https://github.com/anholt/libepoxy/commit/ebe3a53db1c0bb34e1ca963b95d1f222115f93f8

(From OE-Core rev: b468e28194be39f6d6a2084bb51773c45253d5f7)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: remove two setup.py cross-compile hacks
Markus Lehtonen [Mon, 20 Nov 2017 12:15:32 +0000 (14:15 +0200)] 
python3: remove two setup.py cross-compile hacks

Remove two unneeded hacks. The first hack ("setup.py: no host headers
libs" patch) is not needed because we use cross-compiler (e.g.
i586-oe-linux-gcc) which has not been configured with any host system
include or library directories, and thus, we don't get any host system
directories when running "gcc -E -v".

The second hack becomes useless after the first hack has been removed
and we get the standard include and lib directories normally from gcc.

(From OE-Core rev: 9e9545ef818adfb57f428db96d4c2ebb0ea65ec6)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibmnl: enable native
Markus Lehtonen [Mon, 20 Nov 2017 12:15:23 +0000 (14:15 +0200)] 
libmnl: enable native

(From OE-Core rev: 685b713362ac101e2fc726bed75bac05e3839745)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomesa/screen: change patch status
Hongxu Jia [Fri, 17 Nov 2017 06:08:05 +0000 (01:08 -0500)] 
mesa/screen: change patch status

The patch has been accepted upstream.
Changed patch status Pending/Submitted -> Accepted.

(From OE-Core rev: 23bc53b6894155c87b8fc86862b958bad3e3bf0c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>