]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agoliburcu: Add nios2 support
Marek Vasut [Wed, 10 Feb 2016 00:04:05 +0000 (01:04 +0100)]
liburcu: Add nios2 support

Add support for the nios2 into the liburcu.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: Fix build for arc, metag, nios2, or1k, tile
Marek Vasut [Wed, 10 Feb 2016 00:04:00 +0000 (01:04 +0100)]
strace: Fix build for arc, metag, nios2, or1k, tile

Upstream strace 4.11 does not build for arc, metag, nios2, or1k, tile.
Backport patch from strace git master to fix the build issue.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Robert Yang <liezhi.yang@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoudhcpc: specify full path for ip command calls
Mark O'Donovan [Wed, 10 Feb 2016 09:23:53 +0000 (09:23 +0000)]
udhcpc: specify full path for ip command calls

Signed-off-by: Mark O'Donovan <modonovan@biotector.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-lib: avoid including <sys/poll.h> directly
Andre McCurdy [Wed, 10 Feb 2016 04:15:09 +0000 (20:15 -0800)]
alsa-lib: avoid including <sys/poll.h> directly

musl libc generates warnings if <sys/poll.h> is included directly.

Although alsa-lib does not build with -Werror enabled, other packages
which include the alsa-lib public header files (ie libasound.h) might.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooprofile: Add nios2 support
Marek Vasut [Wed, 10 Feb 2016 00:04:06 +0000 (01:04 +0100)]
oprofile: Add nios2 support

Add support for the nios2 architecture.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonspr: Add nios2 support
Marek Vasut [Wed, 10 Feb 2016 00:04:04 +0000 (01:04 +0100)]
nspr: Add nios2 support

Add small patch to support nios2 in NSPR.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoguile: Fix nios2 support
Marek Vasut [Wed, 10 Feb 2016 00:04:03 +0000 (01:04 +0100)]
guile: Fix nios2 support

Add minor patch to recognize nios2 build target.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobinutils: Repair nios2 PLT and GP handling
Marek Vasut [Wed, 10 Feb 2016 00:04:01 +0000 (01:04 +0100)]
binutils: Repair nios2 PLT and GP handling

Repair corner cases in nios2 PLT and GP handling. See the patches
themselves for extensive detailed explanation.

The patches don't contain the ChangeLog entries, since the changelog
entries often cause trouble when applying the patch.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-meta-base: make gstreamer1.0-plugins-base-alsa conditional
Andre McCurdy [Tue, 9 Feb 2016 19:07:03 +0000 (11:07 -0800)]
gstreamer1.0-meta-base: make gstreamer1.0-plugins-base-alsa conditional

Include gstreamer1.0-plugins-base-alsa in gstreamer1.0-meta-base only
if "alsa" is present in both MACHINE and DISTRO features.

Note that building of the plugin by gstreamer1.0-plugins-base is
already conditional (based on the "alsa" DISTRO feature).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocurl: drop obsolete pkgconfig_fix.patch
Andre McCurdy [Tue, 9 Feb 2016 19:02:06 +0000 (11:02 -0800)]
curl: drop obsolete pkgconfig_fix.patch

This patch has been carried around in oe-core for a long time.
It contains two unrelated changes and neither seem to be required
any more. Drop the patch.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoiproute2: update to version 4.4.0
Maxin B. John [Tue, 9 Feb 2016 17:48:51 +0000 (19:48 +0200)]
iproute2: update to version 4.4.0

4.3.0 -> 4.4.0

Added iproute2-fix-building-with-musl.patch to fix build with
musl.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoquota: update to version 4.03
Maxin B. John [Tue, 9 Feb 2016 17:48:50 +0000 (19:48 +0200)]
quota: update to version 4.03

4.02 -> 4.03

a) Added PACKAGECONFIG for ldapmail
b) Added the following backported patches
        1. 0001-Fix-build-with-disabled-ldap.patch
        2. 0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch

c) Removed following patch due to changes in buildsystem
        1. config-tcpwrappers.patch
d) Added libnl and dbus in build-deps

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/sstatetests.py: check that PARALLEL_MAKE doesn't change signatures
Ross Burton [Tue, 9 Feb 2016 21:49:27 +0000 (21:49 +0000)]
oeqa/selftest/sstatetests.py: check that PARALLEL_MAKE doesn't change signatures

There are recipes that manage to have sstate signatures that depend on
PARALLEL_MAKE, so verify that changing this variable doesn't change signatures.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: remove unused ALLOWED_FLAGS
Ross Burton [Tue, 9 Feb 2016 21:46:40 +0000 (21:46 +0000)]
bitbake.conf: remove unused ALLOWED_FLAGS

This variable hasn't been used for a *long* time, remove it from bitbake.conf.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibproxy: remove GPLv3 logic and spurious exports
Ross Burton [Tue, 9 Feb 2016 16:34:02 +0000 (16:34 +0000)]
libproxy: remove GPLv3 logic and spurious exports

The GPLv3 logic was added back when gnome-common was GPLv3 but that has since
been fixed so the logic can be removed.

Also remove the export of HOST_SYS and BUILD_SYS (added in 397793) as cmake
works fine without them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibproxy: add PACKAGECONFIG control for gnome3
Andre McCurdy [Mon, 8 Feb 2016 20:34:41 +0000 (12:34 -0800)]
libproxy: add PACKAGECONFIG control for gnome3

The gnome3 module was previously enabled by default, so enable the
gnome3 PACKAGECONFIG option by default too.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibproxy: replace PACKAGECONFIG equivalent with the real thing
Andre McCurdy [Mon, 8 Feb 2016 20:34:40 +0000 (12:34 -0800)]
libproxy: replace PACKAGECONFIG equivalent with the real thing

No change in functionality, just use PACKAGECONFIG instead of python.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: Properly skip ptrace test if tools are missing
Jussi Kukkonen [Tue, 9 Feb 2016 15:27:29 +0000 (17:27 +0200)]
openssh: Properly skip ptrace test if tools are missing

Without the exit there will be a SKIP and a FAIL for the same test.
Also fix typo in a message.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: Fix regex that sets sftp-server path for tests
Jussi Kukkonen [Tue, 9 Feb 2016 15:27:28 +0000 (17:27 +0200)]
openssh: Fix regex that sets sftp-server path for tests

[YOCTO #9049]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane.bbclass: Support MicroBlaze with musl
Nathan Rossi [Tue, 9 Feb 2016 14:33:14 +0000 (00:33 +1000)]
insane.bbclass: Support MicroBlaze with musl

MicroBlaze is supported by musl, add entries for the 3 variants.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agohdparm: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Mon, 8 Feb 2016 21:29:10 +0000 (21:29 +0000)]
hdparm: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been to set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make
this explicit so that the default in bitbake.conf can be changed.

Unlike the other recipes that I've fixed recently, this one manifests
itself in a more subtle way by failing a QA check.

Reported-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: Security fix CVE-2016-1568
Armin Kuster [Tue, 9 Feb 2016 01:29:41 +0000 (17:29 -0800)]
qemu: Security fix CVE-2016-1568

CVE-2016-1568 Qemu: ide: ahci use-after-free vulnerability in aio port commands

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxserver-xorg: Add PACKAGECONFIG for crypto libraries
Jussi Kukkonen [Tue, 9 Feb 2016 09:24:55 +0000 (11:24 +0200)]
xserver-xorg: Add PACKAGECONFIG for crypto libraries

Default to libcrypto (openssl) as before.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: upgrade 10.6.3 -> 11.1.1
Nicolas Dechesne [Mon, 8 Feb 2016 14:59:08 +0000 (14:59 +0000)]
mesa: upgrade 10.6.3 -> 11.1.1

