]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agogcc: Update to final 6.2.0 release
Khem Raj [Tue, 23 Aug 2016 01:27:31 +0000 (18:27 -0700)]
gcc: Update to final 6.2.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopiglit: Add python3-argparse module to RDEPENDS
Fabio Berton [Tue, 23 Aug 2016 19:13:37 +0000 (16:13 -0300)]
piglit: Add python3-argparse module to RDEPENDS

Python module argparse was removed from python3-misc package, so we
need to add new python3-argparse package to RDEPENDS.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: build_image: Fix recipe filter
Ola x Nilsson [Tue, 23 Aug 2016 09:08:21 +0000 (11:08 +0200)]
devtool: build_image: Fix recipe filter

The missing split() causes dev and dbg packages to match.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: Use the wildcard flag in update_recipe_patch
Ola x Nilsson [Tue, 23 Aug 2016 07:28:10 +0000 (09:28 +0200)]
devtool: Use the wildcard flag in update_recipe_patch

The --wilcard-version flag was only used in the srcrev variant of the
update-recipe command.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonasm: 2.11.08 -> 2.12.02
Robert Yang [Tue, 23 Aug 2016 00:39:22 +0000 (17:39 -0700)]
nasm: 2.11.08 -> 2.12.02

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosubversion: 1.9.3 -> 1.9.4
Robert Yang [Tue, 23 Aug 2016 00:39:21 +0000 (17:39 -0700)]
subversion: 1.9.3 -> 1.9.4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogit: 2.9.2 -> 2.9.3
Robert Yang [Tue, 23 Aug 2016 00:39:20 +0000 (17:39 -0700)]
git: 2.9.2 -> 2.9.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd-compat-units: do not inherit allarch
Joe Slater [Mon, 22 Aug 2016 22:12:31 +0000 (15:12 -0700)]
systemd-compat-units: do not inherit allarch

Even though we are just a script, we do depend on
systemd being on the target and need an RDEPENDS
which means we cannot also be allarch.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash-completion: add bash-completion to DEPENDS for target packages
Ross Burton [Tue, 23 Aug 2016 15:43:29 +0000 (16:43 +0100)]
bash-completion: add bash-completion to DEPENDS for target packages

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoutils: check_app_exists: strip whitespace from binary when searching
Ross Burton [Tue, 23 Aug 2016 15:00:02 +0000 (16:00 +0100)]
utils: check_app_exists: strip whitespace from binary when searching

It's possible that the binary to be searched for contains whitespace which will
cause the search to fail, so strip any whitespace before looking.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/runtime/rpm: use su instead of sudo
Ross Burton [Tue, 23 Aug 2016 14:14:04 +0000 (15:14 +0100)]
oeqa/runtime/rpm: use su instead of sudo

This test works fine with su, which is more likely to be installed in images
than sudo.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolayer.conf: remove pointercal
Maxin B. John [Wed, 10 Aug 2016 09:01:03 +0000 (12:01 +0300)]
layer.conf: remove pointercal

remove pointercal reference from layer.conf file since we moved the
pointercal recipe from oe-core.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agodistro_alias.inc: remove xtscal, pointercal and tslib references
Maxin B. John [Mon, 8 Aug 2016 09:45:18 +0000 (12:45 +0300)]
distro_alias.inc: remove xtscal, pointercal and tslib references

Remove xtscal, pointercal and tslib reference from distro_alias.inc
file since we moved those recipes from oe-core

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopointercal: remove recipe
Maxin B. John [Wed, 10 Aug 2016 08:29:06 +0000 (11:29 +0300)]
pointercal: remove recipe

Remove pointercal recipe along with xtscal since we replace it with
xinput-calibrator

