]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agopango: Upgrade 1.36.8 -> 1.38.1
Jussi Kukkonen [Thu, 5 Nov 2015 20:54:59 +0000 (22:54 +0200)]
pango: Upgrade 1.36.8 -> 1.38.1

Pango is now a simple a simple library and no longer has
 - modules
 - engines
 - configuration
Dropping all related things from the recipe.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdk-pixbuf: Upgrade 2.30.8 -> 2.32.1
Jussi Kukkonen [Thu, 5 Nov 2015 20:26:08 +0000 (22:26 +0200)]
gdk-pixbuf: Upgrade 2.30.8 -> 2.32.1

Remove a backported patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsoup-2.4: Upgrade 2.50.0 -> 2.52.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:40:18 +0000 (14:40 +0200)]
libsoup-2.4: Upgrade 2.50.0 -> 2.52.1

Don't build the now-included vala bindings: This requires gobject-introspection.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoat-spi2-atk: Upgrade 2.16.0 -> 2.18.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:28:18 +0000 (14:28 +0200)]
at-spi2-atk: Upgrade 2.16.0 -> 2.18.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoatk-spi2-core: Upgrade 2.16.0 -> 2.18.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:19:12 +0000 (14:19 +0200)]
atk-spi2-core: Upgrade 2.16.0 -> 2.18.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoatk: Upgrade 2.16.0 -> 2.18.0
Jussi Kukkonen [Thu, 5 Nov 2015 12:15:26 +0000 (14:15 +0200)]
atk: Upgrade 2.16.0 -> 2.18.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-networking: Upgrade 2.44.0 -> 2.46.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:10:23 +0000 (14:10 +0200)]
glib-networking: Upgrade 2.44.0 -> 2.46.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: build dependency cleanup
Ross Burton [Mon, 16 Nov 2015 23:24:05 +0000 (23:24 +0000)]
glib-2.0: build dependency cleanup

New GLib doesn't require glib-2.0-native to build itself so remove it from the
DEPENDS.  However it is needed for the test suite so respect PTEST_ENABLED and
add it to DEPENDS if required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: Enable more tests while cross-compiling
Jussi Kukkonen [Mon, 9 Nov 2015 09:17:07 +0000 (11:17 +0200)]
glib-2.0: Enable more tests while cross-compiling

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: Upgrade 2.44.1 -> 2.46.1
Jussi Kukkonen [Thu, 5 Nov 2015 09:31:39 +0000 (11:31 +0200)]
glib-2.0: Upgrade 2.44.1 -> 2.46.1

Fix cross-compilation build issue in gio tests.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: Backport malloc-trace disabling
Jussi Kukkonen [Mon, 9 Nov 2015 08:32:38 +0000 (10:32 +0200)]
qemu: Backport malloc-trace disabling

Allocation tracing has been removed from GLib 2.46 and trying to use
it results in an ugly warning: Backport patch to not use it in Qemu.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agologrotate: do not move binary logrotate to /usr/bin
Hongxu Jia [Mon, 2 Nov 2015 08:33:27 +0000 (16:33 +0800)]
logrotate: do not move binary logrotate to /usr/bin

In oe-core commit a46d3646a3e1781be4423b508ea63996b3cfca8a
...
Author: Fahad Usman <fahad_usman@mentor.com>
Date:   Tue Aug 26 13:16:48 2014 +0500

    logrotate: obey our flags

    Needed to quiet GNU_HASH warnings, and some minor fixes.
...
it explicitly move logrotate to /usr/bin without any reason,
which is against the original Linux location /usr/sbin.

So partly revert the above commit which let logrotate be
kept in the original place /usr/sbin.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: drop unneeded $D check in prerm
Christopher Larson [Wed, 11 Nov 2015 05:35:43 +0000 (22:35 -0700)]
systemd: drop unneeded $D check in prerm

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: chown hwdb.bin to root:root for do_rootfs
Christopher Larson [Wed, 11 Nov 2015 05:34:01 +0000 (22:34 -0700)]
systemd: chown hwdb.bin to root:root for do_rootfs

This is created by qemu for the do_rootfs case, which bypasses pseudo, so we
need to correct the ownership. This fixes a warning issued by
rootfs_check_host_user_contaminated.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: for valgrind, define VALGRIND=1
Christopher Larson [Wed, 11 Nov 2015 06:06:50 +0000 (23:06 -0700)]
systemd: for valgrind, define VALGRIND=1

Per the systemd README, this should be defined to run systemd under valgrind,
otherwise false positives will be triggered.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: make coredump a PACKAGECONFIG
Daniel McGregor [Tue, 3 Nov 2015 22:54:36 +0000 (16:54 -0600)]
systemd: make coredump a PACKAGECONFIG

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: add machine-id to conffiles
Dan McGregor [Tue, 3 Nov 2015 22:54:35 +0000 (16:54 -0600)]
systemd: add machine-id to conffiles

