]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agoRevert "selftest/wic: extending test coverage for WIC script options"
Richard Purdie [Tue, 20 Dec 2016 17:06:01 +0000 (17:06 +0000)]
Revert "selftest/wic: extending test coverage for WIC script options"

This reverts commit 68cb3180c1b0dcee50812b21f98850d188d8621b as this wasn't
ready for merge and there are new better versions.

8 years agobinutils-2.27.inc: Fix alignment frags for aarch64
Manjukumar Matha [Sat, 17 Dec 2016 01:43:31 +0000 (17:43 -0800)]
binutils-2.27.inc: Fix alignment frags for aarch64

There was bug with alignment frags for aarch64 in binutils. This is fixed in
master of binutils. This patch backports the fix to binutils 2.27 version.

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: import git module only when needed
Ed Bartosh [Mon, 19 Dec 2016 13:51:43 +0000 (15:51 +0200)]
oe-selftest: import git module only when needed

git module is not included into standard Python
library and therefore causes import errors on the systems
where PythonGit is not installed.

As git module only used in the code implementing --repository
functionality it's better to import git only in the scope
that requires it.

[YOCTO #10821]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomirrors.bbclass: Fix gnutls mirror directory
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:46 +0000 (15:35 +0200)]
mirrors.bbclass: Fix gnutls mirror directory

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocogl-1.0: Upgrade 1.22.0 -> 1.22.2
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:45 +0000 (15:35 +0200)]
cogl-1.0: Upgrade 1.22.0 -> 1.22.2

Bug fix release. Backport a build fixing patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclutter-gst-3.0: Upgrade 3.0.20 -> 3.0.22
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:44 +0000 (15:35 +0200)]
clutter-gst-3.0: Upgrade 3.0.20 -> 3.0.22

Bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocairo: Upgrade 1.14.6 -> 1.14.8
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:43 +0000 (15:35 +0200)]
cairo: Upgrade 1.14.6 -> 1.14.8

Small bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogdk-pixbuf: Upgrade 2.36.0 -> 2.36.1
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:42 +0000 (15:35 +0200)]
gdk-pixbuf: Upgrade 2.36.0 -> 2.36.1

New binary gdk-pixbuf-thumbnailer packaged in ${PN}-bin.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglib-2.0: Upgrade 2.50.1 -> 2.50.2
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:41 +0000 (15:35 +0200)]
glib-2.0: Upgrade 2.50.1 -> 2.50.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogsettings-desktop-schemas: Upgrade 3.20.0 -> 3.22.0
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:40 +0000 (15:35 +0200)]
gsettings-desktop-schemas: Upgrade 3.20.0 -> 3.22.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogtk+3: Upgrade 3.22.1 -> 3.22.5
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:39 +0000 (15:35 +0200)]
gtk+3: Upgrade 3.22.1 -> 3.22.5

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl-native: Compile with -fPIC
Khem Raj [Mon, 19 Dec 2016 06:39:56 +0000 (22:39 -0800)]
openssl-native: Compile with -fPIC

Fixes
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agoautoconf: Fix AC_HEADER_MAJOR with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:55 +0000 (22:39 -0800)]
autoconf: Fix AC_HEADER_MAJOR with glibc 2.25

Backport the patch from master for 2.69

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agopax: Fix build with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:53 +0000 (22:39 -0800)]
pax: Fix build with glibc 2.25

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agomdadm: Fix build with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:52 +0000 (22:39 -0800)]
mdadm: Fix build with glibc 2.25

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agogrub: Fix build with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:50 +0000 (22:39 -0800)]
grub: Fix build with glibc 2.25

Backport relevant patch from grub git

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agowebkitgtk: Fix atomic detection on arm architecture
Khem Raj [Mon, 19 Dec 2016 06:39:48 +0000 (22:39 -0800)]
webkitgtk: Fix atomic detection on arm architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agogdb: Upgrade to 7.12
Khem Raj [Mon, 19 Dec 2016 06:39:49 +0000 (22:39 -0800)]
gdb: Upgrade to 7.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/wic: extending test coverage for WIC script options
Jair Gonzalez [Tue, 13 Dec 2016 15:53:27 +0000 (09:53 -0600)]
selftest/wic: extending test coverage for WIC script options

The previous WIC script selftest didn't cover all of its command
line options. The following test cases were added to complete
covering them:

1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test wic debug, skip-build-check and build_rootfs
1559 Test image vars directory selection
1562 Test alternate output directory

In addition, the following test cases were assigned an ID number on
Testopia:

1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image

Finally, part of the test methods were rearranged to group them by
functionality, and some cleanup was made to improve the code's
compliance with PEP8 style guide.

