]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agopango: make ${PN}-ptest RDEPENDS on cantarell-fonts
Jagadeesh Krishnanjanappa [Sun, 21 Feb 2016 19:00:53 +0000 (00:30 +0530)]
pango: make ${PN}-ptest RDEPENDS on cantarell-fonts

Pango test case (test-layout.test) requires cantarell-font
typeface. This test case uses 'Cantarell 11' font type.

Test result after this change on qemux86:
-- snip --
root@qemux86:~# gnome-desktop-testing-runner pango
Running test: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
PASS: pango/test-pangocairo-threads.test
Running test: pango/test-ot-tags.test
/tags/script: OK
/tags/language: OK
PASS: pango/test-ot-tags.test
Running test: pango/testcolor.test
/color/parse: OK
PASS: pango/testcolor.test
Running test: pango/markup-parse.test
/markup/parse/valid-4.markup: OK
/markup/parse/valid-1.markup: OK
/markup/parse/valid-3.markup: OK
/markup/parse/valid-2.markup: OK
/markup/parse/fail-1.markup: OK
PASS: pango/markup-parse.test
Running test: pango/test-layout.test
/layout/valid-1.markup: OK
/layout/valid-2.markup: OK
PASS: pango/test-layout.test
Running test: pango/cxx-test.test
PASS: pango/cxx-test.test
Running test: pango/testboundaries_ucd.test
/text/break/grapheme: Testing /usr/libexec/installed-tests/pango/GraphemeBreakTest.txt.
OK
/text/break/word: /usr/libexec/installed-tests/pango/WordBreakTest.txt not found.
Skipping test.
OK
/text/break/sentence: /usr/libexec/installed-tests/pango/SentenceBreakTest.txt not found.
Skipping test.
OK
/text/break/line: /usr/libexec/installed-tests/pango/LineBreakTest.txt not found.
Skipping test.
OK
PASS: pango/testboundaries_ucd.test
Running test: pango/testboundaries.test
/text/boundaries: sample file: /usr/libexec/installed-tests/pango/boundaries.utf8
testboundaries passed
OK
PASS: pango/testboundaries.test
Running test: pango/testattributes.test
/attributes/basic: OK
/attributes/equal: OK
/attributes/list/basic: OK
/attributes/list/change: OK
/attributes/list/splice: OK
/attributes/list/filter: OK
/attributes/iter/basic: OK
/attributes/iter/get: OK
/attributes/iter/get_font: OK
/attributes/iter/get_attrs: OK
PASS: pango/testattributes.test
Running test: pango/testscript.test
/script/iter: OK
PASS: pango/testscript.test
Running test: pango/test-font.test
/pango/fontdescription/parse: OK
/pango/fontdescription/roundtrip: OK
PASS: pango/test-font.test
Running test: pango/testiter.test
/layout/iter: OK
/layout/glyphitem-iter: OK
PASS: pango/testiter.test
SUMMARY: total=12; passed=12; skipped=0; failed=0; user=76.1s; system=2.0s; maxrss=52664
root@qemux86:~#
-- CUT --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocantarell-fonts: Add recipe
Jagadeesh Krishnanjanappa [Sun, 21 Feb 2016 19:00:52 +0000 (00:30 +0530)]
cantarell-fonts: Add recipe

1. The Cantarell font typeface is designed as a
   contemporary Humanist sans serif, and was developed for
   on-screen reading; in particular, reading web pages on an
   HTC Dream mobile phone.

2. Pango test case (test-layout.test) requires cantarell-font
   typeface. This test case uses 'Cantarell 11' font type

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosanity: Fix int verses string reference
Richard Purdie [Sun, 28 Feb 2016 22:53:03 +0000 (22:53 +0000)]
sanity: Fix int verses string reference

The sanity update code needs to be passed an int, not string.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobblayers.conf.sample: Fix missing layer version bump
Richard Purdie [Sun, 28 Feb 2016 15:57:58 +0000 (15:57 +0000)]
bblayers.conf.sample: Fix missing layer version bump

The sanity.bbclass changes required the layer verison to increase,
this adds that missing component.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopseudo: Increase number of retries
Richard Purdie [Mon, 22 Feb 2016 17:24:59 +0000 (17:24 +0000)]
pseudo: Increase number of retries

Increase number of retries to handle slow exiting servers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad.inc: enable webp PACKAGECONFIG by default
Andre McCurdy [Fri, 26 Feb 2016 06:14:33 +0000 (22:14 -0800)]
gstreamer1.0-plugins-bad.inc: enable webp PACKAGECONFIG by default

The webp plugin depends on libwebp, which is now present in oe-core:

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

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext: Delete libintl.la file from install
Khem Raj [Fri, 26 Feb 2016 06:47:59 +0000 (06:47 +0000)]
gettext: Delete libintl.la file from install

gettext installs a libtool .la file for non-glibc systems
since it builds libintl for them unlike glibc where it finds that using
libc's gettext implementation is just fine. Same is not true for
musl even though musl provides itw own gettext implementation much on
then lines of glibc.

ideally gettetxt should be fixed to behave on musl, but at this time its
not clear if APIs are same and complete.

