]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agolibxi: Upgrade 1.7.6 -> 1.7.7
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:08 +0000 (13:22 +0300)]
libxi: Upgrade 1.7.6 -> 1.7.7

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxrender: Upgrade 0.9.9 -> 0.9.10
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:07 +0000 (13:22 +0300)]
libxrender: Upgrade 0.9.9 -> 0.9.10

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxtst: Upgrade 1.2.2 -> 1.2.3
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:06 +0000 (13:22 +0300)]
libxtst: Upgrade 1.2.2 -> 1.2.3

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxv: Upgrade 1.0.10 -> 1.0.11
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:05 +0000 (13:22 +0300)]
libxv: Upgrade 1.0.10 -> 1.0.11

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxvmc: Upgrade 1.0.9 -> 1.0.10
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:04 +0000 (13:22 +0300)]
libxvmc: Upgrade 1.0.9 -> 1.0.10

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxproto: Upgrade 7.0.29 -> 7.0.31
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:03 +0000 (13:22 +0300)]
xproto: Upgrade 7.0.29 -> 7.0.31

Tiny bug fix releases.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxf86-input-libinput: Upgrade 0.19.0 -> 0.22.0
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:02 +0000 (13:22 +0300)]
xf86-input-libinput: Upgrade 0.19.0 -> 0.22.0

Bug fixes and some added configuration support.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibdrm: Upgrade 2.4.70 -> 2.4.71
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:01 +0000 (13:22 +0300)]
libdrm: Upgrade 2.4.70 -> 2.4.71

Mostly a bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibevdev: Upgrade 1.5.2 -> 1.5.4
Jussi Kukkonen [Fri, 21 Oct 2016 10:22:00 +0000 (13:22 +0300)]
libevdev: Upgrade 1.5.2 -> 1.5.4

Tiny bug fix releases.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibinput: Upgrade 1.4.1 -> 1.5.0
Jussi Kukkonen [Fri, 21 Oct 2016 10:21:59 +0000 (13:21 +0300)]
libinput: Upgrade 1.4.1 -> 1.5.0

A large part of this release cycle was internal cleanups and
improvements to the test suite, only few new features were added.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouseradd-staticids.bbclass: catch missing uid/gid exceptions
Mikko Ylinen [Fri, 21 Oct 2016 07:05:45 +0000 (10:05 +0300)]
useradd-staticids.bbclass: catch missing uid/gid exceptions

The change to get rid of FuncFailed exceptions changed the behavior
of how missing uid/gid error are be handled. Instead of catching
the exception and handling that via bb.parse.SkipPackage(), a fatal
error was called.

This won't work with recipes that are unused and therefore do not have
UID/GIDs defined. The problem triggers when parsing all recipes (e.g.,
oe-selftest runs bitbake -p).

The right way to handle this is to raise bb.parse.SkipPackage(). This
will error correctly once the recipe is needed.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobinutils: enable warn system direcotories in cross-canadian ld
Yuanjie Huang [Fri, 21 Oct 2016 02:47:52 +0000 (19:47 -0700)]
binutils: enable warn system direcotories in cross-canadian ld

Warn system directories requires a configuration option to be enabled.
This patch enables the warning for cross-canadian ld, to align with the
cross version.

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobtrfs-tools: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 14:48:25 +0000 (17:48 +0300)]
btrfs-tools: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopulseaudio: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:38:02 +0000 (16:38 +0300)]
pulseaudio: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-utils: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:34:18 +0000 (16:34 +0300)]
alsa-utils: enable optional building of manpages

'xmlto' package feature is renamed to 'manpages' for consistency
with other manpage-enabled recipes.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokmod: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:33:16 +0000 (16:33 +0300)]
kmod: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibdrm: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:32:39 +0000 (16:32 +0300)]
libdrm: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsecret: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:32:24 +0000 (16:32 +0300)]
libsecret: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agojson-glib: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:31:41 +0000 (16:31 +0300)]
json-glib: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:31:14 +0000 (16:31 +0300)]
gtk+: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopixz: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:30:20 +0000 (16:30 +0300)]
pixz: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: enable building of manpages if api-documentation feature is in distro features
Alexander Kanavin [Thu, 29 Sep 2016 13:29:41 +0000 (16:29 +0300)]
systemd: enable building of manpages if api-documentation feature is in distro features

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglib: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:28:56 +0000 (16:28 +0300)]
glib: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoavahi: enable manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:27:59 +0000 (16:27 +0300)]
avahi: enable manpages