[YOCTO #9365]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agotslib: remove recipe
Maxin B. John [Wed, 10 Aug 2016 08:32:07 +0000 (11:32 +0300)]
tslib: remove recipe

Modern systems generally use the kernel driver or libinput instead
of tslib. Move tslib from oe-core along with xtscal.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agoxtscal: remove recipe
Maxin B. John [Mon, 6 Jun 2016 12:44:01 +0000 (15:44 +0300)]
xtscal: remove recipe

Remove xtscal in preference of xinput-calibrator

[YOCTO #9365]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopackagegroup-core-x11-base.bb: remove pointercal
Maxin B. John [Tue, 5 Jul 2016 14:44:17 +0000 (17:44 +0300)]
packagegroup-core-x11-base.bb: remove pointercal

Remove pointercal from packagegroup-core-x11-base since we removed
xtscal in favour of xinput-calibrator

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agox11-common: replace xtscal with xinput-calibrator
Maxin B. John [Mon, 6 Jun 2016 12:46:27 +0000 (15:46 +0300)]
x11-common: replace xtscal with xinput-calibrator

Replace xtscal with xinput-calibrator as part of removing xtscal.

[YOCTO #9365]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopackagegroup-core-tools-testapps: remove tslib references
Maxin B. John [Wed, 10 Aug 2016 08:51:07 +0000 (11:51 +0300)]
packagegroup-core-tools-testapps: remove tslib references

Remove tslib references from packagegroup-core-tools-testapps since
we removed tslib along with xtscal.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopointercal-xinput: add a dummy calibration file for qemu
Maxin B. John [Wed, 15 Jun 2016 12:59:17 +0000 (15:59 +0300)]
pointercal-xinput: add a dummy calibration file for qemu

In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makes xinput_calibrator think it could be calibrated.

Add a dummy calibration file as a work around to prevent xinput_calibrator from
popping up on every boot in qemu.

[YOCTO #8380]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
8 years agoparselogs: Ignore uvesafb timeouts
Richard Purdie [Fri, 19 Aug 2016 10:03:00 +0000 (11:03 +0100)]
parselogs: Ignore uvesafb timeouts

We're periodically seeing uvesafb timeouts on the autobuilder. Whitelist these
errors as there is little it seems we can do about them and we therefore
choose to ignore them rather than fail the builds.

[YOCTO #8245]

There is a better solution proposed in the bug with a -1 timeout however
this avoids failed builds until such times as that is implemented.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: use COMPRESSIONTYPES variable for backward compatibility
Ed Bartosh [Fri, 19 Aug 2016 14:35:53 +0000 (17:35 +0300)]
image_types: use COMPRESSIONTYPES variable for backward compatibility

Recent renaming of COMPRESSIONTYPES variable can break recipes that
still use it. Including value of COMPRESSIONTYPES variable into
CONVERSIONTYPES should prevent this.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agohdparm: set LICENSE correctly
Ross Burton [Fri, 5 Aug 2016 15:15:41 +0000 (16:15 +0100)]
hdparm: set LICENSE correctly

LICENSE is recipe-wide so should be BSD & GPLv2, and then override LICENSE_${PN}
to just BSD as LICENSE_wiper is GPLv2.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolicense: simple verification of LICENSE_<pkg> values
Markus Lehtonen [Wed, 3 Aug 2016 13:32:15 +0000 (16:32 +0300)]
license: simple verification of LICENSE_<pkg> values

LICENSE should be a superset of all LICENSE_<pkg> values. That is,
LICENSE should contain all licenses and LICENSE_<pkg> can be used to
"filter" this on a per-package basis. LICENSE_<pkg> shouldn't contain
anything that isn't specified in LICENSE.

This patch implements simple checking of LICENSE_<pkg> values. It does
do not do advanced parsing/matching of license expressions, but,
checks that all licenses mentioned in LICENSE_<pkg> are also specified in
LICENSE. A warning is printed if problems are found.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolicense.bbclass: do not process LICENSE_pn variables
Markus Lehtonen [Wed, 3 Aug 2016 13:32:14 +0000 (16:32 +0300)]
license.bbclass: do not process LICENSE_pn variables

The loop iterating over LICENSE_pn variables has never worked. In
addition, the LICENSE variable is supposed to contain all licenses
defined in LICENSE_pn variables. Thus, it is simpler just to use LICENSE
as the data we get is essentially the same.

[YOCTO #9499]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: python3: fix UnicodeDecodeError
Ed Bartosh [Wed, 24 Aug 2016 10:16:15 +0000 (13:16 +0300)]
combo-layer: python3: fix UnicodeDecodeError

check_patch function opens patch file in text mode. This causes
python3 to throw exception when calling readline():
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position
                        NNNN: invalid start byte

Opening file in binary mode and using binary type instead of strings
should fix this.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror
Richard Purdie [Tue, 23 Aug 2016 16:58:42 +0000 (17:58 +0100)]
oeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror

We've had some upstream mirror instability so use our own mirror for the
iptables sources to ensure this doesn't affect the test results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxserver-xf86-config: pre-load int10 and exa modules
Khem Raj [Sat, 20 Aug 2016 20:36:09 +0000 (13:36 -0700)]
xserver-xf86-config: pre-load int10 and exa modules

musl doesn't like lazy loading that xorg uses, therefore
load the needed modules explicitly

[YOCTO #10169]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocmake.bbclass: call cmake with a relative path
Thomas Witt [Mon, 22 Aug 2016 14:27:11 +0000 (16:27 +0200)]
cmake.bbclass: call cmake with a relative path

CMake wants a relative path for CMAKE_INSTALL_*DIR, an absolute path
breaks cross-compilation. This fact is documented in the following
ticket: https://cmake.org/Bug/view.php?id=14367

$sysconfdir and $localstatedir are not relative to $prefix, so they are
still set as absolute paths. With his change ${PROJECT}Targets.cmake
that are generated by cmakes "export" function will contain relative
paths instead of absolute ones.

Signed-off-by: Thomas Witt <Thomas.Witt@bmw.de>
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssh: Upgrade 7.2p2 -> 7.3p1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:15 +0000 (15:23 +0300)]
openssh: Upgrade 7.2p2 -> 7.3p1

Remove CVE-2015-8325.patch as it's included upstream. Rebase another
patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowayland-protocols: 1.5 -> 1.7
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:14 +0000 (15:23 +0300)]
wayland-protocols: 1.5 -> 1.7

* xdg-shell unstable v6 (backwards incompatible)
* new unstable protocols xdg-foreign, idle-inhibit

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibinput: Upgrade 1.3.0 -> 1.4.1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:13 +0000 (15:23 +0300)]
libinput: Upgrade 1.3.0 -> 1.4.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agojson-glib: Upgrade 1.2.0 -> 1.2.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:12 +0000 (15:23 +0300)]
json-glib: Upgrade 1.2.0 -> 1.2.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovte: Upgrade 0.44.1 -> 0.44.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:11 +0000 (15:23 +0300)]
vte: Upgrade 0.44.1 -> 0.44.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+3: Upgrade 3.20.6 -> 3.20.9
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:10 +0000 (15:23 +0300)]
gtk+3: Upgrade 3.20.6 -> 3.20.9

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognome-themes-standard: Upgrade 3.18.0 -> 3.20.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:09 +0000 (15:23 +0300)]
gnome-themes-standard: Upgrade 3.18.0 -> 3.20.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofontconfig: Upgrade 2.12.0 -> 2.12.1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:08 +0000 (15:23 +0300)]
fontconfig: Upgrade 2.12.0 -> 2.12.1