Deleting .la file helps compiling packages like util-linux when using
fstack-protections since it does not alter the order of libc on linker
cmdline

Moved src_uri checksums just below the SRC_URI as matter of formatting

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemctl: handle RequiredBy dependencies
Tomas Novotny [Fri, 26 Feb 2016 14:57:40 +0000 (15:57 +0100)]
systemctl: handle RequiredBy dependencies

Install section of a systemd service may contain RequiredBy dependency,
which is not handled currently. This means that symlinks to enable the
service are not created and the service may not be started.

Also fix debug output (all dependencies were printed instead of the one
which was enabled or disabled).

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoffmpeg: add bzlib, lzma and xv PACKAGECONFIGs
Jonathan Liu [Fri, 26 Feb 2016 14:14:16 +0000 (01:14 +1100)]
ffmpeg: add bzlib, lzma and xv PACKAGECONFIGs

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorootfs-postcommands: fix ssh_allow_empty_password checking
Jonathan Liu [Fri, 26 Feb 2016 09:12:21 +0000 (20:12 +1100)]
rootfs-postcommands: fix ssh_allow_empty_password checking

The ssh_allow_empty_password function doesn't check if
sshd_config_readonly exists before running sed which can result in an
error if sshd_config exists but sshd_config_readonly doesn't.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Add linux-libc-headers to deps
Khem Raj [Fri, 26 Feb 2016 06:48:01 +0000 (06:48 +0000)]
musl: Add linux-libc-headers to deps

This is highlighted with clang when trying to
build a single package clean from scratch it
missed kernel headers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomesa: Fix build on musl
Khem Raj [Fri, 26 Feb 2016 06:48:00 +0000 (06:48 +0000)]
mesa: Fix build on musl

It assumes __GLIBC__ where it could actually check for linux
and include non-glibc C library implementations like musl which
provide __BYTE_ORDER macros as well when computing system endianness

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodosfstools_2.11: fix build following removal of -e from EXTRA_OEMAKE
Andre McCurdy [Fri, 26 Feb 2016 05:24:38 +0000 (21:24 -0800)]
dosfstools_2.11: fix build following removal of -e from EXTRA_OEMAKE

Also misc formatting tweaks to align with v3.0.28 recipe and remove
BBCLASSEXTEND = "native" (native builds should always use the GPLv3
recipe).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouclibc support for rng-tools
Maxin B. John [Thu, 25 Feb 2016 10:30:26 +0000 (12:30 +0200)]
uclibc support for rng-tools

Uclibc has its own argp implemented as libuargp. So, we add a new
option --enable-uclibc to select it.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sdkext: Add sdk_update.SDKUpdateTest class.
Aníbal Limón [Sun, 21 Feb 2016 20:40:20 +0000 (14:40 -0600)]
oeqa/sdkext: Add sdk_update.SDKUpdateTest class.

The SDKUpdateTest class test devtool sdk-update mechanism inside
eSDK.

The SDKUpdateTest class search for new sdk if not found uses
the main one then it publish the eSDK into known folder
inside work and it starts a web server for serve the eSDK.

Finally it executes sdk-update over http, the local test is
commented due to bug [1].

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9043