If / is mounted read-write machine-id will be overwritten on first boot.
This change ensures that the machine-id file persists across package
upgrades to systemd.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: ignore .so filenames in systemd-doc
Dan McGregor [Tue, 3 Nov 2015 22:54:34 +0000 (16:54 -0600)]
systemd: ignore .so filenames in systemd-doc

systemd names two manual pages for .so files ${foo}.so.2.8,
the library being named ${foo}.so.2. This hits the libdir
sanity checker:
WARNING: QA Issue: systemd-doc: found library in wrong location:
/usr/share/man/man8/libnss_mymachines.so.2.8 [libdir]

Disable the libdir sanity check for systemd-doc.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: fix Upstream-Status tag
Ross Burton [Wed, 11 Nov 2015 11:11:39 +0000 (11:11 +0000)]
systemd: fix Upstream-Status tag

9 years agomdadm: fix CFLAGS and ptest issues
Wenzong Fan [Fri, 16 Oct 2015 03:24:14 +0000 (23:24 -0400)]
mdadm: fix CFLAGS and ptest issues

* Pass global CFLAGS to build:

The CFLAGS does not pass to build at all since it was redefined by
mdadm Makefile:

  CFLAGS = $(CWFLAGS) $(CXFLAGS) ...

This could be done by setting 'CXFLAGS="${CFLAGS}"'.

* Also fix ptest build errors caused by global CFLAGS:

  raid6check.c:352:2: error: ignoring return value of posix_memalign, \
  declared with attribute warn_unused_result [-Werror=unused-result]

  raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \
  in this function [-Werror=maybe-uninitialized]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-4.9: Fix various _FOR_BUILD and related variables
Juro Bystricky [Sat, 7 Nov 2015 17:46:42 +0000 (09:46 -0800)]
gcc-4.9: Fix various _FOR_BUILD and related variables

This patch is based on the patch for gcc-5.2 (41cbfd7af60f93a4bd496b7b6bf477215a286950)

When doing a FOR_BUILD thing, you have to override CFLAGS with
CFLAGS_FOR_BUILD. And if you use C++, you also have to override
CXXFLAGS with CXXFLAGS_FOR_BUILD.
Without this, when building for mingw, you end up trying to use
the mingw headers for a host build.

The same goes for other variables as well, such as CPPFLAGS,
CPP, and GMPINC.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: add sync command
Tzu-Jung Lee [Mon, 9 Nov 2015 10:30:32 +0000 (02:30 -0800)]
devtool: add sync command

The sync command is similar to the extract command, except it
fetches the sync'ed and patched branch to an existing git repository.

This enables users to keep track the upstream development while
maintaining their own local git repository at the same time.

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: remove unused parameter from get_boost_parallel_make()
Andre McCurdy [Thu, 12 Nov 2015 21:00:39 +0000 (13:00 -0800)]
boost.inc: remove unused parameter from get_boost_parallel_make()

The bb parameter seems to have been accidentally left behind after:

  http://git.openembedded.org/openembedded-core/commit/?id=1ff36aaec25a7ee89514366fe484345e8d1d7b64

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowireless-tools: remove unused files
Maxin B. John [Thu, 12 Nov 2015 15:39:48 +0000 (17:39 +0200)]
wireless-tools: remove unused files

Remove wireless-tools.if-pre-up and zzz-wireless.if-pre-up.
As per the comment, these files were not in use from 20/8/08.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0: fix install race
Ross Burton [Thu, 12 Nov 2015 19:47:46 +0000 (19:47 +0000)]
gstreamer1.0: fix install race

The install hook needs to be a data hook not an exec hook (because automake),
the explicit dependency upstream added to fix the ordering results in
install-helpersPROGRAMS executing twice and potentially racing.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-multilib-config: make aarch64 support multilib
Robert Yang [Thu, 5 Nov 2015 08:20:51 +0000 (00:20 -0800)]
gcc-multilib-config: make aarch64 support multilib

Fixed:
MACHINE = qemuarm64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"

$ bitbake core-image-minimal -cpopulate_sdk

WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64
WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64