License text block moved, checksum remains same.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgcrypt: upgrade to 1.7.3
Hongxu Jia [Mon, 22 Aug 2016 09:44:46 +0000 (05:44 -0400)]
libgcrypt: upgrade to 1.7.3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorm_work: don't remove timestamps of image tasks
Ed Bartosh [Mon, 22 Aug 2016 09:17:28 +0000 (12:17 +0300)]
rm_work: don't remove timestamps of image tasks

Excluded removal of do_bootimg, do_bootdirectdisk and do_vmimg
timestamps to prevent unneeded rootfs rebuilds.

[YOCTO #10159]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-3.5-manifest.inc: the signal module RDEPENDS on enum
Robert Yang [Mon, 22 Aug 2016 07:52:46 +0000 (00:52 -0700)]
python-3.5-manifest.inc: the signal module RDEPENDS on enum

Fixed:
$ python3
>>> import signal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/path/to/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python3.5/signal.py", line 4, in <module>
    from enum import IntEnum as _IntEnum
ImportError: No module named 'enum'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibidn: 1.32 -> 1.33
Dai Caiyun [Mon, 22 Aug 2016 05:46:01 +0000 (13:46 +0800)]
libidn: 1.32 -> 1.33

1)Upgrade libidn from 1.32 to 1.33.
2)Modify LIC_FILES_CHKSUM, since the date in it has been changed, But the LICENSE has not been changed

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouseradd_base: avoid unintended expansion for useradd parameters
Maxin B. John [Tue, 16 Aug 2016 11:12:03 +0000 (14:12 +0300)]
useradd_base: avoid unintended expansion for useradd parameters

Now, useradd dollar sign requires three prepending backslash characters to
avoid unintended expansion. It used to be just one prepending backslash
character before Krogoth. Restore that behaviour.