Fixes [YOCTO 10594]

(From OE-Core rev: 3d2ac67765020885a0996ebdd97a576ba37dbec0)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackage: don't count every hardlink for PKGSIZE
Ross Burton [Fri, 16 Dec 2016 18:06:20 +0000 (18:06 +0000)]
package: don't count every hardlink for PKGSIZE

When calculating PKGSIZE we sum the size of files after doing lstat() so we
don't count directory metadata overhead, but were not correctly handling
hardlinks.  This results in packages such as e2fsprogs-mke2fs having PKGSIZE of
1.5M when it's actually a single 300K binary with five hardlinks.

[ YOCTO #10423 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3-setuptools: upgrade to 31.0.0
Edwin Plauchu [Thu, 15 Dec 2016 19:00:22 +0000 (13:00 -0600)]
python3-setuptools: upgrade to 31.0.0

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython*-git: Upgrade to version 2.1.1
Jose Lamego [Thu, 15 Dec 2016 22:44:45 +0000 (16:44 -0600)]
python*-git: Upgrade to version 2.1.1

Both python-git and python3-git need to be upgraded to latest upstream
version.
This change includes python3 dependencies added and was tested
using qemux86 with core-image-sato.

Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: obey the rootfs size from the metadata
Christopher Larson [Thu, 15 Dec 2016 19:42:39 +0000 (12:42 -0700)]
wic: obey the rootfs size from the metadata

When no --size is specified for the rootfs in the .wks, we want to obey the
rootfs size from the metadata, otherwise the defined IMAGE_ROOTFS_EXTRA_SPACE
and IMAGE_OVERHEAD_FACTOR will not be obeyed. In some cases, this can result
in image construction failure, if the size determined by du was insufficient
to hold the files without the aforementioned extra space.

This fallback from --size to ROOTFS_SIZE was already implemented when
--rootfs-dir is specified in the .wks, but it did not occur otherwise, neither
when --rootfs-dir= was passed to `wic create` nor when IMAGE_ROOTFS was used.
This made a certain amount of sense, as this fallback logic happened at such
a level that it wasn't able to identify which partitions were rootfs
partitions otherwise. Rather than doing it at that level, we can do it in
prepare_rootfs(), which is run by the rootfs source plugins.

Note that IMAGE_OVERHEAD_FACTOR and a --overhead-factor in the .wks will now
both be applied when --size isn't specified in the .wks. A warning is added
about this, though a user won't see it unless wic fails or they examine the
do_image_wic log.

Fixes [YOCTO #10815]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus-glib 0.106 -> 0.108
Zheng Ruoqin [Fri, 16 Dec 2016 04:51:44 +0000 (12:51 +0800)]
dbus-glib 0.106 -> 0.108

Upgrade dbus-glib from 0.106 to 0.108

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopcmanfm: upgrading to 1.2.5
Edwin Plauchu [Fri, 16 Dec 2016 14:54:04 +0000 (08:54 -0600)]
pcmanfm: upgrading to 1.2.5

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibfm: fix configure error if native vala is absent
Alexander Kanavin [Fri, 16 Dec 2016 14:57:28 +0000 (16:57 +0200)]
libfm: fix configure error if native vala is absent

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/package_manager: bail if createrepo can't be found
Ross Burton [Thu, 15 Dec 2016 17:19:46 +0000 (17:19 +0000)]
lib/oe/package_manager: bail if createrepo can't be found

If createrepo isn't found then the errors later are mysterious, so explicitly
check and error out early if it isn't there.

(From OE-Core rev: e09636bbb3ea8ec58984197fd9c691bb908efe00)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotzdata: update to 2016j
Armin Kuster [Thu, 15 Dec 2016 15:21:45 +0000 (07:21 -0800)]
tzdata: update to 2016j

Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.

  Changes to future time stamps

    Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
    This hives off a new zone Europe/Saratov from Europe/Volgograd.
    (Thanks to Yuri Konotopov and Stepan Golosunov.)

  Changes to past time stamps

    The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
    Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
    1999, not fall 1994.  (Thanks to Stepan Golosunov.)

  Changes to past time zone abbreviations

    Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
summer time before 1948. The old use of "EET" was a typo.

(From OE-Core rev: a0b389b5f3effad5194109f9914dec6125b3569d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotzcode-native: update to 2016j
Armin Kuster [Thu, 15 Dec 2016 15:21:44 +0000 (07:21 -0800)]
tzcode-native: update to 2016j

Changes to code

    zic no longer mishandles file systems that lack hard links, fixing
    bugs introduced in 2016g.  (Problems reported by Tom Lane.)
    Also, when the destination already contains symbolic links, zic
    should now work better on systems where the 'link' system call
    does not follow symbolic links.

Changes to documentation and commentary

    tz-link.htm now documents the relationship between release version
    numbers and development-repository commit tags.  (Suggested by
    Paul Koning.)

    The 'Theory' file now documents UT.

    iso3166.tab now accents "Curaçao", and commentary now mentions
the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.)

(From OE-Core rev: 3fb5ddce97af1d4ada0dcc7f9c0ceef6ac392918)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-bad: default to using egl
Nicolas Dechesne [Thu, 15 Dec 2016 14:40:11 +0000 (15:40 +0100)]
gstreamer1.0-plugins-bad: default to using egl

With the current set of PACKAGECONFIG, we end up building with 'gles2' and neither
'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor
'egl' platform support. So let's make sure that we at least have egl by default
(since we default to 'gles2').

(From OE-Core rev: 4de8447c6536385ca134866682709efebf7d4e3d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821
Mike Looijmans [Thu, 15 Dec 2016 13:31:57 +0000 (14:31 +0100)]
linux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821

Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all firmware
files with matching prefix, to keep the package count down a bit.

(From OE-Core rev: 62a5c0a40d13594a0f16a01701e70dac5e492125)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-video-intel: fix upstream version check
Alexander Kanavin [Thu, 15 Dec 2016 12:48:09 +0000 (14:48 +0200)]
xf86-video-intel: fix upstream version check

Even though upstream hasn't tagged new versions for a long while,
we should not report a bogus tag as something that can be updated to.

(From OE-Core rev: e16e4892368ec2475853d69332f3732dbf7b06cd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoupstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc.
Alexander Kanavin [Thu, 15 Dec 2016 12:48:08 +0000 (14:48 +0200)]
upstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc.

Was a problem with perl in particular.

(From OE-Core rev: cc40b3ad2c4a725f93d0b984f23d34d247cffb2f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoghostscript: fix upstream version check
Alexander Kanavin [Thu, 15 Dec 2016 12:48:07 +0000 (14:48 +0200)]
ghostscript: fix upstream version check

(From OE-Core rev: 10001924baf112a4556c5e85c16c482cbf435950)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agovala: update to 0.34.4
Alexander Kanavin [Thu, 15 Dec 2016 12:48:06 +0000 (14:48 +0200)]
vala: update to 0.34.4

(From OE-Core rev: 798af66e2e11baf53eff6b7f0e370fb77a1c5f72)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosysprof: update to 3.22.3
Alexander Kanavin [Thu, 15 Dec 2016 12:48:05 +0000 (14:48 +0200)]
sysprof: update to 3.22.3

(From OE-Core rev: 4a8ea471e386adff9b8f8b535589e599c1491fa5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiso-codes: update to 3.72
Alexander Kanavin [Thu, 15 Dec 2016 12:48:04 +0000 (14:48 +0200)]
iso-codes: update to 3.72

(From OE-Core rev: 232ce36bb17643355b0b282063609147aa51bc1f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoicu: update to 58.2
Alexander Kanavin [Thu, 15 Dec 2016 12:48:03 +0000 (14:48 +0200)]
icu: update to 58.2

(From OE-Core rev: 68eca85201c2e15ab5c197f3cc70d863fb021493)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agognutls: update to 3.5.7
Alexander Kanavin [Thu, 15 Dec 2016 12:48:02 +0000 (14:48 +0200)]
gnutls: update to 3.5.7

Add a 0001-Do-not-add-cli-args.h-to-cli-args.stamp-Makefile-tar.patch
to fix a compile issue (incorrect creation of an empty header).

Add a libunistring dependency as gnutls has gained it.

(From OE-Core rev: b2ec343ad770c26f39f3a6d335e4bb3ccbf41aec)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoffmpeg: update to 3.2.2
Alexander Kanavin [Thu, 15 Dec 2016 12:48:01 +0000 (14:48 +0200)]
ffmpeg: update to 3.2.2

(From OE-Core rev: b9b50814dfb40f8d124be736f7af9ed4d69bc6b3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocmake: update to 3.7.1
Alexander Kanavin [Thu, 15 Dec 2016 12:48:00 +0000 (14:48 +0200)]
cmake: update to 3.7.1

(From OE-Core rev: 1e15dea62cacdd5c3c1158962a55ca44cfb1726b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoca-certificates: update to 20161130
Alexander Kanavin [Thu, 15 Dec 2016 12:47:59 +0000 (14:47 +0200)]
ca-certificates: update to 20161130

(From OE-Core rev: 81fa46071060920972f3dd1fe17c8dbada0c63b0)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobtrfs-tools: update to 4.8.5
Alexander Kanavin [Thu, 15 Dec 2016 12:47:58 +0000 (14:47 +0200)]
btrfs-tools: update to 4.8.5

(From OE-Core rev: ea806428471418a319754bd069491de6526e867d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobabeltrace: update to 1.5.0
Alexander Kanavin [Thu, 15 Dec 2016 12:47:57 +0000 (14:47 +0200)]
babeltrace: update to 1.5.0

(From OE-Core rev: 08761df0559eca197121a27f8f5be1b48fc008cc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoliburcu: update to 0.9.3
Alexander Kanavin [Thu, 15 Dec 2016 12:47:56 +0000 (14:47 +0200)]
liburcu: update to 0.9.3

Drop 0002-Support-for-aarch64_be.patch, it's merged upstream.

(From OE-Core rev: 2ecb187970c215177f17f2475dee8812ce7f750c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibfm: update to 1.2.5
Alexander Kanavin [Thu, 15 Dec 2016 12:47:55 +0000 (14:47 +0200)]
libfm: update to 1.2.5

(From OE-Core rev: 4674c0894c268690735b433df40e397c85a073a8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopigz: fix upstream version check
Alexander Kanavin [Thu, 15 Dec 2016 12:47:54 +0000 (14:47 +0200)]
pigz: fix upstream version check

(From OE-Core rev: 0cfe7cb744466271e196c9a080168b62c4affb9b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agofontconfig: Fix namespace conflicts with glibc
Khem Raj [Thu, 15 Dec 2016 00:06:08 +0000 (16:06 -0800)]
fontconfig: Fix namespace conflicts with glibc

glibc 2.25 will come with TS 18661-1 macro definitions in limits.h which ends with following errors

| ../../fontconfig-2.12.1/src/fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)
|  #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
|                                                                ^
| ../../fontconfig-2.12.1/src/fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
|  FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
|  ^~~~~~~~~
| ../../fontconfig-2.12.1/src/fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function)
|  #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
|                                                                                     ^
| ../../fontconfig-2.12.1/src/fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
|  FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
|  ^~~~~~~~~
| make[3]: *** [Makefile:632: fcmatch.lo] Error 1

(From OE-Core rev: 3575826752e7140da493c7f560fb5fcf483fc9b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosudo: 1.8.17p1 -> 1.8.18p1
Huang Qiyu [Thu, 15 Dec 2016 09:24:07 +0000 (01:24 -0800)]
sudo: 1.8.17p1 -> 1.8.18p1

Upgrade sudo from 1.8.17p1 to 1.8.18p1.

(From OE-Core rev: 31bafcbcb59bdb370a918ad9b96d4b07af3993f2)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoe2fsprogs 1.43 -> 1.43.3
Zheng Ruoqin [Thu, 15 Dec 2016 02:42:30 +0000 (10:42 +0800)]
e2fsprogs 1.43 -> 1.43.3

Upgrade e2fsprogs from 1.43 to 1.43.3

(From OE-Core rev: 250729ed0183e09b8108239eb03b1c5c290ede46)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agonspr: set correct version in pkg-config file
Andreas Müller [Wed, 14 Dec 2016 22:28:24 +0000 (23:28 +0100)]
nspr: set correct version in pkg-config file

while we are at it clean up sed

(From OE-Core rev: 69e9f7ec8ba8649784a27e9c7dc7a6987a53c22e)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobusybox: add comments to separate Runit from SELinux content in defconfig
Robert P. J. Day [Wed, 14 Dec 2016 15:01:01 +0000 (10:01 -0500)]
busybox: add comments to separate Runit from SELinux content in defconfig

There is no break in busybox's "defconfig" file to show where Runit
settings suddenly morph into SELinux settings, so add some comments.

(From OE-Core rev: 0fa590ed6c26aa065a9da8edbf65436fa1f6d04f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoghostscript 9.19 -> 9.20
Huang Qiyu [Tue, 13 Dec 2016 23:05:39 +0000 (15:05 -0800)]
ghostscript 9.19 -> 9.20

1)Upgrade ghostscript from 9.19 to 9.20.
2)Modify ghostscript-9.15-parallel-make.patch, since the data has been changed.

(From OE-Core rev: 4f3483c3a0ba22f46d768d78d6f56880e8ac5608)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxkbcommon: 0.6.1 -> 0.7.0
Huang Qiyu [Wed, 14 Dec 2016 13:04:00 +0000 (05:04 -0800)]
libxkbcommon: 0.6.1 -> 0.7.0

1)Upgrade libxkbcommon from 0.6.1 to 0.7.0.
2)License checksum changed,since the copyright years were updated.

(From OE-Core rev: 3f972e6a6b69da1b459e75ec1e1a5c9373427ae7)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxi: 1.7.7 -> 1.7.8
Huang Qiyu [Tue, 13 Dec 2016 14:36:55 +0000 (06:36 -0800)]
libxi: 1.7.7 -> 1.7.8

Upgrade libxi from 1.7.7 to 1.7.8.

(From OE-Core rev: f01dc7809a3ce7546e51076066875aabda42aea9)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowpa-supplicant: 2.5 -> 2.6
Zheng Ruoqin [Tue, 13 Dec 2016 07:49:44 +0000 (15:49 +0800)]
wpa-supplicant: 2.5 -> 2.6

1)Upgrade wpa-supplicant from 2.5 to 2.6.
2)Delete 5 patches below, since they are integrated upstream.
  0001-Reject-psk-parameter-set-with-invalid-passphrase-cha.patch
  0001-WPS-Reject-a-Credential-with-invalid-passphrase.patch
  0002-Reject-SET_CRED-commands-with-newline-characters-in-.patch
  0002-Remove-newlines-from-wpa_supplicant-config-network-o.patch
  0003-Reject-SET-commands-with-newline-characters-in-the-s.patch
3)License checksum changes are not related to license changes.

(From OE-Core rev: 878d411eb53e96bf78e902cc2345eccda8807bfc)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoutil-linux: 2.28.1 -> 2.29
Zheng Ruoqin [Tue, 13 Dec 2016 03:30:39 +0000 (11:30 +0800)]
util-linux: 2.28.1 -> 2.29

Upgrade util-linux from 2.28.1 to 2.29

(From OE-Core rev: a675e8219f09a92f1c9c9fccce449d0f0753a53f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoharfbuzz: upgrade to 1.3.4
Maxin B. John [Mon, 12 Dec 2016 15:16:23 +0000 (17:16 +0200)]
harfbuzz: upgrade to 1.3.4

1.3.3 -> 1.3.4

(From OE-Core rev: 7c053b83040d68eb17b12e90499f792f602cd340)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibunistring: Update version 0.9.6 -> 0.9.7
Maxin B. John [Mon, 12 Dec 2016 15:16:22 +0000 (17:16 +0200)]
libunistring: Update version 0.9.6 -> 0.9.7

The license has changed from LGPLv3+ to "LGPLv3+ or GPLv2"
        * README (Copyright): Rewrite section
        * doc/libunistring.texi (Licenses): Change accordingly

(From OE-Core rev: e06584e6f5fcf259dcd0a10383aa4d05b3e74b70)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoltp/posix: replace CWD with PWD
Jackie Huang [Mon, 12 Dec 2016 05:59:47 +0000 (13:59 +0800)]
ltp/posix: replace CWD with PWD

Backport a patch to replace CWD with PWD to avoid
error messages in test results:

basename: missing operand
Try 'basename --help' for more information.

(From OE-Core rev: 8665ccb5c3cefca43898caea06198e79504fdeff)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoltp: avoid segmentation fault in netns tests
Jackie Huang [Mon, 12 Dec 2016 05:59:46 +0000 (13:59 +0800)]
ltp: avoid segmentation fault in netns tests

* backport a patch to avoid segmentation
  fault in netns tests.

* rename previous patch to have ordered
  prefix number.

(From OE-Core rev: 67f67da5d673ad60d3d3138ba32822679f565267)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosubversion: Upgrade 1.9.4 -> 1.9.5
Richard Purdie [Tue, 13 Dec 2016 10:11:02 +0000 (10:11 +0000)]
subversion: Upgrade 1.9.4 -> 1.9.5

(From OE-Core rev: 4cfb7e9342978e77b0167441360330e66b9931cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoutils: Always use datastore's PATH for host_gcc_version
Ross Burton [Thu, 15 Dec 2016 19:09:16 +0000 (19:09 +0000)]
utils: Always use datastore's PATH for host_gcc_version

BUILD_CC may reference something like ccache and expect this to come from
ccache-native, we at least have some selftests which assume this. Modify the
code to use PATH when runnig BUILD_CC to ensure the tests continue to work
as expected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest: wic: qemux86: use weak assignment for WKS_FILE
Maciej Borzecki [Thu, 15 Dec 2016 13:31:08 +0000 (14:31 +0100)]
selftest: wic: qemux86: use weak assignment for WKS_FILE

A follow-up of a fix introduced in
1b32c6ed025745cb06b7c28ca0fe9e416ce7abfa (selftest: wic: fix test_qemu).

Wic test_qemu fails on qemux86 due to a direct assignment of WKS_FILE in machine
configuration. Using default assignment allows WKS_FILE to be overwritten in
test setup.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts: remove True option to getVarFlag calls
Joshua Lock [Wed, 14 Dec 2016 21:13:07 +0000 (21:13 +0000)]
scripts: remove True option to getVarFlag calls

getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.

Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa: remove True option to getVarFlag calls
Joshua Lock [Wed, 14 Dec 2016 21:13:06 +0000 (21:13 +0000)]
meta: remove True option to getVarFlag calls

getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.

Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts: remove True option to getVar calls
Joshua Lock [Wed, 14 Dec 2016 21:13:05 +0000 (21:13 +0000)]
scripts: remove True option to getVar calls

getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa: remove True option to getVar calls
Joshua Lock [Wed, 14 Dec 2016 21:13:04 +0000 (21:13 +0000)]
meta: remove True option to getVar calls

getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovalgrind: make ld-XXX.so strlen intercept optional
Jackie Huang [Wed, 14 Dec 2016 02:26:13 +0000 (10:26 +0800)]
valgrind: make ld-XXX.so strlen intercept optional

Hack: Depending on how glibc was compiled (e.g. optimised
for size or built with _FORTIFY_SOURCE enabled) the strlen
symbol might not be found in ld-XXX.so. Therefore although
we should still try to intercept it, don't make it mandatory
to do so.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuildhistory-diff: report directory renames
Ed Bartosh [Mon, 28 Nov 2016 17:28:03 +0000 (19:28 +0200)]
buildhistory-diff: report directory renames

The script detects directory renaming if two different
directories with the same set of files are added and removed.

[YOCTO #10691]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouninative: rebuild uninative for gcc 4.8 and 4.9
Ed Bartosh [Tue, 13 Dec 2016 23:55:04 +0000 (01:55 +0200)]
uninative: rebuild uninative for gcc 4.8 and 4.9

Some c++ libraries fail to build if uninative is built
with gcc 5.x and host gcc version is either 4.8 or 4.9.

The issue should be solved by making separate uninative sstate
directory structure sstate-cache/universal-<gcc version> for host gcc
versions 4.8 and 4.9. This causes rebuilds of uninative if host gcc
is either 4.8 or 4.9 and it doesn't match gcc version used to build
uninative.

[YOCTO #10441]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: disable 'libdir' QA check
Mark Asselstine [Mon, 12 Dec 2016 19:36:48 +0000 (14:36 -0500)]
systemd: disable 'libdir' QA check

When building systemd with multilib support enabled in your build you
will get the following QA warnings (if the 'libdir' QA check is
enabled.)

WARNING: systemd-1_232-r0 do_package_qa: QA Issue: systemd-dbg: found \
 library in wrong location: /lib/systemd/.debug/libsystemd-shared-232.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared-232.so [libdir]

Since systemd 231 upstream has included an 'internal' library which
they explicitly place in the application specific /lib/systemd
directory. You can see some of the discussion about this placement
here https://github.com/systemd/systemd/issues/3810

This placement is being picked up by the QA checker since when
multilibs are enabled it expects all libraries to be in lib32 or
lib64. Since the systemd and systemd-dbg packages don't contain any
other libraries we can respect the upstream placement and skip this QA
check for these packages. Unfortunately the QA mechanism doesn't allow
us to specify individual files so this approach is the best we can do.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: Fix more NULL pointer derefs
Andrej Valek [Mon, 12 Dec 2016 13:20:21 +0000 (14:20 +0100)]
libxml2: Fix more NULL pointer derefs

The NULL pointer dereferencing could produced some
security problems.
This is a preventive security fix.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges
Andrej Valek [Mon, 12 Dec 2016 13:20:20 +0000 (14:20 +0100)]
libxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges

Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a
document, so simply disallow them in XPointer ranges.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibxml2: Necessary changes before fixing CVE-2016-5131
Andrej Valek [Mon, 12 Dec 2016 13:20:19 +0000 (14:20 +0100)]
libxml2: Necessary changes before fixing CVE-2016-5131

xpath:
 - Check for errors after evaluating first operand.
 - Add sanity check for empty stack.
 - Include comparation in changes from xmlXPathCmpNodesExt to xmlXPathCmpNodes

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopostinst: Add a test case to verify postinst scripts behavior
Jose Perez Carranza [Tue, 6 Dec 2016 17:29:01 +0000 (11:29 -0600)]
postinst: Add a test case to verify postinst scripts behavior

Add test case that verify behavior of postinst scripts at
roofts time and when is delayed to the first boot directly
on the target.

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: Test needed to verify postinst order
Francisco Pedraza [Thu, 24 Nov 2016 21:54:53 +0000 (15:54 -0600)]
selftest: Test needed to verify postinst order

It verifies the following:

1. Compile a minimal image.
2. The compiled image will add the layer with the recipe postinst,
previously created at:
"meta-selftest/recipes-test"
3. Run QEMU.
4. Validate the task execution order.
[YOCTO #5319]

Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/runqemu: Allow to use qemu from host.
Mariano Lopez [Tue, 22 Nov 2016 17:31:53 +0000 (11:31 -0600)]
scripts/runqemu: Allow to use qemu from host.

This will add support to use qemu from the running host,
with this is possible to put qemu-native in ASSUME_PROVIDED
variable.

By default it will try to get qemu from the build sysroot,
and only if it fails will try to use the host's qemu.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosysvinit-inittab: fix getty device removal
Leonardo Sandoval [Tue, 29 Nov 2016 21:56:52 +0000 (15:56 -0600)]
sysvinit-inittab: fix getty device removal

getty devices were not being removed in some cases because device name
was not at the end of the line, for example a ttyS1 device:

S1:12345:respawn:/bin/start_getty 115200 ttyS1 vt102

Removing this limitation allows sed to remove any line containing
the device.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosqlite: build position-independent code
Ross Burton [Thu, 1 Dec 2016 14:56:23 +0000 (14:56 +0000)]
sqlite: build position-independent code

pseudo links against this and uses PIC, so some toolchain combinations will
refuse to link against sqlite unless it is also PIC.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobusybox: allow libiproute to handle table ids larger than 255
Lukasz Nowak [Tue, 13 Dec 2016 16:19:28 +0000 (16:19 +0000)]
busybox: allow libiproute to handle table ids larger than 255

These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.

Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa: move lib/oe tests to oe-selftest
Ross Burton [Tue, 13 Dec 2016 16:31:02 +0000 (16:31 +0000)]
oeqa: move lib/oe tests to oe-selftest

These tests don't get ran often (as demonstrated by the fact that some were not
ported to Python 3), so move them to oeqa/selftest so they get executed
frequently and can be extended easily.

[ YOCTO #7376 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: fix build on wayland(-dev)less hosts
Andreas Müller [Tue, 6 Dec 2016 00:19:21 +0000 (01:19 +0100)]
libsdl2: fix build on wayland(-dev)less hosts

* add sysroot prefix to wayland core protocols
* do not use pkg-config to find wayland-scanner

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: add wayland-protocols and -native to to depends of PACKAGECONFIG[wayland]
Andreas Müller [Tue, 6 Dec 2016 00:19:20 +0000 (01:19 +0100)]
libsdl2: add wayland-protocols and -native to to depends of PACKAGECONFIG[wayland]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: add EXTRA_OECONF[vardepsexclude] = "MACHINE"
Andreas Müller [Tue, 6 Dec 2016 00:19:19 +0000 (01:19 +0100)]
libsdl2: add EXTRA_OECONF[vardepsexclude] = "MACHINE"

fixes Martin's MACHINE checksum test [1]

[1] http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129464.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoextrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL
Jackie Huang [Tue, 13 Dec 2016 08:24:48 +0000 (16:24 +0800)]
extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL

The initramfs image recipes changed to use PACKAGE_INSTALL
so they will not be affected by IMAGE_INSTALL, and will cause
error when inherit extrausers:

| ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs:
  core-image-minimal-initramfs: usermod command did not succeed.

So use PACKAGE_INSTALL as well in extrausers.bbclass to fix it.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: buildoptions: skip read-only-image test depending on distro
Leonardo Sandoval [Fri, 18 Nov 2016 17:53:22 +0000 (11:53 -0600)]
selftest: buildoptions: skip read-only-image test depending on distro

Poky-tiny cannot build core-image-sato, so skip test (read-only-image)
in this case.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: bblayers: remove linux kernel checks for show-recipes check
Leonardo Sandoval [Fri, 18 Nov 2016 18:38:03 +0000 (12:38 -0600)]
selftest: bblayers: remove linux kernel checks for show-recipes check

Preferred kernel recipes depends on the distro, so remove the kernel
checks to avoid failures on non-poky distros and make the test
distro agnostic.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: bbtests: use minimal image so all distros can execute it
Leonardo Sandoval [Fri, 18 Nov 2016 17:37:53 +0000 (11:37 -0600)]
selftest: bbtests: use minimal image so all distros can execute it

poky-tiny distro cannot build full-cmdline image, so use an image
(core-image-minimal) that can be built in all distros.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: base: new object member to store the DISTRO value
Leonardo Sandoval [Fri, 18 Nov 2016 17:27:19 +0000 (11:27 -0600)]
selftest: base: new object member to store the DISTRO value

Instead of quering it multiple times, query once and use it on
test method skip checks. Also, rename current distro sstate object
member to a more meaninful name.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/commands.py: Fix get_bb_vars() when called without arguments
Mariano Lopez [Wed, 14 Dec 2016 07:45:21 +0000 (07:45 +0000)]
oeqa/utils/commands.py: Fix get_bb_vars() when called without arguments

Commit 9d55e9d489cd78be592fb9b4d6484f9060c62fdd broke calling get_bb_vars()
when called without arguments. This fix this issue.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: add basic tinfoil tests
Paul Eggleton [Tue, 13 Dec 2016 07:09:46 +0000 (20:09 +1300)]
oe-selftest: add basic tinfoil tests

Add some tests to verify that the new tinfoil API is operating
correctly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-selftest: devtool: improve test_devtool_modify slightly
Paul Eggleton [Tue, 13 Dec 2016 07:09:45 +0000 (20:09 +1300)]
oe-selftest: devtool: improve test_devtool_modify slightly

* Check that man .in file actually gets modified, since sed -i doesn't
  fail if it it doesn't
* Use a variable for man file path

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: prevent BBHandledException from showing traceback
Paul Eggleton [Tue, 13 Dec 2016 07:09:44 +0000 (20:09 +1300)]
devtool: prevent BBHandledException from showing traceback

If we don't catch this then attempting to run devtool in non-memres mode
when bitbake is already running will produce a traceback instead of just
an error message.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: extract: disable basehash mismatch errors
Paul Eggleton [Tue, 13 Dec 2016 07:09:43 +0000 (20:09 +1300)]
devtool: extract: disable basehash mismatch errors

Using the setVariable commands here followed by buildFile will result in
"basehash mismatch" errors, and that's expected since we are deviating
*at runtime* from what was previously seen by changing these variable
values. Set BB_HASH_IGNORE_MISMATCH to turn off the errors.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/recipeutils: drop parse_recipe_simple()
Paul Eggleton [Tue, 13 Dec 2016 07:09:42 +0000 (20:09 +1300)]
lib/oe/recipeutils: drop parse_recipe_simple()

This was intended to be used with tinfoil, but tinfoil now has its own
parse_recipe() method to do this which works properly in the memres
case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: fix extraction of source to work in memres mode
Paul Eggleton [Tue, 13 Dec 2016 07:09:41 +0000 (20:09 +1300)]
devtool: fix extraction of source to work in memres mode

Extracting the source for a recipe (as used by devtool's extract, modify
and upgrade subcommands) requires us to run do_fetch, do_unpack,
do_patch and any tasks that the recipe has inserted inbetween, and do so
with a modified datastore primarily so that we can redirect WORKDIR and
STAMPS_DIR in order to have the files written out to a place of our
choosing and avoid stamping the tasks as having executed in a real build
context respectively. However, this all gets much more difficult when in
memres mode since we can't call internal functions such as
bb.build.exec_func() directly - instead we need to execute the tasks on
the server. To do this we use the buildFile command which already exists
for the purpose of supporting bitbake -b, and setVariable commands to
set up the appropriate datastore.

(I did look at passing the modified datastore to the buildFile command
instead of using setVar() on the main datastore, however its use of
databuilder makes that very difficult, and we'd also need a different
method of getting the changes in the datastore over to the worker as
well.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: add OE lib path
Paul Eggleton [Tue, 13 Dec 2016 07:09:40 +0000 (20:09 +1300)]
recipetool: add OE lib path

The autotools code imports oe.package; we weren't experiencing a problem
with this probably due to OE itself adding that path previously.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/patch: move several functions to oe.patch
Paul Eggleton [Tue, 13 Dec 2016 07:09:39 +0000 (20:09 +1300)]
classes/patch: move several functions to oe.patch

Move patch_path(), src_patches() and should_apply() to oe.patch, making
them easier to call from elsewhere (particularly across the
UI/server boundary).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/patch: move in logic to commit for additional tasks
Paul Eggleton [Tue, 13 Dec 2016 07:09:38 +0000 (20:09 +1300)]
classes/patch: move in logic to commit for additional tasks

If PATCHTOOL is "git", and PATCH_COMMIT_FUNCTIONS is set to "1", for
additional tasks between do_unpack and do_patch, make a git commit. This
logic was previously implemented in devtool itself, but it makes more
sense for it to be implemented in the patch class since that's where the
rest of the logic is for this (or in lib/oe/patch.py). It also makes
it possible for this to work with tinfoil2.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>