]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agopackage.py: Add function strip_execs
Tobias Hagelborn [Tue, 20 Jun 2017 07:42:42 +0000 (09:42 +0200)]
package.py: Add function strip_execs

Strip all executables in a directory.
Utility function  placed in oe-package together with run_strip.
strip_execs is based on strip_sysroot from staging.bbclass
Moving out datastore references in favor of function parameters.

Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocups: don't change permissions of /var/run/cups/certs in do_package
Ross Burton [Mon, 26 Jun 2017 10:08:18 +0000 (11:08 +0100)]
cups: don't change permissions of /var/run/cups/certs in do_package

This directory is deleted by do_install, so luckily the lack of error checking
meant this didn't break.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agometa/conf/layer.conf: bump layer version for LSB changes
Ross Burton [Wed, 28 Jun 2017 14:23:44 +0000 (15:23 +0100)]
meta/conf/layer.conf: bump layer version for LSB changes

As oe-core has just dropped a number of recipes that were for LSB
conformance, bump the layer version so we can also remove meta-qt4 from
the autobuilder.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogrub: fix 0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch missing
Hongxu Jia [Thu, 22 Jun 2017 02:20:09 +0000 (22:20 -0400)]
grub: fix 0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch missing

Since grub upgraded to 2.02, it forgot to aplly
0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch.
...
commit 4f27e4042dfb39caa71c7c6eb0a327de6af4d563
Author: Khem Raj <raj.khem@gmail.com>
Date:   Fri Apr 21 20:36:06 2017 +0000

    grub: Update to 2.02
...

The missing caused grub-mkconfig could not detect kernel bzImage.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssh: Remove deprecated sshd option
Gary Thomas [Thu, 18 May 2017 09:09:15 +0000 (11:09 +0200)]
openssh: Remove deprecated sshd option

The UsePrivilegeSeparation is no longer supported (recent SSHD always runs
with previlege separation), so remove this option from the default config
file to avoid this warning:
  /etc/ssh/sshd_config line 110: Deprecated option UsePrivilegeSeparation

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogdk-pixbuf: Make loader.cache reproducible
Jussi Kukkonen [Thu, 22 Jun 2017 09:52:06 +0000 (12:52 +0300)]
gdk-pixbuf: Make loader.cache reproducible

Make the loader order in the file reliable to enable more reproducible
builds.