[YOCTO #10062]

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxorg-proto: remove stale git recipes
Ross Burton [Mon, 22 Aug 2016 12:45:27 +0000 (13:45 +0100)]
xorg-proto: remove stale git recipes

These two recipes are old and unmaintained, so remove them to avoid confusion
with the tarball recipes.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinputproto: explicitly disable asciidoc to avoid floating dependency
Ross Burton [Mon, 22 Aug 2016 12:46:13 +0000 (13:46 +0100)]
inputproto: explicitly disable asciidoc to avoid floating dependency

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext_0.16.1: whitespace changes to align with v0.19.8.1
André Draszik [Thu, 18 Aug 2016 16:15:03 +0000 (17:15 +0100)]
gettext_0.16.1: whitespace changes to align with v0.19.8.1

This further aligns this recipe with the GPLv3 version to make
it easier to  spot differences between the two recipes.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext_0.16.1: align configure options with v0.19.8.1 recipe
André Draszik [Thu, 18 Aug 2016 16:15:02 +0000 (17:15 +0100)]
gettext_0.16.1: align configure options with v0.19.8.1 recipe

It doesn't look like we need any of those features, so
let's disable them explicitly.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext_0.16.1: fix lispdir configure option
André Draszik [Thu, 18 Aug 2016 16:15:01 +0000 (17:15 +0100)]
gettext_0.16.1: fix lispdir configure option

The option is called --with(out)-lispdir, not --with(out)-lisp

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext_0.16.1: use musl gettext implementation
André Draszik [Thu, 18 Aug 2016 16:15:00 +0000 (17:15 +0100)]
gettext_0.16.1: use musl gettext implementation

gettext uses internal symbols to detect whether the
implementation is compatible with GNU gettext. However,
these symbols don't are not part of the public API, they
are specific to glibc.

While musl implements the GNU gettext *API* version 1 and 2
  http://www.openwall.com/lists/musl/2015/04/16/3
it doesn't implement glibc internals. This means that
gettext fails to detect musl's working implementation.

More recent versions of gettext have changed the way
GNU gettext compatibility is done
  https://lists.gnu.org/archive/html/bug-gettext/2016-04/msg00000.html
  http://git.savannah.gnu.org/cgit/gettext.git/commit/gettext-runtime/m4/gettext.m4?id=b67399b40bc5bf3165b09e6a095ec941d4b30a97
and while we could backport the corresponding patch to
gettext.m4, we avoid doing that so as to avoid any
potential GPL-v3 issues.

So instead we force ./configure to assume that the gettext
implementation of the c-library (musl) is compatible.

As a side-effect, this also reduces image sizes as the
internal gettext implementation isn't built anymore, and
it's otherwise packaged into the main gettext package
which blows up the image as the main gettext package
contains a lot of things.

Similarly, libintl.h isn't generated anymore, as the one
from musl is OK.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinsane: improve package_qa_clean_path
Ross Burton [Thu, 18 Aug 2016 16:33:31 +0000 (17:33 +0100)]
insane: improve package_qa_clean_path

Instead of just removing TMPDIR from the path for display, optionally allow a
package to be passed and remove PKGDEST/package too.

This means that messages that specify a package name can pass that name and the
resulting path will be absolute inside that package.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrub: fix load module all_video failed
Hongxu Jia [Wed, 17 Aug 2016 08:57:30 +0000 (04:57 -0400)]
grub: fix load module all_video failed

While using oe-core toolchain to strip grub module 'all_video.mod',
it stripped symbol table:
--------------
root@localhost:~# objdump -t all_video.mod

all_video.mod:     file format elf64-x86-64

SYMBOL TABLE:
no symbols
--------------

It caused grub to load module all_video failed.
(This module will be loaded by defalut which configed in grub.cfg)
--------------
grub> insmod all_video
error: no symbol table.
--------------

Tweak strip option to keep symbol .module_license could workaround
the issue.
--------------
root@localhost:~# objdump -t all_video.mod

all_video.mod:     file format elf64-x86-64

SYMBOL TABLE:
0000000000000000 l    d  .text  0000000000000000 .text
0000000000000000 l    d  .data  0000000000000000 .data
0000000000000000 l    d  .module_license        0000000000000000 .module_license
0000000000000000 l    d  .bss   0000000000000000 .bss
0000000000000000 l    d  .moddeps       0000000000000000 .moddeps
0000000000000000 l    d  .modname       0000000000000000 .modname
--------------

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: fix run-intl ptest failed
Dengke Du [Thu, 18 Aug 2016 03:10:57 +0000 (23:10 -0400)]
bash: fix run-intl ptest failed

1. Filter the extra white space in intl.right

   When the sub-test unicode2.sub of intl.tests executed, it produced
   compact results without extra white space, compared to intl.right,
   it failed.

   So we need to filter the extra white space in intl.right.

   Import this patch for intl.right from bash devel branch:

http://git.savannah.gnu.org/cgit/bash.git/log/?h=devel

   Commit is:

85ec0778f9d778e1820fb8c0e3e996f2d1103b45

2. Change intl.right correspond to the unicode3.sub's output

   In sub-test unicode3.sub of intl.tests have this:

printf %q "$payload"

   The payload variable was assigned by ASCII characters, when using
   '%q' format strings, it means print the associated argument shell-quoted.

   When the strings contain the non-alpha && non-digit && non-punctuation &&
   non-ISO 646 character(7-bit), it would output like this: " $'...', ANSI-C
   style quoted string. We can check the bash source code at:

http://git.savannah.gnu.org/cgit/bash.git/tree/builtins/printf.def#n557
http://git.savannah.gnu.org/cgit/bash.git/tree/lib/sh/strtrans.c#n331

   So we need to change the intl.right contain the correct output of unicode3.sub.

   Import parts of this patch for intl.right from bash devel branch:

http://git.savannah.gnu.org/cgit/bash.git/log/?h=devel

   Commit is:

74b8cbb41398b4453d8ba04d0cdd1b25f9dcb9e3

3. Add the sanity check for locales

   When run the intl.tests, we need the following locales:

en_US & fr_FR & de_DE

   So add the locales check for the intl.tests in run-ptest.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobootchart2: fixes a BOOTLOG_DEST typo
Ming Liu [Wed, 17 Aug 2016 11:26:09 +0000 (13:26 +0200)]
bootchart2: fixes a BOOTLOG_DEST typo

A flaw was observed in bootchartd that BUILDLOG_DEST should actually be
BOOTLOG_DEST, this seems to be a typo or mix-up which has been fixed in
upstream.

Cherry pick the fix since bootchart2 0.14.8 is still the newest release
so far.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoadwaita-icon-theme: 3.18.0 -> 3.20
Wang Xin [Wed, 17 Aug 2016 09:05:36 +0000 (05:05 -0400)]
adwaita-icon-theme: 3.18.0 -> 3.20

1) Upgrade adwaita-icon-theme from 3.18.0 to 3.20.
2) Delete DEPENDS, since intltool is not needed.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitscripts: Check for logrotate in dmesg.sh
Ovidiu Vancea [Fri, 12 Aug 2016 15:04:12 +0000 (18:04 +0300)]
initscripts: Check for logrotate in dmesg.sh