They come prebuilt and don't require any dependencies, so there is no
penalty in enabling them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd-boot: add a comment about manpages being disabled
Alexander Kanavin [Thu, 29 Sep 2016 13:24:20 +0000 (16:24 +0300)]
systemd-boot: add a comment about manpages being disabled

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopm-utils: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:23:31 +0000 (16:23 +0300)]
pm-utils: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogummiboot: enable optional building of manpages
Alexander Kanavin [Thu, 29 Sep 2016 13:22:55 +0000 (16:22 +0300)]
gummiboot: enable optional building of manpages

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomanpages.bbclass: add a class
Alexander Kanavin [Thu, 29 Sep 2016 13:20:33 +0000 (16:20 +0300)]
manpages.bbclass: add a class

This class enables 'manpages' feature in packages if 'api-documentation'
is in distro features. This ensures that manpages are always built
and installed when API documentation feature is enabled.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRemove the SGML stack
Alexander Kanavin [Fri, 30 Sep 2016 09:52:25 +0000 (12:52 +0300)]
Remove the SGML stack

It is not used for anything, and is something of a pain to maintain.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: do not depend on SGML stack
Alexander Kanavin [Fri, 30 Sep 2016 09:25:15 +0000 (12:25 +0300)]
systemd: do not depend on SGML stack

I couldn't find any reference whatsoever to it in the source tree.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibuser: do not depend on SGML stack
Alexander Kanavin [Fri, 30 Sep 2016 09:21:40 +0000 (12:21 +0300)]
libuser: do not depend on SGML stack

libuser tarballs already supply pre-generated html/txt outputs.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoiputils: do not build or install manpages
Alexander Kanavin [Fri, 30 Sep 2016 09:47:34 +0000 (12:47 +0300)]
iputils: do not build or install manpages

This allows dropping the SGML stack dependency, and iputils is the
only package in oe-core that still needs it (for manpages only).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+3: remove SGML stack dependency
Alexander Kanavin [Fri, 30 Sep 2016 09:38:05 +0000 (12:38 +0300)]
gtk+3: remove SGML stack dependency

Gtk3 hasn't had it for a long time.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+: remove dependency on SGML stack
Alexander Kanavin [Fri, 30 Sep 2016 09:32:51 +0000 (12:32 +0300)]
gtk+: remove dependency on SGML stack

This means that FAQ and tutorial will not be built, but even when they
were, they were not installed anywhere.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomesa: update to 12.0.3
Andreas Müller [Thu, 20 Oct 2016 10:06:15 +0000 (12:06 +0200)]
mesa: update to 12.0.3

* removed patch was applied mainline
* tested on RaspberryPi2 weston / lxqt / kde

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosstate-sysroot-cruft: Add /etc/ld.so.conf to whitelist
Martin Jansa [Wed, 19 Oct 2016 15:31:57 +0000 (17:31 +0200)]
sstate-sysroot-cruft: Add /etc/ld.so.conf to whitelist

* it reports at least 2 issues in every build (this file in
  native and target sysroot) add it to whitelist

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotest-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to list of...
Martin Jansa [Wed, 19 Oct 2016 15:31:56 +0000 (17:31 +0200)]
test-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to list of failed

* format of bitbake tasks changed in:
  2c88afb   taskdata/runqueue: Rewrite without use of ID indirection

-ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1'
+ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1'

  so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop
  the task name to get recipe name.

* for more details see:
  http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html

* without this change you can see test-dependencies.sh trying to rebuild packages
  like:
  Building recipe: fbprogress (6/21)
  Building recipe: fbprogress.bb:do (7/21)
  where the later of course doesn't exist as a recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agou-boot: Factor out common bits
Marek Vasut [Tue, 18 Oct 2016 21:55:09 +0000 (23:55 +0200)]
u-boot: Factor out common bits

The u-boot recipes share a couple of common variables, which makes
updating of the recipes error prone and a toil. Factor those common
bits into u-boot-common_${PV}.inc so that they are in one place.

The u-boot_${PV}.bb now explicitly require u-boot-common_${PV}.inc
before require u-boot.inc , as doing require u-boot-common_${PV}.inc
from u-boot.inc would fail due to ${PV} not being set. This is a
functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomusl: Security fix CVE-2016-8859
Armin Kuster [Thu, 20 Oct 2016 01:00:46 +0000 (18:00 -0700)]
musl: Security fix CVE-2016-8859

CVE-2016-8859: TRE & musl libc regex integer overflows in buffer size computations