* update SRC_URI and checksum.
* add PACKAGECONFIG to offer choice of crypto implementation (for sha1 functions)
* use libcrypto by default. In upstream commit a24bdce4, support for
  SHA-1 was copied from xserver repo, so let's use the same default for
  --with-sha1 option that we use in xserver recipe in OE core.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinitrdscripts: fix mmc device as install target
Urs Fässler [Mon, 8 Feb 2016 12:31:58 +0000 (13:31 +0100)]
initrdscripts: fix mmc device as install target

Installing from USB to an internal SD Card did not work with Linux 4.4 in Yocto jethro. With this patch, consistent names are used for the paritions.

Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsoup-2.4: Remove unnecessary gnutls dependency
Jussi Kukkonen [Tue, 9 Feb 2016 09:24:54 +0000 (11:24 +0200)]
libsoup-2.4: Remove unnecessary gnutls dependency

Gnutls is not required: glib-networking handles TLS when it is
installed.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowpa-supplicant: Only depend on libgcrypt when needed
Jussi Kukkonen [Tue, 9 Feb 2016 09:24:53 +0000 (11:24 +0200)]
wpa-supplicant: Only depend on libgcrypt when needed

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: Don't depend on gcrypt unnecessarily
Jussi Kukkonen [Tue, 9 Feb 2016 09:24:52 +0000 (11:24 +0200)]
systemd: Don't depend on gcrypt unnecessarily

Since upstream commit 79e8bde40 it's no longer necessary to depend
on gcrypt when --disable-gcrypt is used.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildstats.bbclass: remove dead URL from comment
Randy MacLeod [Tue, 9 Feb 2016 02:46:51 +0000 (21:46 -0500)]
buildstats.bbclass: remove dead URL from comment

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoRemove obsolete references to exmap
Randy MacLeod [Tue, 9 Feb 2016 02:46:50 +0000 (21:46 -0500)]
Remove obsolete references to exmap

Exmap was a useful tool but it appears to be unsupported.
Remove it from the sample local.conf and remove the
commented lines from the profile tools packagegroup.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocurl: update 7.47.0 -> 7.47.1
Andre McCurdy [Mon, 8 Feb 2016 22:49:18 +0000 (14:49 -0800)]
curl: update 7.47.0 -> 7.47.1

Adjust LIC_FILES_CHKSUM beginline due to changes to the Copyright to
acknowledge additional contributors. No change to the license text.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosign_package_feed.bbclass: fix task dependencies
Markus Lehtonen [Mon, 8 Feb 2016 15:20:06 +0000 (17:20 +0200)]
sign_package_feed.bbclass: fix task dependencies

This dependency was already added to sign_rpm.bbclass. However, the same dep needs to be
added to sign_package_feed.bbclass, too, to cover the case where rpm
signing is disabled but package feed signing is enabled.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe/gpg_sign: fix incorrect variable name
Markus Lehtonen [Mon, 8 Feb 2016 15:20:05 +0000 (17:20 +0200)]
oe/gpg_sign: fix incorrect variable name

Prevents crash in signing if GPG_PATH is defined.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa/conf/layer.conf: adapt to more flexible initramfs-framework RDEPENDS
Patrick Ohly [Mon, 8 Feb 2016 15:14:09 +0000 (16:14 +0100)]
meta/conf/layer.conf: adapt to more flexible initramfs-framework RDEPENDS

initramfs-framework now RDEPENDS on ${VIRTUAL-RUNTIME_base-utils},
which can be busybox or some alternative like toybox. Making the
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS exception flexible, too, ensures that
distros using toybox still pass the selftests.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-corei7.inc: tell qemu to emulate a matching processor
Ross Burton [Mon, 8 Feb 2016 15:00:24 +0000 (15:00 +0000)]
tune-corei7.inc: tell qemu to emulate a matching processor

If tune-corei7 is in use then the target binaries may contain instructions that
qemu-x86-64 can't execute by default, resulting in errors on rootfs construction:

NOTE: Running intercept scripts:
NOTE: > Executing update_font_cache intercept ...
qemu: uncaught target signal 4 (Illegal instruction) - core dumped