Autodetect previously hardcoded logrotate location because it can be
installed in multiple places like /usr/bin/logrotate which is very
common besides /usr/sbin

Signed-off-by: Ovidiu Vancea <ovidiu.vancea@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3-native: Extend python3-native rproviders
Fabio Berton [Tue, 16 Aug 2016 18:47:29 +0000 (15:47 -0300)]
python3-native: Extend python3-native rproviders

Add the following modules to RPROVIDES:

  - python3-email-native
  - python3-io-native
  - python3-json-native
  - python3-lang-native
  - python3-misc-native
  - python3-netclient-native
  - python3-netserver-native
  - python3-numbers-native
  - python3-pkgutil-native
  - python3-pprint-native
  - python3-re-native
  - python3-shell-native
  - python3-subprocess-native
  - python3-threading-native
  - python3-unittest-native

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython3-native: Change code style for rprovides
Fabio Berton [Tue, 16 Aug 2016 18:47:28 +0000 (15:47 -0300)]
python3-native: Change code style for rprovides

Use a more readable code style for RPROVIDES and sort recipes
alphabetically.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogrub-efi.bbclass: Fix path in startup.nsh for iso image.
Pranav Tipnis [Sat, 20 Aug 2016 01:28:41 +0000 (18:28 -0700)]
grub-efi.bbclass: Fix path in startup.nsh for iso image.

The path in startup.nsh for iso image is corrupted as follows:
fs0:\EFI\BOOT^Hootx64.efi

Using printf will emit correct path which is:
fs0:\EFI\BOOT\bootx64.efi

This happens because of echo command. Switching to printf
like the one used in efi_populate() function.

Signed-off-by: Pranav Tipnis <pranav.tipnis@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc: Fix scope resolution in glibc to be breadth first.
Mark Hatle [Sat, 20 Aug 2016 01:44:54 +0000 (20:44 -0500)]
glibc: Fix scope resolution in glibc to be breadth first.

The ELF specification indicates symbol resolution should be breadth first, not
depth first.

The dl-deps.c: dl_build_locale_scope function is processing in a depth first
mode.  This is causes certain symbols to be incorrectly reported when
LD_TRACE_PRELINKING=1 is enabled.

See glibc BZ #20488 for more information.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: fix configuration warnings
Bruce Ashfield [Sat, 20 Aug 2016 04:30:35 +0000 (00:30 -0400)]
linux-yocto/4.4: fix configuration warnings

Integrating the following commits to address configuration warnings for
intel-corei7-64 and intel-core2-32:

  features: Fix dependencies and =m vs =y discrepancies for corei7
  intel-core2-32.cfg: Explicitly disable CONFIG_64BIT

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.1/4.4: -stable updates and configuration changes
Bruce Ashfield [Sat, 20 Aug 2016 04:30:34 +0000 (00:30 -0400)]
linux-yocto/4.1/4.4: -stable updates and configuration changes

Updating the 4.4 kernel to v4.4.18 and the 4.1 kernel to v4.1.30.

We also tweak the configuration with the following commits to remove
warnings being generated from the 4.4 kernel (due to options being
dropped from the final .config):

  features: Create mfd-intel-lpss feature and use where appropriate
  features/iio: Set IIO_BUFFER_CB to =m instead of =y
  features: Add 6lowpan feature and add it where necessary

Tested on qemux86, qemuppc, qemumips and qemuarm.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir
Robert Yang [Thu, 18 Aug 2016 06:16:56 +0000 (23:16 -0700)]
packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir

"bitbake recipe -ccleansstate" should remove binary pkgs from deploy dir
as normal cleansstate does without packagefeed-stability.bbclass.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibdrm: 2.4.68 -> 2.4.70
Dai Caiyun [Thu, 18 Aug 2016 05:54:18 +0000 (13:54 +0800)]
libdrm: 2.4.68 -> 2.4.70

Upgrade libdrm from 2.4.68 to 2.4.70.

Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglib-2.0: 2.48.1 -> 2.48.2
Wang Xin [Thu, 18 Aug 2016 03:15:01 +0000 (23:15 -0400)]
glib-2.0: 2.48.1 -> 2.48.2

1) Upgrade glib-2.0 from 2.48.1 to 2.48.2.
2) Modify Enable-more-tests-while-cross-compiling.patch, since the data has changed.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokbd: remove PARALLEL_MAKEINST = ""
Robert Yang [Fri, 19 Aug 2016 01:29:16 +0000 (18:29 -0700)]
kbd: remove PARALLEL_MAKEINST = ""