Affects musl <= 1.1.15

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoepiphany: update to 3.22.1
Alexander Kanavin [Wed, 19 Oct 2016 14:47:32 +0000 (17:47 +0300)]
epiphany: update to 3.22.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowebkitgtk: update to 2.14.1
Alexander Kanavin [Wed, 19 Oct 2016 13:01:51 +0000 (16:01 +0300)]
webkitgtk: update to 2.14.1

Rebase 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovala: update to 0.34.1
Alexander Kanavin [Tue, 18 Oct 2016 15:22:33 +0000 (18:22 +0300)]
vala: update to 0.34.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonss: update to 3.27.1
Alexander Kanavin [Tue, 18 Oct 2016 14:56:58 +0000 (17:56 +0300)]
nss: update to 3.27.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonspr: update to 4.13
Alexander Kanavin [Tue, 18 Oct 2016 14:47:42 +0000 (17:47 +0300)]
nspr: update to 4.13

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agompg123: update to 1.23.8
Alexander Kanavin [Tue, 18 Oct 2016 14:45:59 +0000 (17:45 +0300)]
mpg123: update to 1.23.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolighttpd: update to 1.4.42
Alexander Kanavin [Tue, 18 Oct 2016 14:44:20 +0000 (17:44 +0300)]
lighttpd: update to 1.4.42

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibksba: update to 1.3.5
Alexander Kanavin [Tue, 18 Oct 2016 14:42:39 +0000 (17:42 +0300)]
libksba: update to 1.3.5

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognutls: update to 3.5.5
Alexander Kanavin [Tue, 18 Oct 2016 14:05:13 +0000 (17:05 +0300)]
gnutls: update to 3.5.5