In this case the instruction is popcnt, part of SSE4.2, so tell Qemu to emulate
the CPU that the tune targets (in this case, Nehalem). Also pass check=false as
the Nehalem machine supports VME but user-space qemu doesn't, which produces a
warning unless CPUID checking is disabled.

[ YOCTO #8888 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopixz: fix upstream version check
Alexander Kanavin [Wed, 10 Feb 2016 12:42:45 +0000 (14:42 +0200)]
pixz: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowebkitgtk: update to 2.10.7
Alexander Kanavin [Wed, 10 Feb 2016 12:42:44 +0000 (14:42 +0200)]
webkitgtk: update to 2.10.7

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibwnck3: update to 3.14.1
Alexander Kanavin [Wed, 10 Feb 2016 12:42:43 +0000 (14:42 +0200)]
libwnck3: update to 3.14.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoiso-codes: update to 3.65
Alexander Kanavin [Wed, 10 Feb 2016 12:42:42 +0000 (14:42 +0200)]
iso-codes: update to 3.65

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobash-completion: fix upstream version check
Alexander Kanavin [Wed, 10 Feb 2016 12:42:41 +0000 (14:42 +0200)]
bash-completion: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: fix upstream check for unstable versions from git
Alexander Kanavin [Wed, 10 Feb 2016 12:42:40 +0000 (14:42 +0200)]
gstreamer1.0: fix upstream check for unstable versions from git

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoffmpeg: update to 2.8.6
Alexander Kanavin [Wed, 10 Feb 2016 12:42:39 +0000 (14:42 +0200)]
ffmpeg: update to 2.8.6

Add libxv dependency only when libavdevice is enabled (as nothing else needs it).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython: merge python-elementtree into python-xml
Ross Burton [Wed, 10 Feb 2016 14:04:04 +0000 (14:04 +0000)]
python: merge python-elementtree into python-xml

python-xml depends on python-elementtree as the latter just contains a C library
used by the former.  However there's no point to this split apart from
increasing the number of packages, so merge -elementtree into python-xml.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopiglit: add missing dependency on python-xml
Ross Burton [Wed, 10 Feb 2016 13:56:54 +0000 (13:56 +0000)]
piglit: add missing dependency on python-xml

Piglit uses ElementTree so ensure that python-xml is a dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: tighten timesyncd and journal-gateway user accounts
Maciej Borzecki [Wed, 10 Feb 2016 12:32:55 +0000 (13:32 +0100)]
systemd: tighten timesyncd and journal-gateway user accounts

Make sure that systemd-timesync and systemd-journal-gateway are created
without dedicated home directories, home set to / and /bin/nologin as
shell. This makes us in sync with what systemd-sysusers sets when
adding users during startup.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: extend PACKAGECONFIG flags
Maciej Borzecki [Wed, 10 Feb 2016 12:32:53 +0000 (13:32 +0100)]
systemd: extend PACKAGECONFIG flags

We currently ship a rather full-blown setup of system. Very few
configuration knobs are actually exposed through PACKAGECONFIG
flags. This patch adds new PACKAGECONFIG flags for some finer tuning of
systemd's functionality. The default setting attempts to preserve all of
the features that were previously auto-enabled.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: rename systemd-zsh to systemd-zsh-completion
Maciej Borzecki [Wed, 10 Feb 2016 12:32:56 +0000 (13:32 +0100)]
systemd: rename systemd-zsh to systemd-zsh-completion

Try to keep consistent naming with bash-completion package.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: move some tools into systemd-extra-utils package
Maciej Borzecki [Wed, 10 Feb 2016 12:32:54 +0000 (13:32 +0100)]
systemd: move some tools into systemd-extra-utils package

This patch attempts to split some of the extra functionality delivered
by systemd utilities from the main package into a separate package. This
allows for trimming the size of a default systemd installation down to
~7MB with all configuration features disabled. The new
systemd-extra-utils package is added to RRECOMMENDS so that by default
it will get installed into the target image.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/useradd: handle whitespace only USERADD/GROUPADD/GROUPMEMS
Maciej Borzecki [Wed, 10 Feb 2016 12:32:52 +0000 (13:32 +0100)]
classes/useradd: handle whitespace only USERADD/GROUPADD/GROUPMEMS

Useradd attempts to add users/groups even when
{USERADD,GROUPADD,GROUPMEMS}_PARAM is whitespace only. This scenario is
possible when variables and modified using one of +=, =+ operator, yet
the content being added is conditional (i.e. may depend on PACKAGECONFIG
flags).

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: realign packages list
Maciej Borzecki [Wed, 10 Feb 2016 12:32:51 +0000 (13:32 +0100)]
systemd: realign packages list

Reformat list of built packages to a package per line format. Makes
easier to cope with subsequent changes.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: move bash completion into separate package
Maciej Borzecki [Wed, 10 Feb 2016 12:32:50 +0000 (13:32 +0100)]
systemd: move bash completion into separate package

Inherit bash-completion for automatic systemd-bash-completion package.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonettle.inc: drop duplicate LIC_FILES_CHKSUM and SRC_URI hashes
Andre McCurdy [Wed, 10 Feb 2016 17:43:36 +0000 (17:43 +0000)]
nettle.inc: drop duplicate LIC_FILES_CHKSUM and SRC_URI hashes

LIC_FILES_CHKSUM and the SRC_URI hashes are both set from within
the recipe files, so should not be duplicated in nettle.inc.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdb: drop unnecessary CC_FOR_BUILD etc exports
Andre McCurdy [Wed, 10 Feb 2016 17:43:35 +0000 (17:43 +0000)]
gdb: drop unnecessary CC_FOR_BUILD etc exports

These exports are all provided by autotool.bbclass

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

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdb: build fix for MIPS + musl libc
Andre McCurdy [Wed, 10 Feb 2016 17:43:34 +0000 (17:43 +0000)]
gdb: build fix for MIPS + musl libc

The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
but not by musl. Regardless of the libc, the kernel headers provide
<asm/sgidefs.h> which provides the same definitions, so use that
instead.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostrace: build fix for MIPS + musl libc
Andre McCurdy [Wed, 10 Feb 2016 17:43:33 +0000 (17:43 +0000)]
strace: build fix for MIPS + musl libc

The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
but not by musl. Regardless of the libc, the kernel headers provide
<asm/sgidefs.h> which provides the same definitions, so use that
instead.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: fetch from master branch not 1.0
Ross Burton [Wed, 10 Feb 2016 17:43:32 +0000 (17:43 +0000)]
uclibc: fetch from master branch not 1.0

The SRC_URI was fetching from the "1.0" branch but the uclibc maintainers appear
to have removed this, presumably because it's synonymous with master as all of
the releases are also on the master branch.

[ YOCTO #9074 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc-ng: Bump up to 1.0.12 release
Khem Raj [Wed, 10 Feb 2016 17:43:31 +0000 (17:43 +0000)]
uclibc-ng: Bump up to 1.0.12 release

Here are changes between 1.0.11 and 1.0.12

release 1.0.12 - Chimay Brune

Leonid Lisovskiy (5):
     libdl: dlopen() mustn't forget RTLD_NODELETE flag
     tests: Extend OMIT LDFLAGS logic to test binaries too
     Provide __adjtimex() alias, like glibc.
     ldso: Fix fail of $ORIGIN expansion in case of RTLD_NOLOAD
     ldso: Use single rtld_flags interpretation through all the calls

Waldemar Brodkorb (11):
     Suppress warning "_GNU_SOURCE" redefined
     hppa: unbreak toolchain building
     test: disable tests requiring math headers
     nios2: allow to build toolchain
     add exp10() from glibc
     Do not follow compressed items forever.
     Make sure to always terminate decoded string
     add $ORIGIN test-case
     mips64: fix memcpy, patch from glibc
     mips: fix clashing symbols
     bump version for release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomusl: Upgrade to tip of tree
Khem Raj [Wed, 10 Feb 2016 17:43:30 +0000 (17:43 +0000)]
musl: Upgrade to tip of tree

Add explicit runtime dep on bsd-headers-dev
so we dont miss them in dev images

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: Fix multiple xattr handling
Richard Purdie [Wed, 10 Feb 2016 18:25:59 +0000 (18:25 +0000)]
e2fsprogs: Fix multiple xattr handling

There is an ordering issue when adding multiple xattr values to
an ext filesystem build using the -d option to mkfs. This patch
fixes that issue. Its been posted for discussion with the upstream
community.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocdrtools-native: Explicitly set EXTRA_OEMAKE as required
Richard Purdie [Thu, 11 Feb 2016 12:12:41 +0000 (12:12 +0000)]
cdrtools-native: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be change

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/prservice: Fix whitespace problem
Richard Purdie [Thu, 11 Feb 2016 12:11:16 +0000 (12:11 +0000)]
oeqa/prservice: Fix whitespace problem

Recent bitbake changes mean the whitespace formatting around the way functions are
defined, changed which broke the rather ugly construct this test uses to append to
a python function. This really needs to be rewritten and improved but fix the
whitespace so at least the tests work again and other regressions don't creep in.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopseudo: uprev to 1.7.5
Peter Seebach [Tue, 9 Feb 2016 19:57:58 +0000 (13:57 -0600)]
pseudo: uprev to 1.7.5

This uprev adds various improvements with regards to the server
spawn logic, and also sorts xattrs to work around a bug in one of
the mkfs utilities.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest-runner: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:30 +0000 (18:04 +0000)]
ptest-runner: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agounzip: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:28 +0000 (18:04 +0000)]
unzip: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysklogd: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:27 +0000 (18:04 +0000)]
sysklogd: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostat: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:26 +0000 (18:04 +0000)]
stat: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopigz: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:25 +0000 (18:04 +0000)]
pigz: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoiputils: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:24 +0000 (18:04 +0000)]
iputils: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoed: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:23 +0000 (18:04 +0000)]
ed: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogptfdisk: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:22 +0000 (18:04 +0000)]
gptfdisk: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodmidecode: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:21 +0000 (18:04 +0000)]
dmidecode: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibacpi: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:20 +0000 (18:04 +0000)]
libacpi: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoapmd: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:19 +0000 (18:04 +0000)]
apmd: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: Explicitly set EXTRA_OEMAKE as required
Mike Crowe [Fri, 5 Feb 2016 18:04:18 +0000 (18:04 +0000)]
perl: Explicitly set EXTRA_OEMAKE as required