There isn't anything wrong when looked into its Makefile, I guess that
it had been fixed during ugprade, and I've applied this patch locally
for more than 2 months, there isn't anything wrong.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokmod: upgrade to 23
Chen Qi [Fri, 19 Aug 2016 08:00:39 +0000 (16:00 +0800)]
kmod: upgrade to 23

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodiffutils: upgrade to 3.4
Chen Qi [Fri, 19 Aug 2016 08:00:38 +0000 (16:00 +0800)]
diffutils: upgrade to 3.4

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoutil-linux: upgrade to 2.28.1
Chen Qi [Fri, 19 Aug 2016 08:00:37 +0000 (16:00 +0800)]
util-linux: upgrade to 2.28.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobootchart2: Add ALTERNATIVE configuration for bootchartd
Ming Liu [Fri, 19 Aug 2016 09:18:13 +0000 (11:18 +0200)]
bootchart2: Add ALTERNATIVE configuration for bootchartd

Since busybox also provides the bootchartd command use the
update-alternatives mechanism to address this.

Also let bootchartd-stop-initscript RDEPENDS on bootchart2, since
/sbin/bootchartd is being called in that script.

Ming Liu <peter.x.liu@external.atlascopco.com>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoasciidoc-native: add dependency on docbook-xml-dtd4-native
Awais Belal [Fri, 19 Aug 2016 11:08:13 +0000 (16:08 +0500)]
asciidoc-native: add dependency on docbook-xml-dtd4-native

During the compilation phase asciidoc runs a2x for validation
of some xmls which in turn invokes xmllint with --nonet
parameter that requires DTDs to be available locally in order
to succeed otherwise the do_compile fails.
We now add a direct dependency on docbook-xml-dtd4 so the
DTDs are always available locally.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl: fix add missing dependencies building for test directory
Andrej Valek [Fri, 19 Aug 2016 10:51:06 +0000 (12:51 +0200)]
openssl: fix add missing dependencies building for test directory

Regarding the last commit about missing dependencies, another issue
was found. The problem was found, while ptest has been built with some
set extra settings. It means, when ptest is going to be built,
it is necessary to rebuild dependencies for test directory too.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibffi: fix a typo (mips)
André Draszik [Fri, 19 Aug 2016 10:49:02 +0000 (11:49 +0100)]
libffi: fix a typo (mips)

While code elsewhere checks for
MIPS_INSTRUCTION_SET == mips16e in order to decide how
to compile, hence the typo doesn't affect behaviour, the
intention was to set it to 'mips', as is done everywhere
else. Fixing the typo also helps to avoid confusion.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage-vm.bbclass: remove old images if RM_OLD_IMAGE is enabled
Jonathan Liu [Fri, 19 Aug 2016 12:51:12 +0000 (22:51 +1000)]
image-vm.bbclass: remove old images if RM_OLD_IMAGE is enabled