Remove backported 0001-Use-correct-include-dir-with-minitasn.patch and
CVE-2016-7444.patch (which still applied silently and incorrectly:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognome-desktop3: update to 3.22.1
Alexander Kanavin [Tue, 18 Oct 2016 13:54:59 +0000 (16:54 +0300)]
gnome-desktop3: update to 3.22.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoffmpeg: update to 3.1.4
Alexander Kanavin [Tue, 18 Oct 2016 13:53:05 +0000 (16:53 +0300)]
ffmpeg: update to 3.1.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodtc: update to 1.4.2
Alexander Kanavin [Tue, 18 Oct 2016 13:49:34 +0000 (16:49 +0300)]
dtc: update to 1.4.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocmake: update to 3.6.2
Alexander Kanavin [Tue, 18 Oct 2016 13:46:56 +0000 (16:46 +0300)]
cmake: update to 3.6.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobtrfs-tools: update to 4.8.1
Alexander Kanavin [Tue, 18 Oct 2016 13:38:50 +0000 (16:38 +0300)]
btrfs-tools: update to 4.8.1

Remove fix-parallel.patch as version.h is now generated by autoconf in configure()

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoboost: update to 1.62.0
Alexander Kanavin [Tue, 18 Oct 2016 13:28:18 +0000 (16:28 +0300)]
boost: update to 1.62.0

Remove backported 0003-smart_ptr-mips-assembly-doesn-t-compile-in-mips16e-m.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopigz: fix upstream version check
Alexander Kanavin [Tue, 18 Oct 2016 12:24:13 +0000 (15:24 +0300)]
pigz: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocve-check-tool: fix upstream version check
Alexander Kanavin [Tue, 18 Oct 2016 12:11:49 +0000 (15:11 +0300)]
cve-check-tool: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomklibs-native: fix upstream version check
Alexander Kanavin [Tue, 18 Oct 2016 12:07:01 +0000 (15:07 +0300)]
mklibs-native: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomusl: enable gobject introspection
Alexander Kanavin [Tue, 18 Oct 2016 11:44:06 +0000 (14:44 +0300)]
musl: enable gobject introspection

It's working with recent versions of musl, so there's no reason to
keep it disabled.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types: Add support for lzo compressed initial ramdisk
Vesa Jääskeläinen [Tue, 18 Oct 2016 15:46:10 +0000 (18:46 +0300)]
image_types: Add support for lzo compressed initial ramdisk

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types: Add support to compress initramfs with lz4
Vesa Jääskeläinen [Tue, 18 Oct 2016 15:46:09 +0000 (18:46 +0300)]
image_types: Add support to compress initramfs with lz4

Changed to use lz4 as lz4c seems to be deprecated.

Removed use of redirection in favor of using output file.

As Linux kernel supports only legacy format for initial ramdisk add
COMPRESS_CMD_lz4_legacy mode in case some users are using newer format.

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildhistory: fix latest_srcrev in the common case
Christopher Larson [Mon, 17 Oct 2016 23:02:53 +0000 (16:02 -0700)]
buildhistory: fix latest_srcrev in the common case

buildhistory was writing srcrevs.values() as SRCREV when only one
srcrev/branch exists. This returns a view of the dictionary values in python
3, and used to return a list in python 2, neither of which is an appropriate
value for SRCREV. It was resulting in latest_srcrev files like this:

    # SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed"
    SRCREV = "dict_values(['346584bf6e38232be8773c24fd7dedcbd7b3d9ed'])"

Which in turn would result in invalid output in buildhistory-collect-srcrevs.
Fix by calling `next(iter())` on the `.values()`

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocmake: avoid configure failures if CFLAGS contains -Wstrict-prototypes
Andre McCurdy [Mon, 17 Oct 2016 18:48:10 +0000 (11:48 -0700)]
cmake: avoid configure failures if CFLAGS contains -Wstrict-prototypes

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoterminal.py: Add compatiblity for konsole 16.08.1
Davis, Michael [Mon, 17 Oct 2016 15:57:15 +0000 (15:57 +0000)]
terminal.py: Add compatiblity for konsole 16.08.1

Konsole has dropped support for the nofork flag.  It has been replaced with the seperate flag.

Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: handle ambiguous git arguments
Olaf Mandel [Mon, 17 Oct 2016 08:16:28 +0000 (08:16 +0000)]
combo-layer: handle ambiguous git arguments

If a branch/src-repository has the same name as a file/directory, git
since 1.4.0(?) gives an error like the one below:
ambiguous argument 'bitbake': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Add two dashes to make the intent clear.

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: fix crashes on wrong tempfile usage
Olaf Mandel [Mon, 17 Oct 2016 08:16:27 +0000 (08:16 +0000)]
combo-layer: fix crashes on wrong tempfile usage

When calling tempfile.NamedTemporaryFile().write(str()), at least on
Python 3.4.2 this fails with this error:
TypeError: 'str' does not support the buffer interface

Change the file-mode for all such files from binary to text mode.

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRemove $COREBASE/LICENSE from LIC_FILES_CHKSUM
Olaf Mandel [Fri, 21 Oct 2016 09:24:28 +0000 (09:24 +0000)]
Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM

Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM
variable as ${COREBASE}/LICENSE. This forces distribution providers to
keep this file verbatim or to overload the affected recipes. The section
"Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests
removing the LICENSE file where possible.

Remove LICENSE in cases where COPYING.MIT is also given and replace
LICENSE with COPYING.MIT if the former was the only entry. All modified
recipes specify LICENSE = "MIT" and none of the in-tree files specify a
different license either.

As the packages do not change (the license files are not contained in
them), do not increase PR.

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildhistory-collect-srcrevs: Fix multiple SRCREV definitions
Tobias Hagelborn [Wed, 19 Oct 2016 11:34:28 +0000 (13:34 +0200)]
buildhistory-collect-srcrevs: Fix multiple SRCREV definitions

Fixed copy & paste error causing error when extracting SRCREV
for packages containing multiple SRCREV definitons.

Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 26 Oct 2016 08:33:40 +0000 (09:33 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.8: sync preempt-rt with upstream project
Bruce Ashfield [Wed, 26 Oct 2016 03:15:51 +0000 (23:15 -0400)]
linux-yocto/4.8: sync preempt-rt with upstream project

The initial 4.8 -rt feature was directly from Paul Gortmaker, and
now the 'upstream' -rt has done a release on the same kernel
version.

Paul has sync'd the initial effort with the upstream work, and we
now have a consolidated standard/preempt-rt/*

Along with the rsync'd content, Paul has fixed -rt boot on 32 bit
x86.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: runqemu: work around runqemu script path assumption
Paul Eggleton [Tue, 18 Oct 2016 02:51:16 +0000 (15:51 +1300)]
devtool: runqemu: work around runqemu script path assumption

The new runqemu script assumes that if OECORE_NATIVE_SYSROOT is set then
it shouldn't try to run bitbake to find out the values of various
variables such as DEPLOY_DIR_IMAGE; this assumption is incorrect for the
extensible SDK. To work around this, clear OECORE_NATIVE_SYSROOT in the
environment when running runqemu.

Fixes [YOCTO #10447].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: Use softer setting of WKS_FILE
Saul Wold [Fri, 14 Oct 2016 16:46:19 +0000 (09:46 -0700)]
image_types: Use softer setting of WKS_FILE

This will allow for more flexibility and overrides in BSP
layers.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildstats: check IMAGE_ROOTFS exists before checking its size
Mikko Ylinen [Wed, 19 Oct 2016 06:34:00 +0000 (09:34 +0300)]
buildstats: check IMAGE_ROOTFS exists before checking its size

After 0d6b7276003f1afabc6de683f663540327d52bdc, the exceptions are
correctly checked if the rootfs size check fails. In case of a
failure a build error is triggered.

However, there are cases where this is known to fail (e.g.,
with meta-swupd the rootfs for swupd images is other than IMAGE_ROOTFS).

Because of that, check IMAGE_ROOTFS exists before trying to get the
size of it. Also, in case of any error catched as err, simply print
out a warning.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: add /sbin to PATH
Juro Bystricky [Thu, 20 Oct 2016 16:54:23 +0000 (09:54 -0700)]
build-appliance-image: add /sbin to PATH

runqemu script fails with an error when executed in Build Appliance.

Typical use case:

$ bitbake core-image-minimal
$ runqemu qemux86

Observed error:

    runqemu - ERROR - In order for this script to dynamically infer paths
         ...snip...
         runqemu-ifup, runqemu-ifdown or ip not found

The error is caused by the fact that "ip" is located in /sbin, however /sbin is
not in user's ("builder") PATH. To fix this we add /sbin to PATH.
The simplest place to do this is in user's .bashrc.

[YOCTO#10434]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.8: update to v4.8.3
Bruce Ashfield [Fri, 21 Oct 2016 15:35:31 +0000 (11:35 -0400)]
linux-yocto/4.8: update to v4.8.3

Integrating the korg -stable release

One commit of note is the fix for CVE-2016-5195 (http://dirtycow.ninja/):

 mm: remove gup_flags FOLL_WRITE games from __get_user_pages()

The remaining changes are covered by the following shortlog export:

   mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
   Make __xfs_xattr_put_listen preperly report errors.
   scsi: configure runtime pm before calling device_add in scsi_add_host_with_dma
   v4l: rcar-fcp: Don't force users to check for disabled FCP support
   Linux 4.8.2
   tpm_crb: fix crb_req_canceled behavior
   tpm: fix a race condition in tpm2_unseal_trusted()
   ima: use file_dentry()
   Bluetooth: Add a new 04ca:3011 QCA_ROME device
   ARM: cpuidle: Fix error return code
   ARM: dts: MSM8660 remove flags from SPMI/MPP IRQs
   ARM: dts: MSM8064 remove flags from SPMI/MPP IRQs
   ARM: dts: mvebu: armada-390: add missing compatibility string and bracket
   ARM: fix delays
   x86/dumpstack: Fix x86_32 kernel_stack_pointer() previous stack access
   x86/mm/pkeys: Do not skip PKRU register if debug registers are not used
   arch/x86: Handle non enumerated CPU after physical hotplug
   x86/apic: Get rid of apic_version[] array
   x86/platform/intel-mid: Keep SRAM powered on at boot
   x86/platform/intel-mid: Add Intel Penwell to ID table
   x86/cpu: Rename Merrifield2 to Moorefield
   x86/pkeys: Make protection keys an "eager" feature
   x86/irq: Prevent force migration of irqs which are not in the vector domain
   x86/boot: Fix kdump, cleanup aborted E820_PRAM max_pfn manipulation
   arm64: fix dump_backtrace/unwind_frame with NULL tsk
   KVM: PPC: BookE: Fix a sanity check
   KVM: arm/arm64: vgic: Don't flush/sync without a working vgic
   KVM: arm64: Require in-kernel irqchip for PMU support
   KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
   KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register
   xen/x86: Update topology map for PV VCPUs
   mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
   mfd: 88pm80x: Double shifting bug in suspend/resume
   mfd: atmel-hlcdc: Do not sleep in atomic context
   mfd: rtsx_usb: Avoid setting ucr->current_sg.status
   ALSA: usb-line6: use the same declaration as definition in header for MIDI manufacturer ID
   ALSA: usb-audio: Extend DragonFly dB scale quirk to cover other variants
   ALSA: ali5451: Fix out-of-bound position reporting
   phy: sun4i-usb: Use spinlock to guard phyctl register access
   usb: dwc3: fix Clear Stall EP command failure
   timekeeping: Fix __ktime_get_fast_ns() regression
   usb: storage: fix runtime pm issue in usb_stor_probe2
   Linux 4.8.1
   ALSA: hda - Add the top speaker pin config for HP Spectre x360
   ALSA: hda - Fix headset mic detection problem for several Dell laptops
   ALSA: hda - Adding one more ALC255 pin definition for headset problem
   Revert "usbtmc: convert to devm_kzalloc"
   USB: serial: cp210x: Add ID for a Juniper console
   usb: usbip: vudc: fix left shift overflow
   Staging: fbtft: Fix bug in fbtft-core
   usb: misc: legousbtower: Fix NULL pointer deference
   Using BUG_ON() as an assert() is _never_ acceptable
   arm64: debug: avoid resetting stepping state machine when TIF_SINGLESTEP
   Using BUG_ON() as an assert() is _never_ acceptable

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.1: fix CVE-2016-5195 (dirtycow)
Bruce Ashfield [Sat, 22 Oct 2016 03:47:37 +0000 (23:47 -0400)]
linux-yocto/4.1: fix CVE-2016-5195 (dirtycow)

Backporting commit 19be0eaffa [mm: remove gup_flags FOLL_WRITE games
from __get_user_pages()] to address the dirtycow exploit.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: update to v4.4.26
Bruce Ashfield [Sat, 22 Oct 2016 03:47:36 +0000 (23:47 -0400)]
linux-yocto/4.4: update to v4.4.26

Integrating the 4.4.23->26 -stable releases. Among other fixes
this contains commit:

  mm: remove gup_flags FOLL_WRITE games from __get_user_pages()

Which addresses CVE-2016-5195.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokern-tools: make patches with shell-unsafe characters valid
Bruce Ashfield [Wed, 19 Oct 2016 01:08:18 +0000 (21:08 -0400)]
kern-tools: make patches with shell-unsafe characters valid

If a patch contains characters like ; or (), it can cause processing
errors in the patch queue.

We had previously fixed this issue by renaming the patches to not
include invalid characters, but with this change to the kern tools
that ensures patch names are wrapped in quotes, we avoid shell
processing and hence they are valid.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4/4.8: kernel config warning cleanups
Bruce Ashfield [Wed, 19 Oct 2016 01:08:17 +0000 (21:08 -0400)]
linux-yocto/4.4/4.8: kernel config warning cleanups

Merging the following patches into 4.4 and 4.8 to remove kernel
configuration warnings:

  bbaf01752b01 meta-yocto-bsp: beaglebone: remove the stale kernel options
  552a83790b17 features: Fix configcheck warnings in features used by intel-quark BSPs
  c33d9c2c575f features: Fix configcheck warnings in features used by intel-core* BSPs

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolocal.conf.sample.extended: remove RM_OLD_IMAGE
Joshua Lock [Wed, 12 Oct 2016 20:46:42 +0000 (21:46 +0100)]
local.conf.sample.extended: remove RM_OLD_IMAGE

RM_OLD_IMAGE has been removed so don't include this variable in
sample local.conf

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Sat, 15 Oct 2016 12:22:16 +0000 (13:22 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobinutils: Fix gas error with cfi_section inconsistencies
Khem Raj [Fri, 14 Oct 2016 12:04:07 +0000 (05:04 -0700)]
binutils: Fix gas error with cfi_section inconsistencies

This error is visible when using clang but not when using gcc
this has been reported and fixed upstream.

llvm bug https://llvm.org/bugs/show_bug.cgi?id=29017
binutils bug https://sourceware.org/bugzilla/show_bug.cgi?id=20648

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: Make tests non-executable
Jussi Kukkonen [Fri, 14 Oct 2016 18:38:40 +0000 (21:38 +0300)]
libxml2: Make tests non-executable

The XML W3C conformance test suite contains thousands of xml files all
marked executable. We dutifully try to strip all these files of debug
info in do_package.

"chmod -x" improves build time by ~40 seconds.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobind: fix two CVEs
Zheng Ruoqin [Fri, 14 Oct 2016 14:11:04 +0000 (10:11 -0400)]
bind: fix two CVEs

Add two CVE patches from upstream
git: https://www.isc.org/git/

1.CVE-2016-2775.patch
2.CVE-2016-2776.patch

Signed-off-by: zhengruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorpm: prevent race in tempdir creation
Markus Lehtonen [Fri, 14 Oct 2016 10:41:26 +0000 (13:41 +0300)]
rpm: prevent race in tempdir creation

This patch fixes an extramely rare race condition in creation of rpmdb
temporary directory. The "rpmdb-more-verbose-error-logging" patch is
still left in place, just for the case.

[YOCTO #9416]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinsane.bbclass: fix package_qa_check_arch() for mips64-o32
Robert Yang [Fri, 14 Oct 2016 10:08:37 +0000 (03:08 -0700)]
insane.bbclass: fix package_qa_check_arch() for mips64-o32

Fixed:
MACHINE = "qemumips64"
DEFAULTTUNE = "mips64-o32"

$ bitbake linux-yocto
ERROR: linux-yocto-4.8+gitAUTOINC+03bf3dd731_674818dad5-r0 do_package_qa: QA Issue: Bit size did not match (32 to 64) linux-yocto on
    /work/qemumips64-poky-linux/linux-yocto/4.8+gitAUTOINC+03bf3dd731_674818dad5-r0/packages-split/kernel-module-parport/lib/modules/4.8.0-yocto-standard/kernel/drivers/parport/parport.ko [arch]

The mips64-n32 works since it would set ABIEXTENSION to "n32" so that
TARGET_OS is linux-gnun32, and it will skip the check, but "mips64-o32"
doesn't set ABIEXTENSION to "o32", "n32" or "32", so the error happend.

Skip the check if mips64.*32 matches DEFAULTTUNE can fix the problem.
Another way to fix the problem is define ABIEXTENSION to "o32" or "32"
for mips64-o32, but that may make things confused since "o32" is purely
32 bit.

[YOCTO #10305]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoarch-mips.inc: remove duplicates from PACKAGE_ARCHS
Robert Yang [Fri, 14 Oct 2016 10:08:36 +0000 (03:08 -0700)]
arch-mips.inc: remove duplicates from PACKAGE_ARCHS

Fixed:
MACHINE = "qemumips64"
DEFAULTTUNE = "mips64-o32"

$ bitbake linux-yocto
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64-o32

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoppp: fix building with linux-4.8
Jackie Huang [Fri, 14 Oct 2016 00:50:11 +0000 (08:50 +0800)]
ppp: fix building with linux-4.8

Fix a build error when using the linux-4.8 headers that results in:

In file included from pppoe.h:87:0,
                 from plugin.c:29:
../usr/include/netinet/in.h:211:8: note: originally defined here
 struct in6_addr
        ^~~~~~~~
In file included from ../usr/include/linux/if_pppol2tp.h:20:0,
                 from ../usr/include/linux/if_pppox.h:26,
                 from plugin.c:52:
../usr/include/linux/in6.h:49:8: error: redefinition of 'struct sockaddr_in6'
 struct sockaddr_in6 {
        ^~~~~~~~~~~~

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRevert "linux-libc-headers: fix in/if.h includes"
Jackie Huang [Fri, 14 Oct 2016 00:50:10 +0000 (08:50 +0800)]
Revert "linux-libc-headers: fix in/if.h includes"

This issue is fixed in the ppp recipe.

This reverts commit 7c6b78ac8e2b176f77178c3dd12d8455be10845d.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopopulate_sdk_ext: explicitly set DL_DIR
Ross Burton [Fri, 14 Oct 2016 12:57:51 +0000 (13:57 +0100)]
populate_sdk_ext: explicitly set DL_DIR

The eSDK generation assumes that DL_DIR is downloads/ under the build directory,
and puts files such as a freshly buily uninative tarball in there expecting
bitbake will find it later.

Whilst ${TOPDIR}/downloads/ is in fact the default value for DL_DIR in
bitbake.conf, and any instances of DL_DIR are removed from the original
local.conf, there is still the possibility that other layers could contain a
site.conf that assigns DL_DIR.

If this happens the errors are quite mysterious as it fails to find the
uninative tarball and so the hashes all change, and eSDK building fails.

Ensure that this cannot happen by explicitly assigning the DL_DIR that we
require, instead of assuming that the default value will be used.

[ YOCTO #10439 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosqlite3: Revert ad601c7962 from 3.14.1 amalgamation package
Jianxun Zhang [Thu, 13 Oct 2016 20:16:34 +0000 (13:16 -0700)]
sqlite3: Revert ad601c7962 from 3.14.1 amalgamation package

It turns out this change between 3.12.2 and 3.13 introduces
a 2% increase of build time based on statistic data in
bz10367.

The added patch is forged by diffing the new sqlite3.c
generated from reverting the change in raw source of sqlite3
project, and then manually migrate the delta to a sqlite3.c
from the 3.14.1 tarball package because what recipes reference
is actually a generated C code (amalgamation) release package
and we cannot apply the real change to 3.14.1 cleanly due to
so many changes happened.

Fixes [YOCTO #10367]

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto.inc: ensure do_kernel_link_images runs before do_strip
Andre McCurdy [Thu, 13 Oct 2016 18:49:33 +0000 (11:49 -0700)]
linux-yocto.inc: ensure do_kernel_link_images runs before do_strip

If the do_kernel_link_images task is enabled, then it needs to run
before do_strip. The addtask statement for do_strip makes that
explicit. For consistency, make it explicit in the addtask statement
for do_kernel_link_images too.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobinutils: fix for MIPS "Can't find matching LO16 reloc" errors
Andre McCurdy [Thu, 13 Oct 2016 00:16:30 +0000 (17:16 -0700)]
binutils: fix for MIPS "Can't find matching LO16 reloc" errors

Patch taken from Binutils Bugzilla:

  https://sourceware.org/bugzilla/show_bug.cgi?id=20649

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibgpg-error: Make case generic for MIPS
Zubair Lutfullah Kakakhel [Wed, 12 Oct 2016 12:55:02 +0000 (13:55 +0100)]
libgpg-error: Make case generic for MIPS

The tuples for MIPS r6 onwards are
- mipsisa32r6el
- mipsisa32r6
- mipsisa64r6el
- mipsisa64r6

The default case passes it forward which isn't handled well and
causes a build error. Rework the case statement to make it generic.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolive-vm-common.bbclass: Allow to use different kernel image than KERNEL_IMAGETYPE...
Martin Jansa [Wed, 12 Oct 2016 12:06:12 +0000 (14:06 +0200)]
live-vm-common.bbclass: Allow to use different kernel image than KERNEL_IMAGETYPE for /vmlinuz

* syslinux config hardcodes kernel image as /vmlinuz add warning message
  when the selected image doesn't exist and allow to select different image
  with VM_DEFAULT_KERNEL variable (qemuboot.bbclass is using QB_DEFAULT_KERNEL)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage_types.bbclass: add dependency do_image_wic -> do_bootimg
Ed Bartosh [Wed, 12 Oct 2016 11:47:16 +0000 (14:47 +0300)]
image_types.bbclass: add dependency do_image_wic -> do_bootimg

To produce certain types of images wic uses do_bootimg results
to assemble final image. For example, it copies BOOT/EFI directory
produced by do_bootimg to boot partition for every EFI image.

The tricky part of this is that do_bootimg task is not always run,
so we can't always make do_image_wic depend on do_bootimg. We only
need to do it if do_bootimg present in task graph.

Thank to Cristopher Larson for this fix.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxcb: use python3 to build it
Robert Yang [Tue, 11 Oct 2016 10:16:40 +0000 (03:16 -0700)]
libxcb: use python3 to build it

Backport Fix-inconsistent-use-of-tabs-vs.-space.patch to make it can be
built by python3.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxcb-proto: fix for python3
Robert Yang [Wed, 12 Oct 2016 02:48:12 +0000 (19:48 -0700)]
xcb-proto: fix for python3

Backport two patches to make it py3 friendly.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxcb-proto: create .pyc files for python2
Robert Yang [Thu, 22 Sep 2016 09:36:55 +0000 (02:36 -0700)]
xcb-proto: create .pyc files for python2

Its Makefile's do_install creates .pyc files for python3, now also
create them for python2 so that they will be recorded by manifest, and
can be cleaned correctly.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage_tar: avoid chdir warnings and restore cwd after packaging
Robert Yang [Wed, 12 Oct 2016 09:19:05 +0000 (02:19 -0700)]
package_tar: avoid chdir warnings and restore cwd after packaging

Fixed:
WARNING: attr-2.4.47-r0 do_package_write_tar: Task do_package_tar changed cwd to /path/to/attr/2.4.47-r0/packages-split/attr-locale-sv

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosource-highlight: use with-boost-libdir
Robert Yang [Wed, 12 Oct 2016 06:31:29 +0000 (23:31 -0700)]
source-highlight: use with-boost-libdir

Without with-boost-libdir, it checks lib64 libx32 lib lib64 in
sysroot/usr/ and set it as boost lib path if it exist, this is
unreliable when build with multilib.

Fixed when switch baselib from lib64 to lib, for example, when we build
qemux86-64 + multilib setting, the baselib is lib64, and when disable
multilib, it would be lib, then we may see the error when
do_configure since lib64 may exist during build source-highlight:

configure: error: Could not find a version of the Boost::Regex library!

Steps to reproduce:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake world

Then:
MACHINE = "qemux86-64"
$ bitbake source-highlight

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>