[YOCTO #11610]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibcroco: Upgrade 0.6.11 -> 0.6.12
Fan Xin [Thu, 22 Jun 2017 02:30:17 +0000 (11:30 +0900)]
libcroco: Upgrade 0.6.11 -> 0.6.12

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsndfile1: Fix CVE-2017-6892
Fan Xin [Thu, 22 Jun 2017 01:44:02 +0000 (10:44 +0900)]
libsndfile1: Fix CVE-2017-6892

Backport upstream patch to fix CVE-2017-6892.

CVE: CVE-2017-6892

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowayland-protocols: upgrade to 1.8
Denys Dmytriyenko [Wed, 21 Jun 2017 15:36:46 +0000 (11:36 -0400)]
wayland-protocols: upgrade to 1.8

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibpcre2: 10.22 -> 10.23
Fan Xin [Wed, 21 Jun 2017 08:08:30 +0000 (17:08 +0900)]
libpcre2: 10.22 -> 10.23

1. Upgrade libpcre2 from 10.22 to 10.23

2. Update the checksum of LIC_FILES_CHKSUM
   The copyright time of LICENCE is updated to 2017, the content of LICENCE has no change.

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: Update to 17.1.3 release
Otavio Salvador [Tue, 20 Jun 2017 21:10:28 +0000 (18:10 -0300)]
mesa: Update to 17.1.3 release

17.1.2 release includes fixes for:

  Bug 98833 - [REGRESSION, bisected] Wayland revert commit breaks
              non-Vsync fullscreen frame updates
  Bug 100741 - Chromium - Memory leak
  Bug 100877 - vulkan/tests/block_pool_no_free regression
  Bug 101110 - Build failure in GNOME Continuous

17.1.3 release includes fixes for:

  Bug 100988 - glXGetCurrentDisplay() no longer works for FakeGLX
               contexts?

The 17.1.3 release includes the "util/rand_xor: add missing include
statements" which is now merged upstream (thanks Nicolas Dechesne);
the referred patch is then dropped from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobtrfs-tools: upgrade to 4.11
Alexander Kanavin [Mon, 19 Jun 2017 11:44:47 +0000 (14:44 +0300)]
btrfs-tools: upgrade to 4.11

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibfakekey: upgrade to 0.3+gitAUTOINC+7ad885912e
Alexander Kanavin [Mon, 19 Jun 2017 11:44:43 +0000 (14:44 +0300)]
libfakekey: upgrade to 0.3+gitAUTOINC+7ad885912e

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agovala: upgrade to 0.36.3
Alexander Kanavin [Mon, 19 Jun 2017 11:44:34 +0000 (14:44 +0300)]
vala: upgrade to 0.36.3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoltp: use upstream patch to fix faccessat/fchmodat build warnings
Fathi Boudra [Tue, 20 Jun 2017 15:30:54 +0000 (18:30 +0300)]
ltp: use upstream patch to fix faccessat/fchmodat build warnings

Use 0037-faccessat-and-fchmodat-Fx-build-warnings.patch instead of
0012-fix-faccessat01.c-build-fails-with-security-flags.patch.
The new patch has been merged upstream and will be available in next LTP
release.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoconnman: fix build-time warning with sysvinit
Maxin B. John [Tue, 20 Jun 2017 08:35:40 +0000 (11:35 +0300)]
connman: fix build-time warning with sysvinit

Due to recent modifications related to systemd, sysvinit builds began
to show this warning:

WARNING: connman-1.34-r0 do_package: connman: NOT adding alternative
provide /etc/resolv.conf: /etc/resolv-conf.connman does not exist

Fix this warning by making those updates specific to systemd.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agofile: 5.30 -> 5.31
Fan Xin [Tue, 20 Jun 2017 04:53:06 +0000 (13:53 +0900)]
file: 5.30 -> 5.31

1. Upgrade file from 5.30 to 5.31

2. Rebase the following patch file.
   debian-742262.patch

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibinput: upgrade to 1.7.3
Denys Dmytriyenko [Mon, 19 Jun 2017 17:30:08 +0000 (13:30 -0400)]
libinput: upgrade to 1.7.3

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa.inc: replace deprecated configure options
Trevor Woerner [Mon, 19 Jun 2017 14:14:19 +0000 (10:14 -0400)]
mesa.inc: replace deprecated configure options

--with-egl-platforms -> --with-platforms
--enable-gallium-llvm -> --enable-llvm

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogdb: fix gdbserver not working in musl/mips context
André Draszik [Mon, 19 Jun 2017 11:49:38 +0000 (12:49 +0100)]
gdb: fix gdbserver not working in musl/mips context

Similar to
  https://bugs.lede-project.org/index.php?do=details&task_id=637&openedfrom=-1%2Bweek

Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopkg-utils: rename recipe to follow versioned releases
Alejandro del Castillo [Fri, 16 Jun 2017 19:48:27 +0000 (14:48 -0500)]
opkg-utils: rename recipe to follow versioned releases

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodhcp: remove PN from PACKAGES
Ross Burton [Tue, 20 Jun 2017 13:22:51 +0000 (14:22 +0100)]
dhcp: remove PN from PACKAGES

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoepiphany: remove unused intltool build-dependency
Ross Burton [Fri, 16 Jun 2017 19:19:14 +0000 (20:19 +0100)]
epiphany: remove unused intltool build-dependency

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodmidecode: update to 3.1
Alexander Kanavin [Fri, 16 Jun 2017 11:59:19 +0000 (14:59 +0300)]
dmidecode: update to 3.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agonpth: update to 1.5
Alexander Kanavin [Fri, 16 Jun 2017 11:58:02 +0000 (14:58 +0300)]
npth: update to 1.5

Licensing has changed to LGPLv2+.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoliburcu: update to 0.10.0
Alexander Kanavin [Fri, 16 Jun 2017 11:51:06 +0000 (14:51 +0300)]
liburcu: update to 0.10.0

Drop backported patch.
Update paths to files that establish the licensing.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogettext: relocate msgfmt utility for all recipes
Alexander Kanavin [Fri, 16 Jun 2017 11:37:33 +0000 (14:37 +0300)]
gettext: relocate msgfmt utility for all recipes

Now that epiphany needs a working msgfmt as well, let's do this trick
where it should be.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agopython3-pygobject: update to 3.24.1
Alexander Kanavin [Thu, 15 Jun 2017 14:49:14 +0000 (17:49 +0300)]
python3-pygobject: update to 3.24.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogobject-introspection: update to 1.52.1
Alexander Kanavin [Wed, 10 May 2017 07:51:40 +0000 (10:51 +0300)]
gobject-introspection: update to 1.52.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoepiphany: update to 3.24.2
Alexander Kanavin [Tue, 9 May 2017 13:01:19 +0000 (16:01 +0300)]
epiphany: update to 3.24.2

epiphany has been relicensed to GPLv3+:
https://git.gnome.org/browse/epiphany/commit/?id=e54cb1c7e97ddca58977a8ee01a138ff57ba6f2c

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agouninative-flags.inc: do not default to old C++ ABI
Alexander Kanavin [Mon, 8 May 2017 14:37:58 +0000 (17:37 +0300)]
uninative-flags.inc: do not default to old C++ ABI

This was needed for interoperability between code compiled with gcc 4 and 5;
there should be now a different fix for the issue:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c21cec84886d9c70396e9be0ceb9a8ef300b54be

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agobdwgc: remove the recipe
Alexander Kanavin [Thu, 15 Jun 2017 13:36:50 +0000 (16:36 +0300)]
bdwgc: remove the recipe

It will be moved to meta-oe, but nothing needs it in oe-core anymore.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoguile: remove the recipe
Alexander Kanavin [Thu, 15 Jun 2017 13:33:24 +0000 (16:33 +0300)]
guile: remove the recipe

With the removal of autogen and remake, guile is no longer needed.
Nothing requires it in meta-oe either.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoremake: remove the recipe
Alexander Kanavin [Thu, 15 Jun 2017 13:32:17 +0000 (16:32 +0300)]
remake: remove the recipe

Using remake as the provider of virtual/make has been broken for a while;
looks like no one is using it at all.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoautogen-native: remove the recipe
Alexander Kanavin [Thu, 15 Jun 2017 13:21:19 +0000 (16:21 +0300)]
autogen-native: remove the recipe

With grub no longer requiring it, there's nothing else in oe-core or meta-oe
that does.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agogrub2: remove autogen dependency
Alexander Kanavin [Thu, 15 Jun 2017 13:16:42 +0000 (16:16 +0300)]
grub2: remove autogen dependency

Hasn't been required by grub for quite a while.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibid3tag: fix upstream version check
Alexander Kanavin [Thu, 15 Jun 2017 12:59:03 +0000 (15:59 +0300)]
libid3tag: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agospeex: fix upstream version check
Alexander Kanavin [Thu, 15 Jun 2017 12:46:07 +0000 (15:46 +0300)]
speex: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agologrotate: fix upstream version check
Alexander Kanavin [Thu, 15 Jun 2017 12:45:58 +0000 (15:45 +0300)]
logrotate: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agotrace-cmd: update to 2.6.1
Alexander Kanavin [Mon, 8 May 2017 13:39:46 +0000 (16:39 +0300)]
trace-cmd: update to 2.6.1

License change is due to update in FSF address.

Library path needs to be specified in absolute form now.

Remove bash completion file from kernelshark package as it will cause
a conflict with trace-cmd package.

Add a patch to resolve musl build issues.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agomailx: remove the recipe
Alexander Kanavin [Wed, 3 May 2017 13:07:09 +0000 (16:07 +0300)]
mailx: remove the recipe

This recipe was carried only for LSB compatibility,
with upstream being defunct for a long time; if there is a need
for a modern, supported implementation of mail/mailx, then
s-nail (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/)
should be used.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agorecipes-lsb4/perl: remove the recipes
Alexander Kanavin [Wed, 3 May 2017 13:04:46 +0000 (16:04 +0300)]
recipes-lsb4/perl: remove the recipes

These were required by LSB 4.1 tests; there's no other reason to continue
carrying them in oe-core.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolibpng12: remove the recipe
Alexander Kanavin [Wed, 3 May 2017 12:59:45 +0000 (15:59 +0300)]
libpng12: remove the recipe

It was only in oe-core because of LSB; let's remove it. Current libpng is 1.6.x.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agopackagegroup-core-lsb: do not include Qt4 anymore
Alexander Kanavin [Fri, 5 May 2017 12:51:41 +0000 (15:51 +0300)]
packagegroup-core-lsb: do not include Qt4 anymore

Last version of qt4 was released 2 years ago, and Qt4 was
officially EOLd at the end of 2015. On the other hand, LSB is no longer
being developed, and so will 'require' Qt4 until the end of time.

Let's pull the plug.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agopython: remove unused 2.x versions of several packages
Alexander Kanavin [Wed, 26 Apr 2017 15:51:29 +0000 (18:51 +0300)]
python: remove unused 2.x versions of several packages

Nothing is using them in oe-core or meta-oe layers (except python-six is used by
and provided in meta-oe, so there was recipe duplication).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agopython-pycurl: remove the recipe
Alexander Kanavin [Wed, 26 Apr 2017 15:50:45 +0000 (18:50 +0300)]
python-pycurl: remove the recipe

Nothing is using it in oe-core or meta-oe layers.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibiconv: remove recipe
Alexander Kanavin [Tue, 21 Feb 2017 16:05:50 +0000 (18:05 +0200)]
libiconv: remove recipe

It was in use by oe-core only when uclibc was used, and so serves
no purpose anymore. Both glibc and musl provide their own implementation.

However, meta-mingw still depends on it, and so the recipe has been moved there.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoREADME.LSB: describe oe-core's deviations from the LSB spec
Alexander Kanavin [Fri, 5 May 2017 13:07:47 +0000 (16:07 +0300)]
README.LSB: describe oe-core's deviations from the LSB spec

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agoopkg: upgrade to v0.3.5
Alejandro del Castillo [Thu, 15 Jun 2017 23:17:27 +0000 (18:17 -0500)]
opkg: upgrade to v0.3.5

Drop status-conffile.patch, present in 0.3.5.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoperl: Do not generate file dependencies for perl-ptest
Peter Kjellerstedt [Thu, 15 Jun 2017 13:53:04 +0000 (15:53 +0200)]
perl: Do not generate file dependencies for perl-ptest

The perl-ptest package contains Perl internal modules and generating
file dependencies for it causes problems.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinsane: add extensible framework for recipe-wide QA tests
Ross Burton [Mon, 19 Jun 2017 14:59:40 +0000 (15:59 +0100)]
insane: add extensible framework for recipe-wide QA tests

Following QAPATHTEST (QA hook for each file in each package) and QAPKGTEST (QA
hook for each package), add QARECIPETEST: a hook which is executed once per
recipe in do_package_qa.

This makes it trivial to add recipe-wide QA tests that integrate with the
existing tests.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinsane: rename pkg to pn because that is what it is
Ross Burton [Mon, 19 Jun 2017 14:59:13 +0000 (15:59 +0100)]
insane: rename pkg to pn because that is what it is

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agognomebase.bbclass: add datadir/icons and datadir/appdata to standard FILES list
Alexander Kanavin [Fri, 16 Jun 2017 11:38:58 +0000 (14:38 +0300)]
gnomebase.bbclass: add datadir/icons and datadir/appdata to standard FILES list

Gnome apps seem to increasingly package those, so let's make it common.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agotoolchain-scripts: add check for LD_LIBRARY_PATH in the SDK env setup script
Denys Dmytriyenko [Thu, 15 Jun 2017 19:09:49 +0000 (15:09 -0400)]
toolchain-scripts: add check for LD_LIBRARY_PATH in the SDK env setup script

Provide a descriptive error message and exit the environment-setup script,
when LD_LIBRARY_PATH is set on the host system.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-init-build-env-memres: swap parameter order
Paul Eggleton [Wed, 21 Jun 2017 19:49:54 +0000 (21:49 +0200)]
oe-init-build-env-memres: swap parameter order

This script expected the port number to be specified first, which is
somewhat counter-intuitive especially if you're used to
oe-init-build-env; besides, in local usage you are unlikely to need to
specify a custom port. Given that few people are using this yet (based
on the issues I have recently fixed), switch the arguments around so
that the two scripts behave consistently.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoselftest/devtool: Don't use removed remake as test case
Jussi Kukkonen [Wed, 21 Jun 2017 16:18:26 +0000 (19:18 +0300)]
selftest/devtool: Don't use removed remake as test case

remake was removed from oe-core: use another recipe in the devtool
extract test.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-selftest: add a test for upstream version check regressions
Alexander Kanavin [Fri, 21 Apr 2017 07:57:01 +0000 (10:57 +0300)]
oe-selftest: add a test for upstream version check regressions

The test runs an upstream version check, and then compares the
list of recipes that failed the check (i.e. those where latest
upstream version could not be established) against the list of
known-broken upstreams. Mismatches either way (upstream check failed,
recipe not in the exception list, or upstream check worked,
recipe in exception list) fail the test.

[YOCTO #11031]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
7 years agolib/oe/distro_check: drop Mandriva from create_distro_packages_list()
Joshua Lock [Tue, 20 Jun 2017 09:58:53 +0000 (10:58 +0100)]
lib/oe/distro_check: drop Mandriva from create_distro_packages_list()

Mandriva is no longer maintained, with its last release having been in
2011. It's no longer useful as a yard-stick distro, therefore drop it from
distro_check.create_distro_packages_list()

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolib/oe/distro_check: update openSUSE to use Leap url formats
Joshua Lock [Tue, 20 Jun 2017 09:58:52 +0000 (10:58 +0100)]
lib/oe/distro_check: update openSUSE to use Leap url formats

Since openSUSE switched to their dual development model of Leap and
Tumbleweed the urls we need to check for package lists has changed. Update
get_latest_released_opensuse_source_package_list() to use the new Leap
urls.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agognupg: fix floating dependancy on gnutls
Saul Wold [Tue, 27 Jun 2017 21:44:08 +0000 (14:44 -0700)]
gnupg: fix floating dependancy on gnutls

gunpg added TLS support to the dirmngr for 2.1.0, mostly we linked with
gnutls and had the RDEPENDS for gnutls. Since we had TLS support continue
enabling it by default.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogtk-doc: Handle floating gtk-doc dependency
Richard Purdie [Tue, 27 Jun 2017 20:00:58 +0000 (21:00 +0100)]
gtk-doc: Handle floating gtk-doc dependency

Allow the tests to be explicitly disabled to avoid floating dependnecy
issues. This is not really an issue with RSS but is on previous releases.
Currently the tests are enabled/disabled depending on the presence of
glib-2.0.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-modules: update to 2.9.3
Nathan Lynch [Fri, 16 Jun 2017 21:48:22 +0000 (16:48 -0500)]
lttng-modules: update to 2.9.3

Miscellaneous fixes and support for 4.12-rc kernels.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-tools: update to 2.9.5
Nathan Lynch [Fri, 16 Jun 2017 21:39:51 +0000 (16:39 -0500)]
lttng-tools: update to 2.9.5

Miscellaneous fixes.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolttng-ust: update to 2.9.1
Nathan Lynch [Fri, 16 Jun 2017 21:39:50 +0000 (16:39 -0500)]
lttng-ust: update to 2.9.1

Miscellaneous fixes.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorunqemu: drop RPC ports
Robert Yang [Thu, 22 Jun 2017 08:30:06 +0000 (01:30 -0700)]
runqemu: drop RPC ports

The following commit has removed rpc ports from runqemu-export-rootfs, so
runqemu should also remove them, otherwise "runqemu nfs" doesn't work. And use
abspath for nfsroot, otherwise it doesn't work when it is a relative path.

commit 6bb9860ef7ba9c84fe9bd3a81aa6555f67ebd38e
Author: Cody P Schafer <dev@codyps.com>
Date:   Tue Jun 6 18:30:49 2017 -0400

    runqemu-export-rootfs: don't change RPC ports

[YOCTO #11687]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL"
Richard Purdie [Tue, 27 Jun 2017 12:48:59 +0000 (13:48 +0100)]
Revert "bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL"

This clearly wasn't tested as the correct variable is ASSUME_PROVIDED.

This reverts commit 91cee064332969207334cd1ee5c31d02610281fc.

7 years agometa: Add/fix missing Upstream-Status to patches
Richard Purdie [Mon, 26 Jun 2017 10:52:30 +0000 (11:52 +0100)]
meta: Add/fix missing Upstream-Status to patches

This adds or fixes the Upstream-Status for all remaining patches missing it
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa: Fix malformed Upstream-Status tags
Ross Burton [Fri, 23 Jun 2017 15:44:55 +0000 (16:44 +0100)]
meta: Fix malformed Upstream-Status tags

Fix a variety of spelling and format mistakes to improve the ease of reading the
tags programatically.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemuboot.conf: make cpus match built artifacts
Martin Kelly [Tue, 2 May 2017 19:20:13 +0000 (12:20 -0700)]
qemuboot.conf: make cpus match built artifacts

Currently, the qemu CPUs for are specified as generic, but the built
artifacts are not. For example, we build x86-64 artifacts targeting
core2duo but run them in qemu with generic qemu/kvm CPUs. This causes
some packages that take advantage of the host architecture to crash
because they try to use CPU features not advertised by qemu. As an
example, Qt uses ssse3. When artifacts linked against Qt and built
targeting core2duo attempt to run on a generic qemu/kvm CPU, we get
the following crash:

Incompatible processor. This Qt build requires the following features:
     ssse3

We could fix this by making packages like Qt not take advantage of CPU
features. However, we will probably keep facing similar issues over
time, so it's better to resolve them in a more enduring way.

Fix this by making the qemu -cpu arguments match the built artifacts.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_manager.py: set dnf's releasever setting from DISTRO_CODENAME
Alexander Kanavin [Wed, 21 Jun 2017 12:58:21 +0000 (15:58 +0300)]
package_manager.py: set dnf's releasever setting from DISTRO_CODENAME

So that:

1) dnf does not complain anymore about releasever not being set and then fail
for the same reason;

2) it's possible to refer to $releasever in dnf package feed configuration
(repo paths in particular) without hardconding the release name (pyro, morty, etc.)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodnf: update to 2.5.1
Alexander Kanavin [Wed, 21 Jun 2017 12:58:20 +0000 (15:58 +0300)]
dnf: update to 2.5.1

Drop 0001-Revert-proper-check-of-releasever-when-using-install.patch
as the problem has been solved upstream.

Add 0001-Move-releasever-check-after-the-etc-dnf-vars-substit.patch,
as the warning for missing releasever is issued prematurely in our case.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibdnf: update to 0.9.1
Alexander Kanavin [Wed, 21 Jun 2017 12:58:19 +0000 (15:58 +0300)]
libdnf: update to 0.9.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogobject-introspection: Disable generating static lbraries
Khem Raj [Tue, 13 Jun 2017 02:28:32 +0000 (19:28 -0700)]
gobject-introspection: Disable generating static lbraries

So we do not accidentally end of using static libraries when doing
PIE enabled builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowebkitgtk: Upgrade to 2.16.3
Khem Raj [Wed, 14 Jun 2017 19:34:11 +0000 (12:34 -0700)]
webkitgtk: Upgrade to 2.16.3

Use bfd linker on ppc, this is because gold fails to link
webkit libraries when PIE is enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agozlib: Pass pre-calculate uname enable re-entrant flags
Khem Raj [Tue, 13 Jun 2017 23:13:44 +0000 (16:13 -0700)]
zlib: Pass pre-calculate uname enable re-entrant flags

Fix ptest generation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agoffmpeg: Upgrade to 3.3.2 stable
Khem Raj [Tue, 13 Jun 2017 00:32:10 +0000 (17:32 -0700)]
ffmpeg: Upgrade to 3.3.2 stable

* Fix mips/mips64 along the way, it was broken in 3.3 as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agogit: Add a dependency on perl for gitweb
Peter Kjellerstedt [Thu, 15 Jun 2017 13:53:08 +0000 (15:53 +0200)]
git: Add a dependency on perl for gitweb

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotexi2html: Add a dependency on perl
Peter Kjellerstedt [Thu, 15 Jun 2017 13:53:07 +0000 (15:53 +0200)]
texi2html: Add a dependency on perl

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: Avoid a dependency on python-core
Peter Kjellerstedt [Thu, 15 Jun 2017 13:53:06 +0000 (15:53 +0200)]
linux-firmware: Avoid a dependency on python-core

Remove the check_whence.py script since it is only needed to validate
the WHENCE file, and only if explicitly running `make check`.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibpcap: apply fix from upstream to fix build race
Ross Burton [Fri, 16 Jun 2017 12:32:15 +0000 (13:32 +0100)]
libpcap: apply fix from upstream to fix build race

../libpcap-1.8.1/grammar.y:78:10:
fatal error: scanner.h: No such file or directory

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoghostscript: add X11 PACKAGECONFIG info
Joe Slater [Thu, 15 Jun 2017 21:35:27 +0000 (14:35 -0700)]
ghostscript: add X11 PACKAGECONFIG info

Add information necessary to build for x11, but
do not enable that option.

Fix parallel build directory creation issue.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoghostscript: move to version 9.21
Joe Slater [Thu, 15 Jun 2017 21:35:26 +0000 (14:35 -0700)]
ghostscript: move to version 9.21

Eliminate CVE patches that are now in source.

Add CUPSCONFIG to configure options.

Signed-off-by: Joe Slater <jslater@windriver.com>
to be scrunched

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibnewt: 0.52.19 -> 0.52.20
Huang Qiyu [Mon, 15 May 2017 03:20:27 +0000 (11:20 +0800)]
libnewt: 0.52.19 -> 0.52.20

Upgrade libnewt from 0.52.19 to 0.52.20.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotzdata: Install zone1970.tab
Jan Kiszka [Fri, 16 Jun 2017 07:28:05 +0000 (09:28 +0200)]
tzdata: Install zone1970.tab

The modern version of zone.tab is required by tzselect e.g.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocore-image-sato: drop packagegroup-core-x11-sato-games from IMAGE_INSTALL
Ming Liu [Thu, 15 Jun 2017 17:16:05 +0000 (19:16 +0200)]
core-image-sato: drop packagegroup-core-x11-sato-games from IMAGE_INSTALL

packagegroup-core-x11-sato-games package is being RDEPENDS by
packagegroup-core-x11-sato, hence will be installed if x11-sato is
choosen in IMAGE_FEATURES. So it's unnecessary appending it into
IMAGE_INSTALL.

Even worse, it's causing the following error when x11 is not
in DISTRO_FEATURES:
| ERROR: Required build target 'core-image-sato' has no buildable providers.
| Missing or unbuildable dependency chain was: ['core-image-sato', 'packagegroup-core-x11-sato-games']

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxml2: Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local"
Andrej Valek [Wed, 14 Jun 2017 13:12:22 +0000 (15:12 +0200)]
libxml2: Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local"

The new flag doesn't work and the change even broke the XML_PARSE_NONET option.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agolibxml2: Fix CVE-2017-0663
Andrej Valek [Wed, 14 Jun 2017 13:07:56 +0000 (15:07 +0200)]
libxml2: Fix CVE-2017-0663

Fix type confusion in xmlValidateOneNamespace

Comment out code that casts xmlNsPtr to xmlAttrPtr. ID types
on namespace declarations make no practical sense anyway.

Fixes bug 780228

CVE: CVE-2017-0663
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agolibxml2: Fix CVE-2017-5969
Andrej Valek [Wed, 14 Jun 2017 13:01:35 +0000 (15:01 +0200)]
libxml2: Fix CVE-2017-5969

Fix NULL pointer deref in xmlDumpElementContent

Can only be triggered in recovery mode.

Fixes bug 758422

CVE: CVE-2017-5969
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agolibxml2: Fix CVE-2017-9049 and CVE-2017-9050
Andrej Valek [Wed, 14 Jun 2017 12:58:47 +0000 (14:58 +0200)]
libxml2: Fix CVE-2017-9049 and CVE-2017-9050

Fix handling of parameter-entity references

There were two bugs where parameter-entity references could lead to an
unexpected change of the input buffer in xmlParseNameComplex and
xmlDictLookup being called with an invalid pointer.

Fixes bug 781205 and bug 781361

CVE: CVE-2017-9049 CVE-2017-9050
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agolibxml2: Fix CVE-2017-9047 and CVE-2017-9048
Andrej Valek [Wed, 14 Jun 2017 12:55:03 +0000 (14:55 +0200)]
libxml2: Fix CVE-2017-9047 and CVE-2017-9048

xmlSnprintfElementContent failed to correctly check the available
buffer space in two locations.

Fixes bug 781333 and bug 781701

CVE: CVE-2017-9047 CVE-2017-9048
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agolibxml2: Avoid reparsing and simplify control flow in xmlParseStartTag2
Andrej Valek [Wed, 14 Jun 2017 12:38:35 +0000 (14:38 +0200)]
libxml2: Avoid reparsing and simplify control flow in xmlParseStartTag2

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agolibxml2: Disable LeakSanitizer when running API tests
Andrej Valek [Wed, 14 Jun 2017 12:34:37 +0000 (14:34 +0200)]
libxml2: Disable LeakSanitizer when running API tests

Makefile.am: Disable LeakSanitizer when running API tests

The autogenerated API tests leak memory.

Upstream-Status: Backported - [https://git.gnome.org/browse/libxml2/commit/?id=ac9a4560ee85b18811ff8ab7791ddfff7b144b0a]
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
7 years agoutil-linux: upgrade to 2.30
Denys Dmytriyenko [Tue, 13 Jun 2017 16:51:52 +0000 (12:51 -0400)]
util-linux: upgrade to 2.30

Drop uuid-test-error-api.patch as it's been fixed upstream differently:
https://github.com/karelzak/util-linux/commit/b770b487004778f4425639c7ed1bb6ca22d157bf

Drop ptest for tailf, as it got deprecated and removed:
https://github.com/karelzak/util-linux/commit/70ca1a77721b41f2355eeb00d4e55e13dba3e313

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: add more PACKAGECONFIG options
Marc Ferland [Tue, 13 Jun 2017 17:44:56 +0000 (13:44 -0400)]
bluez5: add more PACKAGECONFIG options

This patch adds missing PACKAGECONFIG options and allow for a more
fine-grained build of bluez5.

I took care of providing a default configuration that matches the
previous default config.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: remove libusb dependency
Marc Ferland [Tue, 13 Jun 2017 17:44:55 +0000 (13:44 -0400)]
bluez5: remove libusb dependency

Not a dependency since version 5.9.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokernel-uimage.bbclass: Fix up generation of uImage from vmlinux
Nathan Rossi [Fri, 16 Jun 2017 12:38:49 +0000 (22:38 +1000)]
kernel-uimage.bbclass: Fix up generation of uImage from vmlinux

Fix up the generation of uImage from vmlinux when KEEPUIMAGE != 'yes'.
This fixes up the working directory that do_uboot_mkimage is run from,
such that it is run from the ${B} directory to access built artefacts.

Simplify the logic in the task so that the parse step either adds the
task or not if the conditions are met. This reduces the need for the
task to run in cases when it is not used. The task is also changed to
depend on the kernel_link_images task as arch/<arch>/boot/* is not
available until after kernel_link_images in certain cases (e.g.
vmlinux/uImage only KERNEL_IMAGETYPES).

Fix up the use of ${S}/vmlinux when pulling the entry symbols
address so that it accesses the vmlinux in ${B}.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoinsane.bbclass: Ignore perl as dependency for nativesdk packages
Peter Kjellerstedt [Thu, 15 Jun 2017 13:53:12 +0000 (15:53 +0200)]
insane.bbclass: Ignore perl as dependency for nativesdk packages

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomultilib.bbclass: fix faulty redefinition of STAGING_KERNEL_DIR
Petter Mabäcker [Mon, 15 May 2017 04:17:11 +0000 (06:17 +0200)]
multilib.bbclass: fix faulty redefinition of STAGING_KERNEL_DIR

Due to the problem fixed in
'56c677a multilib: Move redefinition of STAGING_DIR_KERNEL'
STAGING_KERNEL_DIR must be redefined for lib32 in multilib.bbclass.
However this redefinition expanded STAGING_KERNEL_DIR to an absolute
path. This unconsciously added the TMPDIR path in the sstate object,
causing packages depended on STAGING_KERNEL_DIR being rebuild if the
TMPDIR was changed.

Solve this by forcing the unexpanded TMPDIR variable to remain in the
beginning of STAGING_DIR_KERNEL (as default). Since TMPDIR is included in
BB_HASHBASE_WHITELIST, the sstate object will not be depended on the
expanded path anymore.

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/selftest/context: Reload testlayer_path when meta-selftest isn't added
Aníbal Limón [Thu, 15 Jun 2017 22:09:50 +0000 (17:09 -0500)]
oeqa/selftest/context: Reload testlayer_path when meta-selftest isn't added

When add meta-selftest by the script the testlayer_path needs to be
reloaded to avoid None value.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/core/loader.py: Fix _make_failed_test for python >= 3.4.4
Aníbal Limón [Thu, 15 Jun 2017 22:09:49 +0000 (17:09 -0500)]
oeqa/core/loader.py: Fix _make_failed_test for python >= 3.4.4

Python unittest change the signature of the _make_failed_test
after python 3.4.4 don't pass the method name.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>