[YOCTO #10164]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoRevert "local.conf.sample: Disable ARM and PPC due to prelink test case failures"
Richard Purdie [Fri, 19 Aug 2016 15:32:37 +0000 (16:32 +0100)]
Revert "local.conf.sample: Disable ARM and PPC due to prelink test case failures"

This reverts commit d3e5c1d17f80b3dd7a6d85e07b5c0c516f09ae93.

8 years agooeqa.buildperf: fix crash when creating globalres.log
Markus Lehtonen [Fri, 19 Aug 2016 13:01:34 +0000 (16:01 +0300)]
oeqa.buildperf: fix crash when creating globalres.log

Fix a bug that was introduced when converting to unittest framework.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-build-perf-test: align log message format with testrunner output
Markus Lehtonen [Fri, 19 Aug 2016 13:01:33 +0000 (16:01 +0300)]
oe-build-perf-test: align log message format with testrunner output

The previous attempt on this was a bit erroneous, dropping time stamps
completely although only the timestamp format should've been changed.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosyslinux.bbclass: ensure creation of output directory
Ed Bartosh [Fri, 19 Aug 2016 14:46:39 +0000 (17:46 +0300)]
syslinux.bbclass: ensure creation of output directory

build_syslinux_cfg function creates syslinux configuration file.
The code assumes that the output directory exists, which is not
always the case. For example rm_work task removes rootfs directory
structure and causes build_syslinux_cfg to fail with this error:
Unable to open ../<image>-<version>/syslinux_vm.cfg

Made build_syslinux_cfg depend on output directory to ensure that
directory is created before running the function.

[YOCTO #10159]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobusybox: Add parallel make fix
Richard Purdie [Fri, 19 Aug 2016 15:28:17 +0000 (16:28 +0100)]
busybox: Add parallel make fix

We're seeing regular parallel make failures in applet headers in busybox.
This adds a patch to try and avoid the issue, building upon a fix already
backported from upstream. The patch has been sent to upstream.

[YOCTO #10116]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity.bbclass: Ensure we expand BUILD_PREFIX
Richard Purdie [Fri, 19 Aug 2016 15:27:43 +0000 (16:27 +0100)]
sanity.bbclass: Ensure we expand BUILD_PREFIX

This likely used to work when we expanded python functions and broke when
we stopped. Since it defaults to "", it never caused an issue but
is incorrect usage so fix it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolocal.conf.sample: Disable ARM and PPC due to prelink test case failures
Mark Hatle [Thu, 18 Aug 2016 17:04:16 +0000 (12:04 -0500)]
local.conf.sample: Disable ARM and PPC due to prelink test case failures

Internal prelink test cases reloc8 and reloc9 are failing on both ARM
and PPC systems.  Disable them by removing the prelink from the
IMAGE_CLASSES setting.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoRevert "local.conf.sample: Disable prelink by default"
Mark Hatle [Mon, 15 Aug 2016 21:29:34 +0000 (16:29 -0500)]
Revert "local.conf.sample: Disable prelink by default"

This reverts commit 300f858ba07c938427ccd05a3d7220027a03d461.

Reenable prelink

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoprelink: Move to latest version of prelink
Mark Hatle [Thu, 18 Aug 2016 17:04:15 +0000 (12:04 -0500)]
prelink: Move to latest version of prelink

* Uprev rtld emulation to glibc-2.23
* Fix compilation warnings
* Add additional debug scopes
* Change rtld build_local_scope to be breadth-first
* Fix LD_PRELOAD emulation
* Change function reordering to work with latest binutils

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc: Upgrade to 6.2 RC1
Khem Raj [Tue, 16 Aug 2016 18:50:35 +0000 (11:50 -0700)]
gcc: Upgrade to 6.2 RC1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agolibunwind: Fix build race conflict with gcc and musl
Richard Purdie [Thu, 18 Aug 2016 13:46:32 +0000 (14:46 +0100)]
libunwind: Fix build race conflict with gcc and musl

Building libunwind, then gcc-runtime causes build failures. This is hard
to fix since gcc-runtime wants the internal gcc unwind.h header but libunwind
wants to provide this. There are differences in include behaviour between gcc
and glibc which are by design.

This patch hacks around the issue by looking for a define used during gcc-runtime's
build and skipping to the internal header in that case. The patch is only enabled
on musl and is the best workaround I could come up with to unblock failing builds
on our autobuilder.

[YOCTO #10129]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd-compat-units: Only enable for systemd in DISTRO_FEATURES
Richard Purdie [Thu, 18 Aug 2016 13:43:57 +0000 (14:43 +0100)]
systemd-compat-units: Only enable for systemd in DISTRO_FEATURES

This recipe only makes sense when systemd is enabled and otherwise causes
world build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd-compat-units: pkg_postinst() does not work
Joe Slater [Mon, 15 Aug 2016 23:04:53 +0000 (16:04 -0700)]
systemd-compat-units: pkg_postinst() does not work

The test for various files is wrong and will always be
true, even if init.d does not exist.

Exit if init.d does not exist, and correctly test for
file existence otherwise.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosanity: Require bitbake 1.31.1 for multi-config changes
Richard Purdie [Thu, 18 Aug 2016 09:07:18 +0000 (10:07 +0100)]
sanity: Require bitbake 1.31.1 for multi-config changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds
Richard Purdie [Tue, 16 Aug 2016 17:00:13 +0000 (18:00 +0100)]
devtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds

Unfortunately to implenent multiconfig support in bitbake some APIs
had to change. This updates code in OE to match the changes in bitbake.
Its mostly periperhal changes around devtool/recipetool

[Will need a bitbake version requirement bump which I'll make when merging]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoparselogs: Ignore amb_nb warning messages under qemux86*
Richard Purdie [Thu, 18 Aug 2016 07:53:25 +0000 (08:53 +0100)]
parselogs: Ignore amb_nb warning messages under qemux86*

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoparselogs.py: Add failed to setup card detect gpio error on x86
California Sullivan [Wed, 17 Aug 2016 05:14:55 +0000 (22:14 -0700)]
parselogs.py: Add failed to setup card detect gpio error on x86

This error has occurred on the MinnowBoard Max and Turbot since its
inception. It supposedly indicates a non-working SD card reader, but
ours works fine. Whitelist the error.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoparselogs.py: Add dmi and ioremap errors to ignore list for core2
California Sullivan [Wed, 17 Aug 2016 05:14:54 +0000 (22:14 -0700)]
parselogs.py: Add dmi and ioremap errors to ignore list for core2

These errors have been occuring since the introduction of the 4.4
kernel with no apparent functionality loss. Whitelist for now.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoparselogs.py: Ignore Skylake graphics firmware load errors on genericx86-64
California Sullivan [Wed, 17 Aug 2016 05:14:53 +0000 (22:14 -0700)]
parselogs.py: Ignore Skylake graphics firmware load errors on genericx86-64

These errors can't be fixed without adding the firmware to the initramfs
and building it into the kernel, which we don't want to do for
genericx86-64. Since graphics still work acceptably without the firmware
blobs, just ignore the errors for that MACHINE.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotestimage: allow using kvm when running qemux86* machines
Bill Randle [Tue, 16 Aug 2016 23:08:11 +0000 (16:08 -0700)]
testimage: allow using kvm when running qemux86* machines

Using kvm can provide significant speedups when running qemux86* machines
on an x86* host. Enabled by using the new QEMU_USE_KVM variable.

[YOCTO #9298]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage.bbclass: rename COMPRESS(ION) to CONVERSION
Patrick Ohly [Fri, 29 Jul 2016 14:58:52 +0000 (17:58 +0300)]
image.bbclass: rename COMPRESS(ION) to CONVERSION

With the enhanced functionality, the term "compression" is no longer
accurate, because the mechanism also gets used for conversion
operations that do not actually compress data.

It is possible to remove this naming problem in a backward-compatible
manner by including COMPRESSIONTYPES in CONVERSIONTYPES and checking for
the old COMPRESS_CMD/DEPENDS as fallbacks.

[YOCTO #9346]

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogrub: split grub-editenv into it's own package
Alejandro del Castillo [Tue, 16 Aug 2016 14:00:30 +0000 (17:00 +0300)]
grub: split grub-editenv into it's own package

grub-editenv edits the env block at runtime on a booted system. Other
tools can depend on it to configure a live system, for ex. to set next
boot mode upon reboot. By splitting grub-editenv, tools don't have to
depend on the entire grub package (grub-editenv just edits one file).

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: 4.3.39 -> 4.3.46
Dengke Du [Tue, 16 Aug 2016 09:50:42 +0000 (05:50 -0400)]
bash: 4.3.39 -> 4.3.46

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssh: add ed25519 host key location to read-only sshd config
André Draszik [Tue, 16 Aug 2016 10:46:46 +0000 (11:46 +0100)]
openssh: add ed25519 host key location to read-only sshd config

It's simply been missing.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconnman: add missing space in _append
André Draszik [Tue, 16 Aug 2016 10:38:34 +0000 (11:38 +0100)]
connman: add missing space in _append

We do that everywhere else, and otherwise anybody
extending SRC_URI through bbappend must know to
add a space at the end, which is an unusual
requirement.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-yocto: streamline patch, configuration and audit phases
Bruce Ashfield [Mon, 15 Aug 2016 18:26:59 +0000 (14:26 -0400)]
kernel-yocto: streamline patch, configuration and audit phases

We've been running with a set of kern-tools that were designed to work
with build systems that knew nothing about git, trees, commits, etc.

As such, there's been a set of shims/wrappers in place to work with
within bitbake/oe-core. These were the *me scripts: createme, updateme,
patchme and configme.

With this commit, we strip that legacy code and use the tools directly.
This means less complexity, fewer corner cases .. and no surprises
when the tools are arunning. As another benefit, the tools consume
much less time during a typical build and have no noticeable impact
on the overall build time.

Existing .scc files, features, and processing are not impacted as
these tools are compatible with existing feature descriptions and
kerne configuration fragments.

The audit of kernel configuration fragments is now detached
from the linux-yocto build structure and process. This means that
they can eventually be tweaked to offer kernel audit to any type of
kernel build and configuration process.

Additionally, the kernel symbol audit phase can now resolve symbol
dependencies and offer guidance when a symbol is missing:

   WARNING: linux-yocto-4.4.15+gitAUTOINC+b030d96c7b_f5e2c49d58-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:

   ---------- CONFIG_BT_6LOWPAN -----------------
   Config: CONFIG_BT_6LOWPAN
   From: /home/bruce/poky/build/tmp/work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/features/bluetooth/bluetooth.cfg
   Requested value:  CONFIG_BT_6LOWPAN=y
   Actual value:

   Config 'BT_6LOWPAN' has the following conditionals:
     BT_LE && 6LOWPAN (value: "n")
   Dependency values are:
     BT_LE [y] 6LOWPAN [n]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: -rt update patch meta-data to remove ()
Bruce Ashfield [Mon, 15 Aug 2016 18:26:58 +0000 (14:26 -0400)]
linux-yocto/4.4: -rt update patch meta-data to remove ()

The existing kernel patching scripts don't like () in patch names, since they
are detected as function calls. Although the scripts will be updated to avoid
this error, it is worthwhile fixing the patch names in the meantime.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: config updates
Bruce Ashfield [Mon, 15 Aug 2016 18:26:57 +0000 (14:26 -0400)]
linux-yocto/4.1: config updates

Integrating the following configuration changes:

 features: usb-net: provide more coverage on USB network devices
 features: broxton: enable iTCO watchdog support
 features: broxton: enable iSMT support
 features: broxton: enable LPC bridge function for Intel ICH and SCH

Signed-off-by: Bruce Ashfield <bruce@zedd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>