This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa: Improve test failure messages
Richard Purdie [Sun, 7 Feb 2016 17:10:14 +0000 (17:10 +0000)]
oeqa: Improve test failure messages

When the test fails, print the incorrect values so aid debugging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Ensure populate_lic sstate objects are cleaned
Richard Purdie [Sun, 7 Feb 2016 17:09:41 +0000 (17:09 +0000)]
sstate: Ensure populate_lic sstate objects are cleaned

do_cleansstate wasn't cleaning do_populate_lic sstate objects in the
native/cross case since the wildcard path entry wasn't being cleared
at the same time as the path extra prefix. Fix by clearing it at the
same time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage_deb: Ensure allarch deb packages aren't target specific
Richard Purdie [Sun, 7 Feb 2016 17:09:08 +0000 (17:09 +0000)]
package_deb: Ensure allarch deb packages aren't target specific

The use of TUNE_FEATURES was making do_package_write_deb of allarch
packages target specific.

To avoid this, only use the end value of DPKG_ARCH for its checksum,
not intermediate values or variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase: Make do_cleansstate nostamp
Richard Purdie [Sun, 7 Feb 2016 17:08:39 +0000 (17:08 +0000)]
base: Make do_cleansstate nostamp

We always want the cleansstate task to run so it should be
'nostamp' like the other clean tasks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/testimage: Fix exportTests function.
Aníbal Limón [Tue, 2 Feb 2016 18:07:19 +0000 (12:07 -0600)]
classes/testimage: Fix exportTests function.