[YOCTO #9089]

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Pass tcname to SDK and SDKExt contexts
Aníbal Limón [Sun, 21 Feb 2016 19:01:03 +0000 (13:01 -0600)]
classes/testsdk: Pass tcname to SDK and SDKExt contexts

tcname is needed for eSDK update testcase will be used for
 publish it and then try to update

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Move the removal of bitbake PATH to eSDK context only
Aníbal Limón [Sun, 21 Feb 2016 18:31:50 +0000 (12:31 -0600)]
classes/testsdk: Move the removal of bitbake PATH to eSDK context only

The removal of bitbake and scripts PATH is only needed by eSDK tests
so move to eSDK context only.

This also it's a support for eSDK update test because it needs to
execute oe-publish-sdk from scripts.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/testsdk: Move code for avoid PATHs to oeqa.utils
Aníbal Limón [Sun, 21 Feb 2016 18:14:44 +0000 (12:14 -0600)]
classes/testsdk: Move code for avoid PATHs to oeqa.utils

Due to the neeed to use in other modules.

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-XXX: control orc PACKAGECONFIG via GSTREAMER_ORC
Andre McCurdy [Thu, 25 Feb 2016 20:02:15 +0000 (12:02 -0800)]
gstreamer1.0-plugins-XXX: control orc PACKAGECONFIG via GSTREAMER_ORC

Orc enables runtime JIT compilation of data processing routines from
Orc bytecode to SIMD instructions for various architectures (currently
SSE, MMX, MIPS, Altivec and NEON are supported).

  https://cgit.freedesktop.org/gstreamer/orc/tree/README

Provide a convenient way to globally control the orc PACKAGECONFIG
option for all four gstreamer-1.0-plugins-XXX recipes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: fix BJAM_OPTS --build-dir option
Andre McCurdy [Thu, 25 Feb 2016 19:59:15 +0000 (11:59 -0800)]
boost.inc: fix BJAM_OPTS --build-dir option

The correct syntax is --build-dir ( --builddir is silently ignored ).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoshared-mime-info: update to 1.6
Alexander Kanavin [Thu, 25 Feb 2016 14:41:02 +0000 (16:41 +0200)]
shared-mime-info: update to 1.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovala: update to 0.30.1
Alexander Kanavin [Wed, 24 Feb 2016 15:56:42 +0000 (17:56 +0200)]
vala: update to 0.30.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-git: update to 1.0.2
Alexander Kanavin [Wed, 24 Feb 2016 15:55:04 +0000 (17:55 +0200)]
python-git: update to 1.0.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopax-utils: update to 1.1.5
Alexander Kanavin [Wed, 24 Feb 2016 15:36:35 +0000 (17:36 +0200)]
pax-utils: update to 1.1.5

Remove fix-configure-failure.patch,
the problem has been fixed upstream.

Add README to the list of files that must be created
before configuring the build.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonettle: update to 3.2
Alexander Kanavin [Wed, 24 Feb 2016 15:33:32 +0000 (17:33 +0200)]
nettle: update to 3.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoncurses: update to revision 20160213
Alexander Kanavin [Wed, 24 Feb 2016 15:27:46 +0000 (17:27 +0200)]
ncurses: update to revision 20160213

Also, put the revision into PV, so that a meaningful upstream version
check can be performed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibdrm: update to 2.4.67
Alexander Kanavin [Wed, 24 Feb 2016 15:13:22 +0000 (17:13 +0200)]
libdrm: update to 2.4.67

Drop 0001-tests-kms-steal-crtc-Include-sys-select.h.patch and detect.patch
(merged upstream).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+3: update to 3.18.8
Alexander Kanavin [Wed, 24 Feb 2016 14:28:07 +0000 (16:28 +0200)]
gtk+3: update to 3.18.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk-icon-utils-native: update to 3.18.8
Alexander Kanavin [Wed, 24 Feb 2016 14:26:36 +0000 (16:26 +0200)]
gtk-icon-utils-native: update to 3.18.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogit: update to 2.7.2
Alexander Kanavin [Wed, 24 Feb 2016 14:24:04 +0000 (16:24 +0200)]
git: update to 2.7.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognupg: update to 2.1.11
Alexander Kanavin [Wed, 24 Feb 2016 14:19:39 +0000 (16:19 +0200)]
gnupg: update to 2.1.11

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-gst-3.0: update to 3.0.16
Alexander Kanavin [Wed, 24 Feb 2016 14:13:25 +0000 (16:13 +0200)]
clutter-gst-3.0: update to 3.0.16

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoccache: update to 3.2.4
Alexander Kanavin [Wed, 24 Feb 2016 14:06:26 +0000 (16:06 +0200)]
ccache: update to 3.2.4

Drop backported 0001-Fix-regression-in-recent-change-related-to-zlib-in-n.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsolv: update to 0.6.19
Alexander Kanavin [Wed, 24 Feb 2016 13:55:38 +0000 (15:55 +0200)]
libsolv: update to 0.6.19

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoffmpeg: update to 3.0
Alexander Kanavin [Wed, 24 Feb 2016 13:53:37 +0000 (15:53 +0200)]
ffmpeg: update to 3.0

Also, enforce arm instruction set (thumb is causing build failures)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonspr: update to 4.12
Alexander Kanavin [Wed, 24 Feb 2016 13:48:07 +0000 (15:48 +0200)]
nspr: update to 4.12

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopcmanfm: update to 1.2.4
Alexander Kanavin [Wed, 24 Feb 2016 13:46:37 +0000 (15:46 +0200)]
pcmanfm: update to 1.2.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibfm: update to 1.2.4
Alexander Kanavin [Wed, 24 Feb 2016 13:40:16 +0000 (15:40 +0200)]
libfm: update to 1.2.4

LICENSE checksum change due to formatting changes, and 'how to apply those
terms' section dropped from the GPL text.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoepiphany: update to 3.18.4
Alexander Kanavin [Wed, 24 Feb 2016 12:52:43 +0000 (14:52 +0200)]
epiphany: update to 3.18.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: don't throw away our created swap partition
Christopher Larson [Thu, 25 Feb 2016 17:21:49 +0000 (10:21 -0700)]
wic: don't throw away our created swap partition

We were creating the partition, mkswap'ing it, and then not dd'ing it into
place in the final image, as source_file wasn't being set for swap partitions.
This would result in a swap partition that couldn't be enabled on target until
mkswap was run.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautomake: set test-driver path relative to top_builddir
Martin Borg [Thu, 25 Feb 2016 15:08:04 +0000 (16:08 +0100)]
automake: set test-driver path relative to top_builddir

automake offers auxiliary tools and is capable to install and prepare the setup for those.
test-driver, a log driver used by parallel testsuite harness in ptests, is one of those tools.
By default it looks that automake prepare environment for testing relative $top_srcdir.
But in Yocto following changed:
 - build folder was separated
 - $top_srcdir is not anymore defined as relative path, now can be relative or absolute

So now in Yocto the Makefile from src/tests contains absolute path of $top_srcdir for test-driver
which is an unexisting path at runtime.

We need to have relative path for test-driver in Makefile to work on target. $top_builddir
can guarantee this path.

Originally submitted by Adrian Calianu <adrian.calianu@enea.com>

Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouninative-tarball: respect SDKMACHINE when building
Ross Burton [Thu, 25 Feb 2016 16:59:39 +0000 (16:59 +0000)]
uninative-tarball: respect SDKMACHINE when building

So that a single machine can build multiple architectures for the
uninative-tarball respect SDK_ARCH instead of BUILD_ARCH.

This means a x86-64 host can build a i686 uninative-tarball by setting
SDKMACHINE=i686.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: enable more verbose build logs
Andre McCurdy [Thu, 25 Feb 2016 02:30:21 +0000 (18:30 -0800)]
boost.inc: enable more verbose build logs

The default build output is very terse. Add -d+2 (ie "Show commands
as they are executed") to BJAM_OPTS to make the do_compile logs more
informative.

Also add -q (ie "Stop at first error") to BJAM_OPTS and fix typo in
comments.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-XXX: move inherit gettext into common .inc file
Andre McCurdy [Thu, 25 Feb 2016 02:15:25 +0000 (18:15 -0800)]
gstreamer1.0-plugins-XXX: move inherit gettext into common .inc file

gstreamer1.0-plugins-base/good/bad/ugly.inc all independently inherit
gettext. Move into the common gstreamer1.0-plugins.inc include file.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0.inc: add explicit PACKAGECONFIG init
Andre McCurdy [Thu, 25 Feb 2016 02:15:24 +0000 (18:15 -0800)]
gstreamer1.0.inc: add explicit PACKAGECONFIG init

Although gstreamer1.0.inc doesn't currently set any default
PACKAGECONFIG options, add explicit initialisation in order to
match the style / structure of the other gstreamer1.0 recipes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-libav: move LIBAV_EXTRA_CONFIGURE_COMMON_ARG into .inc
Andre McCurdy [Thu, 25 Feb 2016 02:15:23 +0000 (18:15 -0800)]
gstreamer1.0-libav: move LIBAV_EXTRA_CONFIGURE_COMMON_ARG into .inc

The LIBAV_EXTRA_CONFIGURE_COMMON_ARG definition is now common to both
the git and the versioned gstreamer1.0-libav recipes, so move it into
gstreamer1.0-libav.inc

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-libav_git: add --ranlib option to LIBAV_EXTRA_CONFIGURE_COMMON_ARG
Andre McCurdy [Thu, 25 Feb 2016 02:15:22 +0000 (18:15 -0800)]
gstreamer1.0-libav_git: add --ranlib option to LIBAV_EXTRA_CONFIGURE_COMMON_ARG

The versioned gstreamer1.0-libav recipe includes --ranlib in
LIBAV_EXTRA_CONFIGURE_COMMON_ARG, but the git recipe does not.
It appears to be a historical mistake.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5
Andre McCurdy [Thu, 25 Feb 2016 00:48:45 +0000 (16:48 -0800)]
boost.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5

The original over-ride dates back to 2009:

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

There are no obvious issues seen now when building boost in thumb2
for Cortex A15.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopopulate_sdk_ext: Add images to SDK_INSTALL_TARGETS
Randy Witt [Wed, 24 Feb 2016 23:27:42 +0000 (15:27 -0800)]
populate_sdk_ext: Add images to SDK_INSTALL_TARGETS

When running ext-sdk-prepare.py during sdk installation a check is done to
make sure no tasks would run that aren't provided by the "leaf" recipes
specified in SDK_INSTALL_TARGETS.

However sometimes an image recipe can cause other images to be created
such as an initramfs. So make sure those additional images are
recognized by ext-sdk-prepare.py and don't flag an error.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboot-directdisk.bbclass: drop IS_VM chechking
Robert Yang [Wed, 24 Feb 2016 09:23:57 +0000 (01:23 -0800)]
boot-directdisk.bbclass: drop IS_VM chechking

The IS_VM was used for making menus for vmdk, vdi and qcow2, except
hddimg, there is no reason to not make menus for hddimg, so drop it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG
Robert Yang [Wed, 24 Feb 2016 09:23:56 +0000 (01:23 -0800)]
image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG

No one uses it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotestimage.bbclass: reuse generic test suites
Alex Franco [Tue, 23 Feb 2016 09:14:28 +0000 (09:14 +0000)]
testimage.bbclass: reuse generic test suites

Modify existing default test suites to reuse the new
generic test suites.

Related to [YOCTO #8410]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotestimage.bbclass: add generic, image test suites
Alex Franco [Tue, 23 Feb 2016 09:14:27 +0000 (09:14 +0000)]
testimage.bbclass: add generic, image test suites

Add generic test suites MINTESTSUITE, NETTESTSUITE, DEVTESTSUITE to
group common test suites.

Add DEFAULT_TEST_SUITES_pn- variables for:
  * core-image-minimal-dev
  * core-image-full-cmdline
  * core-image-x11
  * core-image-lsb
  * core-image-lsb-dev

New default test suites use generic test suites.
Existing default test suites not modified.

[YOCTO #8410]

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogconf: remove redundant dependencies
Ross Burton [Thu, 25 Feb 2016 01:02:57 +0000 (01:02 +0000)]
gconf: remove redundant dependencies

The explicit native dependencies are identical to the class-generated
dependencies so remove them.

The dbus-x11 package hasn't existed for some time and is RPROVIDEd by dbus, so
there's no need to depend on it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk-doc-stub: don't inherit autotools
Ross Burton [Thu, 25 Feb 2016 00:26:51 +0000 (00:26 +0000)]
gtk-doc-stub: don't inherit autotools

There's quite an overhead in inheriting autotools, but this package just has a
hand-crafted configure script and Makefile.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoos-release: sanitise VERSION_ID field
Joshua Lock [Wed, 24 Feb 2016 14:52:14 +0000 (14:52 +0000)]
os-release: sanitise VERSION_ID field

Per os-release(5) the VERSION_ID field should be:

  a lower-case string (mostly numeric, no spaces or other characters
  outside of 0-9, a-z, ".", "_" and "-")

Do some string manipulation to try and ensure the VERSION_ID field
we write is valid.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoapr-util: add ldap crypto and sqlite3 to PACKAGECONFIG
Ioan-Adrian Ratiu [Thu, 4 Feb 2016 12:32:53 +0000 (14:32 +0200)]
apr-util: add ldap crypto and sqlite3 to PACKAGECONFIG

Enable apr-util's cryptographic routines so that the apache2 package
can encrypt session data. Also add sqlite3 and ldap modules, disabled
by default.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoapr-util: fix loadable module packaging
Ioan-Adrian Ratiu [Thu, 4 Feb 2016 12:32:52 +0000 (14:32 +0200)]
apr-util: fix loadable module packaging

A new QA check was introduced by 47d38d4d86ec6a which catches recipes
which install loadable modules (*.so) inside -dev packages instead of
symlinks. Install apr-util's modules into ${PN} and also skip the QA
check [dev-so] because it is the reverse of the check introduced by
47d38d4d86ec6a (thus if a recipe passes one it fails the other).

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc.inc: improve optimisation level sanity checking
Andre McCurdy [Wed, 24 Feb 2016 22:39:33 +0000 (14:39 -0800)]
glibc.inc: improve optimisation level sanity checking

- Avoid code duplication to handle -O, -O1 and -Os cases

- Consider the effective optimisation level only (avoids spurious
  warnings if multiple optimisation flags are present).

- Prefix warnings with PN instead of hardcoding "glibc" (avoids
  confusing warnings since the test is also applied to glibc-initial,
  nativesdk-glibc, nativesdk-glibc-initial, etc, and each could
  potentually have different optimisation flags).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorsync: add native variant
Joshua Lock [Wed, 24 Feb 2016 14:52:05 +0000 (14:52 +0000)]
rsync: add native variant

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocore-tools-profile: add lttng tools for aarch64
Tudor Florea [Wed, 24 Feb 2016 03:40:08 +0000 (04:40 +0100)]
core-tools-profile: add lttng tools for aarch64

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolttng-ust: add support for aarch64_be
Tudor Florea [Wed, 24 Feb 2016 03:40:07 +0000 (04:40 +0100)]
lttng-ust: add support for aarch64_be

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoliburcu: add support for aarch64_be
Tudor Florea [Wed, 24 Feb 2016 03:40:06 +0000 (04:40 +0100)]
liburcu: add support for aarch64_be

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: add explicit dependency on fontconfig
Andre McCurdy [Tue, 23 Feb 2016 18:54:25 +0000 (10:54 -0800)]
harfbuzz: add explicit dependency on fontconfig

The fontconfig dependency was previously met indirectly (via cairo).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoharfbuzz: update 1.2.0 -> 1.2.1
Andre McCurdy [Tue, 23 Feb 2016 18:54:24 +0000 (10:54 -0800)]
harfbuzz: update 1.2.0 -> 1.2.1

Overview of changes leading to 1.2.1
Friday, February 23, 2016
====================================

- CoreText: Fix bug with wrong scale if font scale was changed later.
  https://github.com/libass/libass/issues/212
- CoreText: Drastically speed up font initialization.
- CoreText: Fix tiny leak.
- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
  https://github.com/behdad/harfbuzz/issues/217
- Add test/shaping/README.md about how to add tests to the suite.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofontconfig: Don't add font directories from host
Martin Jansa [Tue, 23 Feb 2016 15:32:07 +0000 (16:32 +0100)]
fontconfig: Don't add font directories from host

* when enabled, configure check for "fonts" directory existence in following directories:
  /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11
  on _host_ system and if it exists it adds <dir> element to
  /etc/fonts/fonts.conf
* update_font_cache postinst will then fail if host system has e.g.
  /usr/lib/X11/fonts while the rootfs doesn't have it
* if you're installing fonts to other directories, you'll need to adapt
  this EXTRA_OECONF to find them that's why it's in separate variable

[YOCTO #9155] - update_font_cache postinst failing with read-only filesystem

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Upgrade to 1.1.14
Khem Raj [Tue, 23 Feb 2016 12:22:22 +0000 (12:22 +0000)]
musl: Upgrade to 1.1.14

There has been regressions seen in 1.1.13 hence
a quick 1.1.14 release is made

license checksum changed due to updates to authors/contributors list

here is the list of all changes between 1.1.13 and 1.1.14

http://git.musl-libc.org/cgit/musl/log/?qt=range&q=v1.1.13..v1.1.14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: devtool: add an additional test for devtool upgrade
Paul Eggleton [Wed, 24 Feb 2016 04:30:17 +0000 (17:30 +1300)]
oe-selftest: devtool: add an additional test for devtool upgrade

Add a test for devtool upgrade with a recipe pointing to a git
repository, since this uses several different code paths.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: devtool: rework devtool upgrade test
Paul Eggleton [Wed, 24 Feb 2016 03:51:30 +0000 (16:51 +1300)]
oe-selftest: devtool: rework devtool upgrade test

* Use a more real-world test of a recipe pointing to a remote file
* The cleanup tracking / teardown commands need to be added towards the
  top, or they won't have the desired effect of cleaning up if the test
  fails.
* Check that a versioned subdirectory gets renamed to match the new
  version
* Ensure the recipe contents gets changed as we expect it to
* Check that the recipe directory is deleted by devtool reset at the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: print new recipe name
Paul Eggleton [Wed, 24 Feb 2016 03:13:45 +0000 (16:13 +1300)]
devtool: upgrade: print new recipe name

Make this consistent with "devtool add" so that the user knows where to
find the new recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: drop PR on upgrade
Paul Eggleton [Wed, 24 Feb 2016 02:57:07 +0000 (15:57 +1300)]
devtool: upgrade: drop PR on upgrade

The PR value should be reset to the default when upgrading, so we need
to drop it from the newly created file.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: eliminate unnecessary datastore copy
Paul Eggleton [Tue, 23 Feb 2016 20:01:02 +0000 (09:01 +1300)]
devtool: upgrade: eliminate unnecessary datastore copy

We aren't modifying the datastore copy here, so we don't need a copy at
all.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix several issues with extraction of new source
Paul Eggleton [Tue, 23 Feb 2016 21:14:32 +0000 (10:14 +1300)]
devtool: upgrade: fix several issues with extraction of new source

Fix several issues when extracting the new version source over the top
of the old one (when the recipe is not fetching from a git repo):

* Delete the old source first so we ensure files deleted in the new
  version are deleted. This also has the side-effect of fixing any
  issues where files aren't marked writeable in the old source and thus
  overwriting them failed (harfbuzz 1.1.3 contains such files).
* Fix incorrect variable name in abspath statement that made it a no-op

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix constructing new branch from tarball releases
Paul Eggleton [Mon, 22 Feb 2016 23:01:44 +0000 (12:01 +1300)]
devtool: upgrade: fix constructing new branch from tarball releases

When we do an upgrade from one tarball version to another we want to:

1) Check out the old version as a new branch
2) Record the changes between the old and new versions as a commit
3) Check out the old version with patches applied
4) Rebase that onto the new branch

Where we went wrong was step #1 where instead we checked out the old
version with patches applied as the new branch, which meant the rebase
didn't do anything and any changes made by the patches to files still in
the new version were wiped out.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix renaming of recipe if PV is not in name
Paul Eggleton [Tue, 23 Feb 2016 19:40:10 +0000 (08:40 +1300)]
devtool: upgrade: fix renaming of recipe if PV is not in name

If the actual value of PV isn't in the name of the recipe (for example,
a git or svn recipe) there's no point trying to rename it. Additionally,
we already have the original filename, there's no need to guess it -
just pass it in.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix moving version-specific files directory
Paul Eggleton [Mon, 22 Feb 2016 22:37:59 +0000 (11:37 +1300)]
devtool: upgrade: fix moving version-specific files directory