[YOCTO #8638]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxml2: fix CVE-2015-7942 and CVE-2015-8035
Armin Kuster [Wed, 11 Nov 2015 22:21:46 +0000 (14:21 -0800)]
libxml2: fix CVE-2015-7942 and CVE-2015-8035

CVE-2015-7942 libxml2: heap-based buffer overflow in xmlParseConditionalSections()
CVE-2015-8035 libxml2: DoS when parsing specially crafted XML document if XZ support is enabled

[YOCTO #8641]

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoterminal: Open a new window instead of split on older tmux versions (<1.9)
Leonardo Sandoval [Fri, 6 Nov 2015 23:25:08 +0000 (17:25 -0600)]
terminal: Open a new window instead of split on older tmux versions (<1.9)

If an old version is detected (<1.9), create a new window instead of split:
the reason is that there is no easy way to get the active pane height if no
nested formats are supported.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoflex: fix test-bison-yylval and test-bison-yylloc failed
Hongxu Jia [Wed, 11 Nov 2015 06:15:38 +0000 (01:15 -0500)]
flex: fix test-bison-yylval and test-bison-yylloc failed

The tests in flex test-bison-yylval and test-bison-yylloc
failed, so we backport a patch from upstream to fix it.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdbm 1.8.3: install libgdbm_compat
Robert Yang [Thu, 12 Nov 2015 08:51:38 +0000 (00:51 -0800)]
gdbm 1.8.3: install libgdbm_compat

It has been built but not installed by default, while 1.11 builds and
installs it.

Fixed when build non_gplv3 + perl:
powerpc64-wrs-linux-gcc -m64 -mhard-float -mcpu=e6500
--sysroot=/mnt/docker/test_p/bitbake_build/tmp/sysroots/fsl-t2xxx
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -
fstack-protector -shared NDBM_File.o  -o
../../lib/auto/NDBM_File/NDBM_File.so   \
   -lgdbm -lgdbm_compat         \

ld: cannot find -lgdbm_compat
collect2: error: ld returned 1 exit status
Makefile:473: recipe for target '../../lib/auto/NDBM_File/NDBM_File.so' failed

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: update to 1.0.6
Maxin B. John [Thu, 12 Nov 2015 08:53:23 +0000 (10:53 +0200)]
harfbuzz: update to 1.0.6

1.0.2 -> 1.0.6

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoethtool: bump version to 4.2
Maxin B. John [Thu, 12 Nov 2015 08:53:22 +0000 (10:53 +0200)]
ethtool: bump version to 4.2

4.0 -> 4.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: fix ptest issues
Wenzong Fan [Mon, 3 Aug 2015 08:52:45 +0000 (16:52 +0800)]
openssl: fix ptest issues

* follow symbolic links while copying sources from test/*
* install required target files to remove Make errors:

  make[2]: *** No rule to make target 'xxx', needed by 'yyy'.

* fix hardcode pathes:
  /usr/lib -> ${libdir}, /usr/bin -> ${bindir}

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobase-files: stage /etc/skel
Ioan-Adrian Ratiu [Thu, 22 Oct 2015 11:58:18 +0000 (14:58 +0300)]
base-files: stage /etc/skel

Having skel in the staging area lets other recipes access these files.
For ex. recipes inheriting useradd, if passing "-m" to USERADD_PARAM,
.bashrc and .profile are put automatically in $HOME, as expected.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomktemp: raise the priority to avoid conflicting with coreutils
Chen Qi [Thu, 29 Oct 2015 09:22:42 +0000 (17:22 +0800)]
mktemp: raise the priority to avoid conflicting with coreutils

If mktemp and coreutils have the same priority for the 'mktemp' command,
/bin/mktemp might point to different destinations depending on which package
is installed first.

Raise the priority to 200 in mktemp recipe to avoid such problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibunwind: fix build for qemuarm
Martin Jansa [Thu, 29 Oct 2015 10:50:32 +0000 (11:50 +0100)]
libunwind: fix build for qemuarm

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsndfile: fix CVE-2014-9756
Maxin B. John [Thu, 5 Nov 2015 15:56:09 +0000 (17:56 +0200)]
libsndfile: fix CVE-2014-9756

Fix divide by zero bug (CVE-2014-9756)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-pycurl: update version to 7.19.5.2
Maxin B. John [Thu, 5 Nov 2015 15:44:41 +0000 (17:44 +0200)]
python-pycurl: update version to 7.19.5.2

No change in License. Updated no-static-link.patch

README.rst: license checksum changed to reflect the Copyright update
COPYING-MIT: checksum changed to reflect the Copyright update

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agort-tests: upgrade to version 0.96
Maxin B. John [Thu, 5 Nov 2015 15:50:10 +0000 (17:50 +0200)]
rt-tests: upgrade to version 0.96

bump version to 0.96

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpcbind: don't use '-w' for starting rpcbind
Li Wang [Sat, 7 Nov 2015 06:43:19 +0000 (01:43 -0500)]
rpcbind: don't use '-w' for starting rpcbind

While runing:

$ systemctl restart rpcbind
$ systemctl status rpcbind

There are errors like below:
  rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \
    errno 2 (No such file or directory)
  rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \
    errno 2 (No such file or directory)

'-w' causes rpcbind to do a "warm start" by read a state file when
rpcbind starts up. The state file is created when rpcbind terminates.

The state file is not always there, the patch refers to:
  https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsecret: add dependency on intltool-native
Joe Slater [Tue, 10 Nov 2015 22:28:34 +0000 (14:28 -0800)]
libsecret: add dependency on intltool-native

intltoolize is needed by configure.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: use subdir= instead of moving files in do_configure_prepend()
Ross Burton [Wed, 11 Nov 2015 15:14:07 +0000 (15:14 +0000)]
openssl: use subdir= instead of moving files in do_configure_prepend()

For clarity and correctness of source archiving, don't move find.pl from WORKDIR
to S in do_configure_prepend but tell the fetcher to put it in the right place
when unpacking.

Also re-order the files in SRC_URI so that patches are grouped together.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: sanity check that the bignum module is present
Ross Burton [Wed, 11 Nov 2015 14:50:27 +0000 (14:50 +0000)]
openssl: sanity check that the bignum module is present

The crypto_use_bigint_in_x86-64_perl patch uses the "bigint" module to
transparently support 64-bit integers on 32-bit hosts.  Whilst bigint (part of
bignum) is a core Perl module not all distributions install it (notable Fedora
23).

As the error message when bignum isn't installed is obscure, add a task to check
that it is available and alert the user if it isn't.

[ YOCTO #8562 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsdl2: require GLES when building Wayland support
Ross Burton [Wed, 11 Nov 2015 13:38:37 +0000 (13:38 +0000)]
libsdl2: require GLES when building Wayland support

The Wayland support requires GLES2 to be enabled as otherwise the EGL support
code in SDL2 isn't enabled.

| In file included from .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:34:0:
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c: In function 'Wayland_CreateDevice':
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
|  #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval

Solve this by adding gles2 to the Wayland PACKAGECONFIG option.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: add some missing Upstream-Status tags to patches
Ross Burton [Wed, 11 Nov 2015 11:51:05 +0000 (11:51 +0000)]
meta: add some missing Upstream-Status tags to patches

Where Signed-off-by statements have been added they were sourced from the
original commit where the author claims creation.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoweston: delete unused patch
Ross Burton [Wed, 11 Nov 2015 11:48:34 +0000 (11:48 +0000)]
weston: delete unused patch

This patch was dropped from the recipe in the 1.8.0 upgrade.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: fix Upstream-Status tag
Ross Burton [Wed, 11 Nov 2015 11:11:26 +0000 (11:11 +0000)]
glibc: fix Upstream-Status tag

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-firmware: package Broadcom BCM4339 firmware
Tzu-Jung Lee [Tue, 10 Nov 2015 18:27:04 +0000 (10:27 -0800)]
linux-firmware: package Broadcom BCM4339 firmware

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibusb1: fix make install race
Ross Burton [Fri, 13 Nov 2015 14:41:53 +0000 (14:41 +0000)]
libusb1: fix make install race

There's an install race in when building in parallel, remove a redundant rule to
stop it happening.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibusb1: upgrade from 1.0.19 to 1.0.20
Jens Rehsack [Thu, 8 Oct 2015 14:36:42 +0000 (16:36 +0200)]
libusb1: upgrade from 1.0.19 to 1.0.20

This updates libusb1 from 1.0.19 to 1.0.20

2015-09-13: v1.0.20
* Add Haiku support
* Fix multiple memory and resource leaks (#16, #52, #76, #81)
* Fix possible deadlock when executing transfer callback
* New libusb_free_pollfds() API
* Darwin: Fix devices not being detected on OS X 10.8 (#48)
* Linux: Allow larger isochronous transfer submission (#23)
* Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings
* Windows: Fix broken bus number lookup
* Windows: Improve submission of control requests for composite devices
* Examples: Add two-stage load support to fxload (#12)
* Correctly report cancellations due to timeouts
* Improve efficiency of event handling
* Improve speed of transfer submission in multi-threaded environments
* Various other bug fixes and improvements
The (#xx) numbers are libusb issue numbers, see ie:
https://github.com/libusb/libusb/issues/16

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoperl: fix spaces in brackets while using CC version
Hongxu Jia [Mon, 9 Nov 2015 10:48:29 +0000 (18:48 +0800)]
perl: fix spaces in brackets while using CC version

Here is the way to reproduce the issue:
...
root@localhost:~# perl -e "use Errno qw(ENOENT);"
"ENOENT" is not exported by the Errno module
Can't continue after import errors at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
...

For some distros, there was extra spaces in the
brackets while using CC version:

For Windriver:
$CC --version
x86_64-wrs-linux-gcc (Wind River Linux 5.2.0-8.0-intel-x86-64) 5.2.0

For Ubuntu:
$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4

So we replace the contects between brackets with semicolon
and then use space to split.

[YOCTO #8367]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agou-boot: Update to 2015.10 release
Otavio Salvador [Tue, 10 Nov 2015 11:01:42 +0000 (09:01 -0200)]
u-boot: Update to 2015.10 release

The U-Boot 2015.10 has been released at October 20th 2015. This also
removes the GCC workaround, for the inline behavior, as this version
properlu supports the GCC 5.2 as compiler.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake-prserv-tool: check file name
Robert Yang [Thu, 12 Nov 2015 07:34:40 +0000 (23:34 -0800)]
bitbake-prserv-tool: check file name

Fixed:
$ bitbake-prserv-tool import /tmp/1
  File "/path/to/lib/bb/parse/__init__.py", line 114, in handle(fn='/tmp/1', data=<bb.data_smart.DataSmart object at 0x2369bd0>, include=True):
                     return h['handle'](fn, data, include)
    >    raise ParseError("not a BitBake file", fn)

ParseError: ParseError in /tmp/1: not a BitBake file

But 1.conf or 1.inc works well, check the filename and print proper
error message.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool.append: don't choke on a trailing ; in a url
Christopher Larson [Wed, 11 Nov 2015 21:05:56 +0000 (14:05 -0700)]
recipetool.append: don't choke on a trailing ; in a url

Apparently bb.fetch.URI can't handle this at the moment.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage_manager.py: Delete installed_pkgs.txt file
Mariano Lopez [Wed, 4 Nov 2015 07:50:48 +0000 (07:50 +0000)]
package_manager.py: Delete installed_pkgs.txt file

This change removes the file installed_pkgs.txt after it
was used for installation of complementary packages. This
file was causing confusion when left in the WORKDIR after
the build.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorootfs.py: Stop using installed_pkgs.txt
Mariano Lopez [Wed, 4 Nov 2015 07:50:47 +0000 (07:50 +0000)]
rootfs.py: Stop using installed_pkgs.txt

The method _uninstall_unneeded uses the file installed_pkgs.txt,
this file is left after the build and can cause confusion. This
changes allow to get the installed packages using functions of
rootfs instead of the installed_pkgs.txt file. With this change
now is possible to remove the file without breaking anything.

[YOCTO #8444]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/distro_check: don't set empty proxy keys
Ross Burton [Wed, 4 Nov 2015 20:24:02 +0000 (20:24 +0000)]
lib/oe/distro_check: don't set empty proxy keys

If the proxies dictionary has a proxy set to None urllib will throw an exception
instead of not using a proxy (abridged stack):

File: '/home/ross/Yocto/poky/meta/lib/oe/distro_check.py', lineno: 43, function: get_links_from_url
 *** 0043:    with create_socket(url,d) as sock:
     0044:        webpage = sock.read()
File: '/home/ross/Yocto/poky/meta/lib/oe/distro_check.py', lineno: 5, function: create_socket
     0003:def create_socket(url, d):
     0004:    import urllib
 *** 0005:    socket = urllib.urlopen(url, proxies=get_proxies(d))
File: '/usr/lib/python2.7/urllib.py', lineno: 87, function: urlopen
     0086:    if data is None:
 *** 0087:        return opener.open(url)
File: '/usr/lib/python2.7/urllib.py', lineno: 203, function: open
     0201:        else:
     0202:            proxy = None
 *** 0203:        name = 'open_' + urltype
     0204:        self.type = urltype
     0205:        name = name.replace('-', '_')
Exception: TypeError: cannot concatenate 'str' and 'NoneType' objects

Filter out unset values so that the dictionary only has valid assignments in.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/copy_buildsystem: Don't expand BB_TASKDEPDATA
Richard Purdie [Tue, 10 Nov 2015 09:57:41 +0000 (09:57 +0000)]
lib/oe/copy_buildsystem: Don't expand BB_TASKDEPDATA

The value isn't a string so don't try and expand it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/sstatetests: prettier output for allarch test
Ross Burton [Mon, 9 Nov 2015 18:07:25 +0000 (18:07 +0000)]
oeqa/selftest/sstatetests: prettier output for allarch test

Instead of creating two lists of full paths and comparing them which in failure
produces a list of every stamp file (so all tasks, twice), reduce the filename
down to a recipe/task->hash dictionary and compare those, meaning unittest
shows the differences in the dictionaries.

In the future get_files() should be generalised so all tests in this class can
use it, and find a pair of hashes that don't match and run diffsigs on them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/signing: Added new test for signing sstate.
Daniel Istrate [Tue, 10 Nov 2015 14:38:39 +0000 (16:38 +0200)]
oeqa/selftest/signing: Added new test for signing sstate.

[YOCTO #8182] Optional signing sstate archives and signature verification
[YOCTO #8559] Signing sstate archives with custom dir for gpg keys

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/signing: New test for Signing packages in the package feeds.
Daniel Istrate [Tue, 10 Nov 2015 14:38:38 +0000 (16:38 +0200)]
oeqa/selftest/signing: New test for Signing packages in the package feeds.

[YOCTO # 8134] This test verifies features introduced in bug 8134.

It requires as resources the files from meta-selftest/files/signing:
For 'gpg --gen-key' the used input was:
key: RSA
key-size: 2048
key-valid: 0
realname: testuser
email: testuser@email.com
comment: nocomment
passphrase: test123

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu.bbclass: fix vardeps of QEMU_OPTIONS
Christopher Larson [Wed, 11 Nov 2015 05:54:59 +0000 (22:54 -0700)]
qemu.bbclass: fix vardeps of QEMU_OPTIONS

The variable name for QEMU_EXTRAOPTIONS is constructed programmatically, so we
need an explicit variable dependency, otherwise changes to it won't cause e.g.
qemuwrapper-cross to be rebuilt.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu.bbclass: correct the fsl ppc QEMU_EXTRAOPTIONS
Christopher Larson [Wed, 11 Nov 2015 02:55:41 +0000 (19:55 -0700)]
qemu.bbclass: correct the fsl ppc QEMU_EXTRAOPTIONS

These need to be based on PACKAGE_ARCH rather than TARGET_ARCH, as we aren't
using overrides for this.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautotools: Allow recipe-individual configure scripts
Jens Rehsack [Tue, 13 Oct 2015 20:35:52 +0000 (22:35 +0200)]
autotools: Allow recipe-individual configure scripts

OpenJDK-8 has it's configure script at common/autotools - which will cause
the entire assumption of ${S}/configure is regenerated by autoreconf, intltoolize or alike
fails heavily.

Also - other configure mechanisms can be supported more similar (see how pkgsrc
manages different ones ...)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoallarch: Force TARGET_*FLAGS variable values
Mike Crowe [Thu, 29 Oct 2015 12:28:21 +0000 (12:28 +0000)]
allarch: Force TARGET_*FLAGS variable values

TARGET_CPPFLAGS, TARGET_CFLAGS, TARGET_CPPFLAGS and TARGET_LDFLAGS may
differ between MACHINEs. Since they are exported they affect task hashes
even if unused which leads to multiple variants of allarch packages
existing in sstate and bouncing in the sysroot when switching between
MACHINEs.

allarch packages shouldn't be using these variables anyway, so let's
ensure they have a fixed value in order to avoid this problem.

(Compare with 05a70ac30b37cab0952f1b9df501993a9dec70da and
14f4d016fef9d660da1e7e91aec4a0e807de59ab.)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage_types: improve wks path specification
Christopher Larson [Tue, 10 Nov 2015 21:18:20 +0000 (14:18 -0700)]
image_types: improve wks path specification

Hardcoding a full input path with zero flexibility goes against everything the
Yocto Project is about. Rework it to let the user specify the wks base
filename with WKS_FILE and it'll search the layers for the wks file and use
it.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane.bbclass: Avoid libdir QA check if PACKAGE_DEBUG_SPLIT_STYLE='debug-file-directory'
Jian Liu [Mon, 2 Nov 2015 02:07:54 +0000 (10:07 +0800)]
insane.bbclass: Avoid libdir QA check if PACKAGE_DEBUG_SPLIT_STYLE='debug-file-directory'

If PACKAGE_DEBUG_SPLIT_STYLE='debug-file-directory', debuglibdir will be
"/usr/lib/debug". Usually 64bit libs should be put under "/usr/lib64".
This often cause an warning, so skip the checking.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/cpan-base: fix libdir for nativesdk
Tyler Hall [Wed, 28 Oct 2015 00:00:51 +0000 (20:00 -0400)]
classes/cpan-base: fix libdir for nativesdk

Immediate expansion of perl_get_libdirs() is too early for
BBCLASSEXTEND. This results in a packaging QA error when building a cpan
recipe as nativesdk. The split debug files do not get picked up by the
dbg package because it looks in the wrong libdir.

The is_target() function remains because it is used elsewhere.

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobbclass: fix spelling mistakes
Maxin B. John [Thu, 5 Nov 2015 15:48:18 +0000 (17:48 +0200)]
bbclass: fix spelling mistakes

Fix some spelling mistakes in bbclass files

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude
Martin Jansa [Tue, 10 Nov 2015 09:05:49 +0000 (10:05 +0100)]
rootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude

* rootfs_*.bbclass doesn't use this variable anymore, so we can drop it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane: Don't depend on BB_TASKDEPDATA
Richard Purdie [Tue, 10 Nov 2015 09:58:25 +0000 (09:58 +0000)]
insane: Don't depend on BB_TASKDEPDATA

The dependency data in BB_TASKDEPDATA is encoded into the sstate checksum
in a much more reliable format. This dependency runs the risk of depending
on the string representation of a dict which is a bad idea. Therefore
remove the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel: fix race condition between compile_kernelmodules and shared_workdir
Jens Rehsack [Thu, 12 Nov 2015 16:13:15 +0000 (17:13 +0100)]
kernel: fix race condition between compile_kernelmodules and shared_workdir

Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=8127 which causes
[ 1225.089323] 8189es: Unknown symbol cfg80211_scan_done (err -22)
[ 1225.095916] 8189es: no symbol version for cfg80211_remain_on_channel_expired
when loading external compiled 8189es module.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses: Ensure pass setVar/setVarFlag strings, not integers
Richard Purdie [Tue, 10 Nov 2015 09:52:44 +0000 (09:52 +0000)]
classes: Ensure pass setVar/setVarFlag strings, not integers

This doesn't cause any issues right now but it make sense to standardise
on consistently using strings in the data store.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/license: fix intermittent license collection warning
Paul Eggleton [Tue, 10 Nov 2015 15:30:55 +0000 (15:30 +0000)]
classes/license: fix intermittent license collection warning

Fixes the following warning sometimes appearing during image builds:

WARNING: The license listed ABC was not in the licenses collected for recipe xyz

The files being looked for here, which runs during do_rootfs,
are written out by the do_populate_lic task for each recipe. However,
there was no explicit dependency between do_rootfs and all of the
do_populate_lic tasks to ensure they had run - only an implicit link via
do_build, so it is possible that sometimes they had not depending on how
the tasks were scheduled. Add an explicit set of dependencies to fix
this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/metadata_scm: fix git errors showing up on non-git repositories
Paul Eggleton [Mon, 9 Nov 2015 14:40:08 +0000 (14:40 +0000)]
classes/metadata_scm: fix git errors showing up on non-git repositories

Fixes the following error showing up for layers that aren't a git repo
(or aren't parented by one):

fatal: Not a git repository (or any of the parent directories): .git

This was because we weren't intercepting stderr. We might as well just
use bb.process.run() here which does that and returns stdout and stderr
separately.

(This was a regression that came in with OE-Core revision
3aac11076e22ac4fea48f5404110bb959547a9fe).

Fixes [YOCTO #8661].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: respect GPG_BIN and GPG_HOME
Ross Burton [Sat, 24 Oct 2015 00:02:34 +0000 (01:02 +0100)]
sstate: respect GPG_BIN and GPG_HOME

The package feed signing code supports the user providing the path to the gpg
binary and an alternative gpg 'home' (usually ~/.gnupg), which are useful for
both deployment and QA purposes.

Factor out the gpg command line construction to a function which can fetch both
of these variables, and also use pipes.quote() to sanitise the arguments when
used in a shell context.

[ YOCTO #8559 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoarchiver.bbclass: add bbappend when do_ar_recipe kernel and gcc packages
Jian Liu [Fri, 13 Nov 2015 08:21:46 +0000 (16:21 +0800)]
archiver.bbclass: add bbappend when do_ar_recipe kernel and gcc packages

bbappend files are not included in the archiver during do_ar_recipe.
Find and put them into the tarball.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoarchiver.bbclass: fix previous issue regarding work-shared for linux-yocto
Alejandro Hernandez [Mon, 9 Nov 2015 22:40:50 +0000 (22:40 +0000)]
archiver.bbclass: fix previous issue regarding work-shared for linux-yocto

A previous patch intended to fix and improve the archiver class, and while it
did for gcc packages, with it some issues ended up being hidden, the kernel
tasks taken from kernel.bbclass and kernel-yocto.bbclass specifically expect the
kernel to use work-shared, which either ended up causing issues or wasting time
doing unnecessary work, this patch fixes these issues by performing the right
tasks within the archiver in the right order

[YOCTO #8378]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowaf.bbclass: filter out non -j from PARALLEL_MAKE
Enrico Scholz [Thu, 10 Sep 2015 16:54:33 +0000 (18:54 +0200)]
waf.bbclass: filter out non -j from PARALLEL_MAKE

'waf' supports only simple '-j' and fails when parallel make flags
contain extended options like '--load-average'.

Patch uses the method from 'boost.inc' to filter '-j'.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest-gnome: extend EXTRA_OECONF in all builds, not just target
Ross Burton [Mon, 16 Nov 2015 23:18:21 +0000 (23:18 +0000)]
ptest-gnome: extend EXTRA_OECONF in all builds, not just target

This class was extending EXTRA_OECONF only in target builds with
--enable/--disable-installed-tests.  However for native builds we don't care
about the test suite and should be explicitly disabling it.

This stops glib-2.0-native trying to build the test suite that we'll never
execute.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: Drop 4.8
Richard Purdie [Wed, 11 Nov 2015 16:50:02 +0000 (08:50 -0800)]
gcc: Drop 4.8

We have 5.2 and 4.9, we don't really need 4.8 now and it can be moved
out to other layers if anyone still wants/needs it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolayer.conf: Correct gcc-cross dependency
Richard Purdie [Mon, 16 Nov 2015 09:08:28 +0000 (09:08 +0000)]
layer.conf: Correct gcc-cross dependency

The dependency listed in layer.conf is incorrect, gcc-cross DEPENDS
on ${TARGET_PREFIX}libc-for-gcc, not virtual/libc. These happen to
resolve the same values however they may not always both be built.

The result of this was that gcc-cross gets a different task hash
depending on whether virtual/libc was included in the build.
Specifically "bitbake m4" and "bitbake virtual/kernel" would result
in different task checksums.

The fix is to use the correct dependency name.

[YOCTO #8692]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: runqemu: remove QEMUARCH from help message
Ruslan Bilovol [Fri, 6 Nov 2015 14:09:06 +0000 (16:09 +0200)]
scripts: runqemu: remove QEMUARCH from help message

The QEMUARCH env variable is not used since commit
"d469c92 classes/imagetest-qemu: remove old image
testing class". Remove it from help message so
it will not confuse other people

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocairo: update 1.14.2 -> 1.14.4
Andre McCurdy [Fri, 6 Nov 2015 08:52:27 +0000 (00:52 -0800)]
cairo: update 1.14.2 -> 1.14.4

Release 1.14.4    (2015-10-28  Bryce Harrington <bryce@osg.samsung.com>)
========================================================================
Just in time for Halloween we see another bug-fix release for Cairo.
This brings a few dozen straightforward bug fixes with no API changes.

In addition, this includes a typical assortment of fixes to tests,
cleanup of warnings and memory leaks, correction of misspellings,
updates to documentation, etc.

For a complete log of changes since 1.14.2, please see:

    http://cairographics.org/releases/ChangeLog.cairo-1.14.4

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocairo.inc: drop obsolete CFLAGS += "-ffat-lto-objects" workaround
Andre McCurdy [Fri, 6 Nov 2015 08:52:26 +0000 (00:52 -0800)]
cairo.inc: drop obsolete CFLAGS += "-ffat-lto-objects" workaround

LTO support was removed from Cairo in 1.12.18 (and 1.14.0).

  https://bugs.freedesktop.org/show_bug.cgi?id=77060
  http://cgit.freedesktop.org/cairo/commit/?h=1.12&id=213b3b9b8b92944506c712aa4d728903c547f879

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake: update 3.3.1 -> 3.3.2
Andre McCurdy [Fri, 6 Nov 2015 08:56:18 +0000 (00:56 -0800)]
cmake: update 3.3.1 -> 3.3.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: add test for bitbake-layers show-recipes
Paul Eggleton [Thu, 18 Jun 2015 18:17:39 +0000 (19:17 +0100)]
oe-selftest: add test for bitbake-layers show-recipes

Add a test for bitbake-layers show-recipes including the recently
added -i option.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/layerappend: fix test if build directory is not inside COREBASE
Paul Eggleton [Wed, 4 Nov 2015 14:42:51 +0000 (14:42 +0000)]
oeqa/selftest/layerappend: fix test if build directory is not inside COREBASE

Fix test_layer_appends to work when build directory is not inside
COREBASE.

Fixes [YOCTO #8639].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/devtool: fix test if build directory is not inside COREBASE
Paul Eggleton [Wed, 4 Nov 2015 14:40:25 +0000 (14:40 +0000)]
oeqa/selftest/devtool: fix test if build directory is not inside COREBASE

Fix test_devtool_update_recipe_git to work when build directory is not
inside COREBASE.

Fixes [YOCTO #8639].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/distrodata: split SRC_URI properly before determining type
Paul Eggleton [Fri, 6 Nov 2015 09:34:05 +0000 (09:34 +0000)]
classes/distrodata: split SRC_URI properly before determining type

We weren't splitting SRC_URI values containing multiple URIs here; this
didn't cause any errors except when a trailing ; was left on a URI, in
which case the next URI was considered part of the parameter, which
didn't contain a = and therefore was considered invalid.

We only care about the first URI in SRC_URI in this context (since
that's the upstream URI by convention) so split it as we should and take
the first item.

Fixes [YOCTO #8645].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/buildhistory: split package history values only once
Paul Eggleton [Sun, 4 Oct 2015 07:38:16 +0000 (08:38 +0100)]
classes/buildhistory: split package history values only once

We don't actually use values we read in here that are likely to
contain = characters but we might as well split the value properly in
case we do in future.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconf/distro/include: drop old recipes from include files
Paul Eggleton [Wed, 4 Nov 2015 10:59:10 +0000 (10:59 +0000)]
conf/distro/include: drop old recipes from include files

These recipes have been removed (some a very long time ago, pre-dating
OE-Core).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogitignore: fix overzealous exclusion
Paul Eggleton [Thu, 3 Sep 2015 11:03:21 +0000 (12:03 +0100)]
gitignore: fix overzealous exclusion

This was excluding any subdirectory anywhere in the tree named build*,
rather than just at the root - thus anything in
meta/recipes-devtools/build-compare had to be forcibly added. Change the
line so that it only operates at the root of the repo.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: Fix typos in Upstream-Status labels
Paul Eggleton [Wed, 21 Oct 2015 09:19:15 +0000 (10:19 +0100)]
meta: Fix typos in Upstream-Status labels

We need these to be consistent so they are possible to programmatically
read.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa/conf/layer.conf: fix typo
Paul Eggleton [Tue, 27 Oct 2015 09:27:44 +0000 (09:27 +0000)]
meta/conf/layer.conf: fix typo

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotexinfo-dummy-native: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:51:39 +0000 (20:51 +0100)]
texinfo-dummy-native: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-meta-base: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:50:52 +0000 (20:50 +0100)]
gstreamer1.0-meta-base: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agommc-utils: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:46:51 +0000 (20:46 +0100)]
mmc-utils: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoswig: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:44:38 +0000 (20:44 +0100)]
swig: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-plugins: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:43:20 +0000 (20:43 +0100)]
alsa-plugins: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

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