With new structure of TestContext now holds suite and variable
that contains unittest instances,  it can't be exported using
JSON causing and exception.

Adds the suite variable for avoid export it.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Add help information on how to run tests.
Aníbal Limón [Mon, 1 Feb 2016 16:07:48 +0000 (10:07 -0600)]
classes/testsdk: Add help information on how to run tests.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sdkext/devtool.py: Add location test to ensure that devtool is the eSDK one.
Aníbal Limón [Tue, 2 Feb 2016 22:37:36 +0000 (16:37 -0600)]
oeqa/sdkext/devtool.py: Add location test to ensure that devtool is the eSDK one.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sdkext: Add devtool basic tests for eSDK.
Aníbal Limón [Sun, 31 Jan 2016 16:02:03 +0000 (10:02 -0600)]
oeqa/sdkext: Add devtool basic tests for eSDK.

Add simple myapp application is a C app that prints hello world
and exit.

Add devtool test for that this app to the workspace, build and
reset it.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/oetest: Fix compatibility SDK tests using eSDK.
Aníbal Limón [Tue, 2 Feb 2016 23:08:56 +0000 (17:08 -0600)]
oeqa/oetest: Fix compatibility SDK tests using eSDK.

When run SDK tests over eSDK we need to use SDKExtTestContext
instead of SDKTestContext because if we use SDKTestContext search
for SDK manifest and depends on the SDK manifest generation so
populate_sdk needs to be executed.