We were trying to move this from the current directory instead of the
path. Let's just use shutil.move() instead of shelling out to mv.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: fix version argument checking
Paul Eggleton [Sun, 21 Feb 2016 23:04:53 +0000 (12:04 +1300)]
devtool: upgrade: fix version argument checking

For recipes that specify SRCREV, the code here wasn't quite doing the
right thing. If the recipe has a SRCREV then that needs changing on
upgrade, so ensure that the user specifies it. If it doesn't, then it'll
be "INVALID" not None since the former is the actual default, so handle
that properly as well. Additionally an unset variable was being
erroneously passed when raising the error about the version being the
same leading to a traceback, so fix that as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: drop superfluous call to validate_pn
Paul Eggleton [Sun, 21 Feb 2016 22:56:08 +0000 (11:56 +1300)]
devtool: upgrade: drop superfluous call to validate_pn

The recipename argument to devtool upgrade specifies an existing recipe,
so by definition the name will be valid (or it won't exist) - we don't
need to validate it ourselves, that's only needed for situations like in
devtool add where we're creating a new recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: upgrade: make source tree path optional
Paul Eggleton [Sun, 21 Feb 2016 22:54:40 +0000 (11:54 +1300)]
devtool: upgrade: make source tree path optional

Make devtool upgrade consistent with devtool add/modify in defaulting to
sources/<recipename> under the workspace if no source tree path is
specified.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: modify: fix source tree default name when mapping virtuals
Paul Eggleton [Sun, 21 Feb 2016 22:37:28 +0000 (11:37 +1300)]
devtool: modify: fix source tree default name when mapping virtuals

If you for example ran devtool modify virtual/libusb0 without specifying
a source tree path, the default was <workspace>/sources/virtual/libusb0
which isn't correct - it should be using the mapped name i.e.
libusb-compat (in the default OE-Core configuration). Reorder some of
the code to ensure that the mapped name is used.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: add: tweak auto-determining name failure message
Paul Eggleton [Sun, 21 Feb 2016 22:34:15 +0000 (11:34 +1300)]
devtool: add: tweak auto-determining name failure message

As suggested by Khem Raj.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouninative.bbclass: if the loader can't be found disable instead of failing
Ross Burton [Mon, 22 Feb 2016 21:06:38 +0000 (21:06 +0000)]
uninative.bbclass: if the loader can't be found disable instead of failing

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouninative: use check_output instead of Popen directly
Ross Burton [Tue, 23 Feb 2016 21:10:13 +0000 (21:10 +0000)]
uninative: use check_output instead of Popen directly

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/qa: add explicit exception for 'file isn't an ELF'
Ross Burton [Wed, 24 Feb 2016 13:31:40 +0000 (13:31 +0000)]
lib/oe/qa: add explicit exception for 'file isn't an ELF'

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibdrm: fix build with uclibc
Maxin B. John [Tue, 23 Feb 2016 10:05:02 +0000 (12:05 +0200)]
libdrm: fix build with uclibc

Fix 'O_CLOEXEC' undeclared error with uclibc

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostrace: fix ptest execution
Dengke Du [Tue, 23 Feb 2016 07:59:04 +0000 (02:59 -0500)]
strace: fix ptest execution

When run the strace ptest on the target, the test files located in the "/usr/lib/strace/ptest/tests",
but the run-test script use the path "srcdir = ../../strace-*/tests"to find the necessary files, so it
can't find the necessary files, it fails. So change the variable srcdir, replace the strace-* to ptest
when do the do_install_ptest() function using the following:
sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-1.0: Fix confgure test errors found by clang
Khem Raj [Tue, 23 Feb 2016 02:49:57 +0000 (02:49 +0000)]
clutter-1.0: Fix confgure test errors found by clang

We were using nested functions inadvertantly and they were compiling fine
with gcc but clang doesnt support nested functions hence configure tests for
cogl started to fail, but it was a test error not compiler error
which was undetected thus far

Backport a fix from upstream to help clang compile clutter

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/parselogs: Updated whitelist
Cristina Agurida [Thu, 4 Feb 2016 12:13:46 +0000 (14:13 +0200)]
oeqa/parselogs: Updated whitelist

Moved an error to common, and whitelisted the BAR errors
and ati module. Also the uvesafb related errors will be
ignored in LSB images which do not have graphic interface.

Fix for [YOCTO #8387]
Fix for [YOCTO #8590]
Fix for [YOCTO #6820]
Fix for [YOCTO #7897]

Signed-off-by: Lucian Musat <george.l.musat at intel.com>
Signed-off-by: Cristina Agurida <cristina-danielax.agurida@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildstats.bbclass: Don't assume /proc/<pid>/io present
Juro Bystricky [Mon, 22 Feb 2016 19:35:25 +0000 (11:35 -0800)]
buildstats.bbclass: Don't assume /proc/<pid>/io present

It is not guaranteed Linux kernel was configured with process I/O
statistics enabled. If process I/O statistcs are not present, issue
a one time warning and do not attempt to read the non-existing stats
counters.

[YOCTO#9025]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosysvinit-inittab: Move start_getty scrip to base_bindir.
Philip Tricca [Sat, 20 Feb 2016 17:55:59 +0000 (17:55 +0000)]
sysvinit-inittab: Move start_getty scrip to base_bindir.

When this file is in ${sysconfdir}/init.d, SELinux labels it as a generic
init script (initrc_t). This causes problms at runtime because SELinux
doesn't let the login process execute generic init script. Moving this
helper script to base_bindir results in it being labeled as a generic
binary (bin_t). Nearly every SELinux domain is allowed to execute
generic binaries and the login process is one of them.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/prservice: Added new TC: check pr-server starts and stop correctly...
Francisco Pedraza [Fri, 19 Feb 2016 22:05:42 +0000 (16:05 -0600)]
oeqa/selftest/prservice: Added new TC: check pr-server starts and stop correctly on localhost.

This test case validates if prservice start and stop properly the server.
Using bitbake commands also validates the exit status.

[YOCTO #8258]

Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: Add support for lib/oeqa/selftest subdirectories
Costin Constantin [Mon, 22 Feb 2016 12:32:55 +0000 (14:32 +0200)]
oe-selftest: Add support for lib/oeqa/selftest subdirectories

This patch adds functionality to allow creating subdirectories inside
lib/oeqa/selftest for all layers present in BBLAYERS. Like this, test
cases can be grouped into organized directories.

Addresses [YOCTO #7865]

Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Upgrade to 1.1.14
Khem Raj [Mon, 22 Feb 2016 07:06:54 +0000 (07:06 +0000)]
musl: Upgrade to 1.1.14

There has been regressions seen in 1.1.13 hence
a quick 1.1.14 release is made

here is the list of all changes between 1.1.13 and 1.1.14

http://git.musl-libc.org/cgit/musl/log/?qt=range&q=v1.1.13..v1.1.14

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: update-recipe: create config fragment
Markus Lehtonen [Thu, 18 Feb 2016 14:18:55 +0000 (16:18 +0200)]
devtool: update-recipe: create config fragment

Create config fragment if the user makes modifications to kernel config.
User may change .config e.g. by directly editing it or by running the
'do_menuconfig' bitbake task. Devtool generates one monolithic fragment
by simply doing a diff between .config and .config.baseline files in the
source directory.  If either of these files is missing, the config
fragment is not gerenrated or updated. The output is a file,
'devtool-fragment.cfg' that gets added to SRC_URI in the recipe (as well
as copied into the 'oe-local-files' directory if that is present in the
source tree).

${S}/.config will be a symlink to ${B}/.config. We need to do this as
devtool is not able to access ${B} because ${B} is set in a .bbappend in
the workspace layer which is not parsed by devtool itself.

[YOCTO #8999]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodevtool: sync: update kernel config
Markus Lehtonen [Thu, 18 Feb 2016 14:18:54 +0000 (16:18 +0200)]
devtool: sync: update kernel config

Copy kernel config is copied to the source directory at a later phase in
_extract_source() so that it gets copied when devtool sync is done, too.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogit: fix installed-vs-shipped QA Issue
Hongxu Jia [Fri, 19 Feb 2016 05:54:44 +0000 (00:54 -0500)]
git: fix installed-vs-shipped QA Issue

Since commit set default libexecdir to $prefix/libexec
...
commit f35b2e29d9bfa817e64b83df11ebbbfe0f4e8e5c
Author: Ross Burton <ross.burton@intel.com>
Date:   Tue Apr 30 20:35:54 2013 +0100

    bitbake: set default libexecdir to $prefix/libexec
...

It casued '${D}${libdir}' does not exist, and the following
move operation incorrect which triggered QA Issue:
...
ERROR: git-2.7.0-r0 do_package: QA Issue: git: Files/directories were installed but not shipped in any package:
  /usr/lib64
  /usr/lib64/site_perl
  /usr/lib64/site_perl/5.22.1
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobtrfs-tools: fix symlink creation multiple times
Hongxu Jia [Fri, 19 Feb 2016 05:54:43 +0000 (00:54 -0500)]
btrfs-tools: fix symlink creation multiple times

The rule to create symlink in Makefile caused parallel issue:
$ make -j 40 DESTDIR=/image install BUILD_VERBOSE=1
...
  1     [LN]     libbtrfs.so.0
  2     [LN]     libbtrfs.so
  3 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0
  4 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0
  5 ln -s -f libbtrfs.so.0.1 libbtrfs.so
  6 ln -s -f libbtrfs.so.0.1 libbtrfs.so
...

It failed occasionally:
...
|symlinkat: couldn't stat 'git/libbtrfs.so' even though symlink
creation succeeded (No such file or directory).
|ln: failed to create symbolic link 'libbtrfs.so': No such file or directory
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIR
Hongxu Jia [Fri, 19 Feb 2016 05:54:41 +0000 (00:54 -0500)]
bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIR

This issue was triggered by buildpaths QA Warning.
...
|gettext-0.19.6: File work/core2-64-poky-linux/gettext/0.19.6-r0/
packages-split/gettext/usr/bin/msgcmp in package contained
reference to tmpdir
...

Previously, variable BISON_LOCALEDIR was assigned only by the
output of 'bison --print-localedir' which provided by native bison
that has buildpaths in it.

For target compile, we add option --with-bisonlocaledir to set
BISON_LOCALEDIR with "/usr/share/locale" to fix the QA issue.

The variable BISON_LOCALEDIR is used for internationalization of
the bison parser’s runtime output. Here is the introduction:
http://www.gnu.org/software/bison/manual/html_node/Internationalization.html

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: use relative path for configure script
Hongxu Jia [Fri, 19 Feb 2016 05:54:40 +0000 (00:54 -0500)]
gcc: use relative path for configure script

The absolute path (/path/to/configure) caused __FILE__ to be
an absolute path.

If 'assert' invoked, it uses __FILE__, and build path would be in elf files.
In assert.h
...
.# define assert(expr)                                                   \
  ((expr)                                                               \
   ? __ASSERT_VOID_CAST (0)                                             \
   : __assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION))
...

Which triggered buildpaths QA issue:
...
| libgcc-5.3.0: File work/core2-64-poky-linux/libgcc/5.3.0-r0/packages-split/
libgcc-dev/usr/lib64/x86_64-poky-linux/5.3.0/libgcc.a in package contained
reference to tmpdir [buildpaths]
...

Use relative path to run configure can fix the problem.

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodepmodwrapper-cross: nopackages to avoid QA [buildpaths] issue
Hongxu Jia [Fri, 19 Feb 2016 05:54:39 +0000 (00:54 -0500)]
depmodwrapper-cross: nopackages to avoid QA [buildpaths] issue

This depmodwrapper is a wrapper script to support install-corss,
which is invoked at do_rootfs time. So the depmodwrapper-cross
should not generate packages. The fix could avoids QA buildpaths
issue.

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>