Adds a compatibility mode flag to SDKExtTestContext for search tests
over sdk module instead of sdkext module and change testsdk calls
to comply with this new param.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST
Aníbal Limón [Sun, 31 Jan 2016 15:21:14 +0000 (09:21 -0600)]
classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

Extensible SDK needs to point to the correct manifest so add
SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST variables.

oeqa/oetest.py: Fix SDKExtTestContext for load the correct manifests.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotestsdkext: Add skeleton for support Extensible SDK tests.
Aníbal Limón [Sun, 31 Jan 2016 14:45:47 +0000 (08:45 -0600)]
testsdkext: Add skeleton for support Extensible SDK tests.

oeqa/sdkext: Add module and __init__.py will contain eSDK tests.
classes/testsdk: Add support for run eSDK tests.
oeqa/oetest: Create oeSDKExtTest for now only inherit oeSDKTest,
             modified SDKExtTestContext now inherit SDKTestContext
             and set sdkext filesdir for store data fixtures.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Add compatibility SDK testsuite to eSDK
Aníbal Limón [Sun, 31 Jan 2016 03:23:33 +0000 (21:23 -0600)]
classes/testsdk: Add compatibility SDK testsuite to eSDK

Extensible SDK is compatible with SDK test suite so it need
to execute the same tests over it.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/oetest: oeSDKTest when run a command redirect env output to null
Aníbal Limón [Thu, 4 Feb 2016 22:14:26 +0000 (16:14 -0600)]
oeqa/oetest: oeSDKTest when run a command redirect env output to null

Some tests are failing because the eSDK env load script shows a help
message on the output so redirect this to /dev/null.

There was a discussion with Paul Eggleton [1], he don't want to have env
variables to change the behaviour of what the env script needs to print
so redirect the output in oeSDK.run() method. I didn't agree because
it can hides another messages like error ones and with the variable you
can control what prints or not.

[1] http://lists.openembedded.org/pipermail/openembedded-core/2016-February/116744.html

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Add function run_test_context
Aníbal Limón [Sun, 31 Jan 2016 01:58:29 +0000 (19:58 -0600)]
classes/testsdk: Add function run_test_context

This helper functions will be serve as well to run extensible
sdk tests so generalize it to get function context as arg.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooetest.py/TestContext: Move loadTests and runTests inside it.
Aníbal Limón [Sun, 31 Jan 2016 01:16:10 +0000 (19:16 -0600)]
oetest.py/TestContext: Move loadTests and runTests inside it.

Method's for loadTests and runTests make sense to define
inside TestContext because it can be different around
Image, SDK, SDKExt.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotestimage/testsdk: Move get test suites routine inside TestContext.
Aníbal Limón [Sat, 30 Jan 2016 17:55:39 +0000 (11:55 -0600)]
testimage/testsdk: Move get test suites routine inside TestContext.

In order to provide better abstraction move functions to get the test
suite inside the TestContext.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotestimage/testsdk: Modularize TestContext.
Aníbal Limón [Sat, 30 Jan 2016 17:05:15 +0000 (11:05 -0600)]
testimage/testsdk: Modularize TestContext.

Move anonymous duplicated class TestContext from testimage/testsdk to
oeqa/oetest now we have two new classes ImageTestContext and
SDKTestContext with common code in TestContext class.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotoolchain-shar-extract.sh: Add proxy variable to new env.
Aníbal Limón [Thu, 28 Jan 2016 22:49:34 +0000 (16:49 -0600)]
toolchain-shar-extract.sh: Add proxy variable to new env.

Extensible SDK needs to do network operations so add proxies to
environment.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Add call to export_proxies on testsdkext.
Aníbal Limón [Thu, 28 Jan 2016 22:48:27 +0000 (16:48 -0600)]
classes/testsdk: Add call to export_proxies on testsdkext.

Extensible SDK needs to use network and some networks requires
proxies then export it.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Add testsdkext task only install.
Aníbal Limón [Thu, 28 Jan 2016 21:42:47 +0000 (15:42 -0600)]
classes/testsdk: Add testsdkext task only install.

Add task for test extensible sdk for now only install the SDK.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoget_test_suites: Add sdkext type for load test suites.
Aníbal Limón [Thu, 28 Jan 2016 21:40:13 +0000 (15:40 -0600)]
get_test_suites: Add sdkext type for load test suites.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopopulate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME.
Aníbal Limón [Thu, 28 Jan 2016 21:18:20 +0000 (15:18 -0600)]
populate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME.

This variable is needed by testextsdk to known the name of extensible
sdk file generated.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testimage: Add defeault inherit for testsdk.
Aníbal Limón [Thu, 28 Jan 2016 16:18:11 +0000 (10:18 -0600)]
classes/testimage: Add defeault inherit for testsdk.

For compatibility adds default inherit of the new class testsdk
for now, we need to review the code base.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Add new class testsdk.
Aníbal Limón [Thu, 28 Jan 2016 16:09:02 +0000 (10:09 -0600)]
classes/testsdk: Add new class testsdk.

Moves all the testsdk code from testimage in order to have it's own
class because new tests will be added for extensible SDK.

The old paths for store logs "${WORKDIR}/testimage" and sdk
"${WORKDIR}/testimage-sdk" was maintained for compatibility may be
change to point testsdk after review the codebase.

The dependency of QEMU was removed because isn't needed.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotestimage: Modularize helper functions for get test lists.
Aníbal Limón [Thu, 28 Jan 2016 15:46:25 +0000 (09:46 -0600)]
testimage: Modularize helper functions for get test lists.

Test lists functions can be used in other parts so modularize it and
move to oeqa/oetest.py library.

Testimage class was updated to meet the new sign of the functions.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf/base: Improve handling of SRCPV
Richard Purdie [Tue, 2 Feb 2016 14:10:46 +0000 (14:10 +0000)]
bitbake.conf/base: Improve handling of SRCPV

If SRCPV is set, it can be expanded when SRC_URI doesn't support it
leading to errors. Avoid doing this by setting it only when it makes
sense.

This patch depends on the bitbake python expansion patch series.

[YCOTO #7772]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>