scm/bb/tizen-distro.git
10 years agocore-image-testmaster.bb: add bzip2 to image
Corneliu Stoicescu [Fri, 6 Jun 2014 19:14:34 +0000 (22:14 +0300)]
core-image-testmaster.bb: add bzip2 to image

YB: #6375

Some test image fstypes require bzip2 decompression.

(From OE-Core rev: 7b81fce3a80f7a1b94015a1da95d2349dac577ab)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomasterimage.py: enable dynamical determination of rootfs type
Corneliu Stoicescu [Fri, 6 Jun 2014 19:14:33 +0000 (22:14 +0300)]
masterimage.py: enable dynamical determination of rootfs type

YB: #6375

Adding support for get_image_fstype() in the MasterImageHardwareTarget and GummibootTarget classes.

(From OE-Core rev: 06ed50a2b8c311e56ac9f1c6f2145bc020d5d500)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotargetcontrol.py: make possible dynamical determination of rootfs type
Corneliu Stoicescu [Fri, 6 Jun 2014 19:14:32 +0000 (22:14 +0300)]
targetcontrol.py: make possible dynamical determination of rootfs type

YB: #6375

Added a new method get_image_fstype() that autodetermines what fstype to use for the rootfs file.
This method uses a new list variable 'supported_image_fstypes' that contains image fstypes supported by the target controller.

This method is also a classmethod which means outside scripts can get the image fstype.

(From OE-Core rev: 39d5aa5c9f2916700f81d15adc220a30c6b120d1)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokexec-tools: Refine kdump device_tree sort
Chong Lu [Tue, 10 Jun 2014 10:13:39 +0000 (18:13 +0800)]
kexec-tools: Refine kdump device_tree sort

The commit b02d735bf was to rearrange the device-tree entries, and
assumed that these entries are sorted in the ascending order. but
acctually when I was validating kexec and kdump, the order of
serial node still is changed. So the patch is to sort these entries
by the directory name in ascending order.

(From OE-Core rev: c8722b510f779cd20757477a7f7a7a2a35b9a9c5)

Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: Determine the root home directory dynamically
Chong Lu [Tue, 10 Jun 2014 01:35:12 +0000 (09:35 +0800)]
oprofile: Determine the root home directory dynamically

This commit detects the root home directory dynamically with changes to
the opcontrol script and the oprofile gui app source.

The commit replaces an earlier fix that detected and adjusted a
'non-standard' root home directory at build time.  The advantage of this
patch is that the oprofile tools are adjusted to the current run-time
path to ~root, not the build time path.

(From OE-Core rev: 4fa57b42aa7ec3f77606ab3d3b5814f638c859d5)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: split packging
Henning Heinold [Mon, 9 Jun 2014 21:21:29 +0000 (23:21 +0200)]
perf: split packging

* some fundamental perf commands can work
  without the dependency on perl, python or bash
  make them separate packages and RSUGGEST them

* bump PR

The patch was sponsored by sysmocom

(From OE-Core rev: 6d1c0cde05dbab5ca84b1bbd8abeecf8df49e37b)

Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperf: fix broken shell comparsion in do_install
Henning Heinold [Mon, 9 Jun 2014 21:21:28 +0000 (23:21 +0200)]
perf: fix broken shell comparsion in do_install

The patch was sponsored by sysmocom

(From OE-Core rev: 17bf25adad715754de589d2ae54f97c07f5dafde)

Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: Do not pass CFLAGS to gcc while building
Chong Lu [Thu, 12 Jun 2014 02:23:40 +0000 (10:23 +0800)]
nfs-utils: Do not pass CFLAGS to gcc while building

Do not pass CFLAGS/LDFLAGS to gcc while building, The needed flags has
been passed by xxx_CFLAGS=$(CFLAGS_FOR_BUILD).

(From OE-Core rev: e4b01d651cf94185cfb285a7b64292b26b74c6bb)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosed: enable ptest support
Chong Lu [Mon, 9 Jun 2014 07:45:52 +0000 (15:45 +0800)]
sed: enable ptest support

Install sed test suite and run it as ptest.

(From OE-Core rev: de8cc3192eefafa639a9f34fcc35799be3286191)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agov4 cups: Shouldn't link against libgcrypt without using gcrypt functions
Armin Kuster [Tue, 10 Jun 2014 01:11:55 +0000 (18:11 -0700)]
v4 cups: Shouldn't link against libgcrypt without using gcrypt functions

Backported from http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch

This addresses the cryto dependency seen during build.

(From OE-Core rev: e5f9166302baad837244e5a93bedb2797ab17e57)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotexinfo.bbclass: native/cross uses dummy texinfo; target uses host's Texinfo.
Max Eliaser [Tue, 10 Jun 2014 20:24:16 +0000 (13:24 -0700)]
texinfo.bbclass: native/cross uses dummy texinfo; target uses host's Texinfo.

To unpack that to more than a single line: -native and -cross recipes are made
to use the dummy Texinfo utilities provided by texinfo-dummy-native if they
invoke those utilities at build time. The target-architecture (cross-compiled)
recipes still use the genuine Texinfo utilites. Right now, they still use
the host system's Texinfo utilities, but could be made to use the
texinfo-native recipe we already ship with some config file changes.

(From OE-Core rev: 160087f754eabf5da90fb51997e19d2e585aac4a)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotexinfo-dummy-native: Create recipe w/ scripts to stand in for Texinfo utils.
Max Eliaser [Tue, 10 Jun 2014 20:24:15 +0000 (13:24 -0700)]
texinfo-dummy-native: Create recipe w/ scripts to stand in for Texinfo utils.

More work toward eliminating the dependency on the host system's Texinfo--
Python scripts that understand the same command-line options as the Texinfo
utilities, and create blank output files if appropriate, but don't actually
do any of the work done by those utilities.

This will be necessary to avoid circular dependencies when we start explicitly
tracking dependencies on texinfo-native; i.e. texinfo-native ->
autoconf-native -> texinfo-native. If we have all native recipes that inherit
texinfo.bbclass depend on texinfo-dummy-native instead of texinfo-native, the
cycle is broken.

It may also provide a performance gain by skipping the actual work of
formatting and generating documentation files.

(From OE-Core rev: 0d8d5a2d44988d32a5c8b995202a12ac106ba93c)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotexinfo: Use texinfo-replacement-native as an alias for texinfo-native.
Max Eliaser [Tue, 10 Jun 2014 20:24:14 +0000 (13:24 -0700)]
texinfo: Use texinfo-replacement-native as an alias for texinfo-native.

If texinfo-native is added to ASSUME_PROVIDED, this will be needed for two
reasons. First, a world build will still build the native texinfo recipe, so
it will still get test coverage and will not rot. Second, when the target
architecture texinfo recipe is built, the native recipe must be built first
so its makedoc binary can be extracted, ASSUME_PROVIDED or no.

(From OE-Core rev: af5cd3ad123f45170d1ba06a8f5c9ee4ce5c082e)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: change the logic in _uninstall_unneeded
Chen Qi [Wed, 11 Jun 2014 09:29:27 +0000 (17:29 +0800)]
rootfs.py: change the logic in _uninstall_unneeded

Previously, if we have 'package-management' and 'read-only-rootfs'
both in IMAGE_FEATRUES, we would meet the following error at system
start-up.

rm: can't remove '/etc/rcS.d/S99run-postinsts': Read-only file system

However, what's really expected is that when there's no postinstall
script at system start-up, the /etc/rcS.d/S99run-postinsts should not
even be there.

Whether or not to remove the init script symlinks to run-postinsts should
not depend on whether we have 'package-management' in IMAGE_FEATURES; rather,
it should only depend on whether we have any postinstall script left to run
at system start-up.

This patch changes the _uninstall_unneeded function based on the logic
stated above.

[YOCTO #6257]

(From OE-Core rev: 6c2f7ecee754ff3f29fdde17c0363f5d138057ff)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: build control functionality
Alexandru DAMIAN [Thu, 12 Jun 2014 11:57:22 +0000 (12:57 +0100)]
bitbake: toaster: build control functionality

We add the build control functionality to toaster.

* The bldcontrol application gains bbcontroller classes
that know how to manage a localhost build environment.

* The toaster UI now detects it is running under build
environment controller, and update the build controller
database and will shut down the bitbake server once
the build is complete.

* The toaster script can now run in standalone mode,
launching the build controller and the web interface instead
of just monitoring the build, as in the interactive mode.

* A fixture with the default build controller entry for
localhost is provided.

[YOCTO #5490]
[YOCTO #5491]
[YOCTO #5492]
[YOCTO #5493]
[YOCTO #5494]
[YOCTO #5537]

(Bitbake rev: 10988bd77c8c7cefad3b88744bc5d8a7e3c1f4cf)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: fix built ETA calculation
Alexandru DAMIAN [Wed, 11 Jun 2014 14:33:17 +0000 (15:33 +0100)]
bitbake: toastergui: fix built ETA calculation

We fix the calculation showing the estimated time
to build completion.

(Bitbake rev: dc1daae51ef5201475b5c1a69d966ae57b66dcb6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: xmlrpc: add support for token reusing
Alexandru DAMIAN [Wed, 11 Jun 2014 09:19:03 +0000 (10:19 +0100)]
bitbake: xmlrpc: add support for token reusing

We add support to specify a connection token in the command line
and in the environment variable BBTOKEN.

When a client registers to a bitbake server, that client
will have exclusive access to the server. The client is identified
by a server-supplied token. If a client terminates, we cannot
reconnect to the server as the token is lost.

This patch adds the capability to specify the connection token
in the command line for xmlrpc clients. This allows us
to have bitbake work as an already-authenticated
client with the server and resume sending commands to a server.

(Bitbake rev: db5390940c0afbcdc9fbcf1225761968ae51d4a7)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add function to get the database url
Alexandru DAMIAN [Wed, 11 Jun 2014 08:34:55 +0000 (09:34 +0100)]
bitbake: toaster: add function to get the database url

We add a function that returns the DATABASE_URL
for the current 'default' database settings. This
is useful to be able to start other toaster instances
with the same database settigns as the currently running
instance.

(Bitbake rev: 272a4bba0804bb6b5e0d498d3453321b5ed1dc76)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: create models for bldcontrol and enable it
Alexandru DAMIAN [Mon, 9 Jun 2014 11:55:53 +0000 (12:55 +0100)]
bitbake: toaster: create models for bldcontrol and enable it

We create the model classes that store information
about triggering builds, and the available build
environments.

We add a fixture with a default build environment
for build control, using a "build/" directory under
the poky checkout directory.

We enable the bldcontrol in toaster starting script
and in the toaster settings as to allow the actual database
to be kept in sync with the source code.

(Bitbake rev: d4bfe9059f765f11244b97e324c0131f32f8e400)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: initial bldcontrol application
Alexandru DAMIAN [Mon, 9 Jun 2014 11:05:26 +0000 (12:05 +0100)]
bitbake: toaster: initial bldcontrol application

The build features of Toaster will be contained into
a separate application, as to modularize the Toaster
project and provide multiple options for deployment.

This patch adds the application as a barebone Django
application in the Toaster project.

(Bitbake rev: 08556b79b7b2af08aaeedf8733b1b8996f387c4e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bb/utils: fix contains_any()
Ross Burton [Wed, 11 Jun 2014 10:04:44 +0000 (11:04 +0100)]
bitbake: bb/utils: fix contains_any()

"set1 in set2" doesn't do what you'd expect, and if it did do a subset test
that's not the logic required by contains_any().

Instead get the intersection of checkvalues and val and check if the resulting
set is empty or not (by evaluating it in a boolean context), which tells us if
there are any elements in common.

Based on a patch by Valentin Popa <valentin.popa@intel.com>.

(Bitbake rev: 2e742c03e8dfdfa67899e7f5d579ed14bd87e139)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bb/tests/data.py: add tests for contains() and contains_any()
Ross Burton [Wed, 11 Jun 2014 10:04:43 +0000 (11:04 +0100)]
bitbake: bb/tests/data.py: add tests for contains() and contains_any()

contains_any is buggy so write a test case to demonstrate this.

(Bitbake rev: 25d10c349aab77bf99745c0a90dd8f9b90abccac)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cache.py: print debug info when EXCLUDE_FROM_WORLD
Robert Yang [Fri, 6 Jun 2014 14:35:06 +0000 (10:35 -0400)]
bitbake: cache.py: print debug info when EXCLUDE_FROM_WORLD

This gives us an easy way to find out which recipes have been excluded
from world when there are many layers.

(Bitbake rev: cf33d4bfc53ae8dc6353fa295e1acd789d4fc2d2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: Fix cpio 32 bit overflow issues on 64 bit inode filesystems
Richard Purdie [Tue, 10 Jun 2014 16:32:16 +0000 (17:32 +0100)]
rpm: Fix cpio 32 bit overflow issues on 64 bit inode filesystems

When building on XFS filesystems, the resulting rpms can be corrupted
with the same inode number being used for multiple hardlinked files.
There are two fixes, one to stop rpm crashing when accessing a broken
binary rpm, the other to stop generating them in the first places. Full
descriptions in the patch headers.

(From OE-Core rev: d20d3476157b7c949b0077cad0ab1e8716d6162a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add Project class models to orm
Alexandru DAMIAN [Mon, 9 Jun 2014 10:36:01 +0000 (11:36 +0100)]
bitbake: toaster: add Project class models to orm

This patch adds the Project class models to the
toaster GUI data model. There is no specified use,
and the link in the Build class is optional.

(Bitbake rev: 38f77a43d16e202d1f40632b27cb70dd20d02a5e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: comment out bldcontrol migration command
Alexandru DAMIAN [Fri, 6 Jun 2014 14:03:32 +0000 (15:03 +0100)]
bitbake: toaster: comment out bldcontrol migration command

This fixes toaster startup failing after the preparatory patches
for bldcontrol application have been merged.

I slipped a bldcontrol-specific line into the toaster startup
script and this prevents toaster from starting. We comment
out this line until the bldcontrol application have been merged.

(Bitbake rev: d095eec6fc958d0aeb514cdc206734617fd7c930)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "fontconfig: enable 64 bit file support"
Ross Burton [Mon, 9 Jun 2014 15:58:58 +0000 (16:58 +0100)]
Revert "fontconfig: enable 64 bit file support"

Fontconfig doesn't need to be passed large file flags through CPPFLAGS because
it's configure script uses AC_SYS_LARGEFILE.

This reverts commit 5a49a24d35794fcf9e3895469a67db992a52305e.

(From OE-Core rev: 84a4326473ce448c9bdd9a8b79383c319f04d339)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d: Allow to use different initscripts provider
Martin Jansa [Fri, 6 Jun 2014 16:57:34 +0000 (18:57 +0200)]
update-rc.d: Allow to use different initscripts provider

* until now all recipes were respecting VIRTUAL-RUNTIME_initscripts
  variable but commit bba835fed88c3bd5bb5bd58962034aef57c408d8
  hardcoded "initscripts" runtime dependency

(From OE-Core rev: 8b4256758ba55dcabe80dd1bf3884cdf1cc39909)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: unset CFLAGS for testlk build
Chong Lu [Wed, 4 Jun 2014 05:35:41 +0000 (13:35 +0800)]
nfs-utils: unset CFLAGS for testlk build

testlk is built with host gcc at do_compile stage, which leads to unrecognized
some flags for special architecture. So unset CFLAGS for testlk to make sure
it passed.

(From OE-Core rev: 2461336b9432cf8379bda19d425ba00e542fbab7)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-core/init-install.sh: do not overwrite /etc/mtab if the link already exist
Shan Hai [Thu, 5 Jun 2014 02:18:49 +0000 (10:18 +0800)]
oe-core/init-install.sh: do not overwrite /etc/mtab if the link already exist

Overwriting of /etc/mtab would fail as below if the /etc/mtab link already
exist during installation phase, this patch fix this problem by checking
existance of the link before try to overwrite it.

Error message during installation if the /etc/mtab exists:
"cat: /proc/mounts: input file is output file

(From OE-Core rev: 26a5121e966f465386da4ead40cc558fd877ce2b)

Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: Add PTEST regression testing to oprofile
Chong Lu [Fri, 6 Jun 2014 01:25:10 +0000 (09:25 +0800)]
oprofile: Add PTEST regression testing to oprofile

The commit changes the oe-core oprofile recipe by adding the PTEST
interface, implementing do_compile_ptest() and do_install_ptest().

The install routine adds several files that only the regression tests
require. Also, a patch is necessary to inhibit executing the tests on
the build host and to point to the correct target directory for the
libutil++ test 'file-manip-tests'.

That test requires the recipe to set SRCDIR in the build environment
instead of determining the value from build-time host paths as for a
self-hosted build.

(From OE-Core rev: ac5a9835075a04726a64dbd669b9c89270b23865)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: remove dgawk and pgawk packages, merge gawk-common into gawk
Ross Burton [Fri, 6 Jun 2014 15:48:01 +0000 (16:48 +0100)]
gawk: remove dgawk and pgawk packages, merge gawk-common into gawk

The dgawk and pgawk commands no longer exist in gawk 4.1 onwards, replaced by
options to gawk.

Remove the dgawk and pgawk binary packages, and merge gawk-common into gawk as
it is needless splitting.

(From OE-Core rev: 20f749de439aa962f32a3f4f5977fd44c9e76e33)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: fix module paths
Ross Burton [Fri, 6 Jun 2014 15:48:00 +0000 (16:48 +0100)]
gawk: fix module paths

(From OE-Core rev: 64b62f6a03fa6405f309d798880dbfe3a3c18f84)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: fix do_configure failed
Robert Yang [Fri, 6 Jun 2014 10:08:51 +0000 (06:08 -0400)]
libgcrypt: fix do_configure failed

Fixed:
rm: cannot remove `/path/libgcrypt-1.6.1/m4/*.m4': No such file or directory

We would meet this error if we stop the configure and run again.

(From OE-Core rev: 2d13380c6546bb41afa53227f1571bd2908ceca2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-gst: link python shared library to config directory
yanjun.zhu [Fri, 6 Jun 2014 07:19:47 +0000 (15:19 +0800)]
python-gst: link python shared library to config directory

python-gst needs python shared library in python config directory.

(From OE-Core rev: 7a3b7d70a0cc4cdef81bb63fdac7de8f1309d1fc)

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-font-common.inc: remove shell debug option
Kai Kang [Fri, 6 Jun 2014 05:45:20 +0000 (13:45 +0800)]
xorg-font-common.inc: remove shell debug option

'set -x' is added to package postinstall scripts. It causes trace
information are printed when image first time boots such as core-image-sato.

Remove it.

(From OE-Core rev: 38ac187881266e6349084ee983046e311fb293e9)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils/commands.py: add support for postconfig option
Corneliu Stoicescu [Thu, 5 Jun 2014 09:29:44 +0000 (12:29 +0300)]
oeqa/utils/commands.py: add support for postconfig option

Adding support for postconfig option to the bitbake() and related methods.

This enables us to use 'bitbake -R postconfig_file <command>'.

Usage: bitbake(cmd, postconfig="some confguration")

'postconfig_file' would contain what we add in 'postconfig'

Other methods affected: get_bb_env(), get_bb_var()

(From OE-Core rev: 4fe771940a8f59a0d5f1541978d6d9ff73b222f4)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: fix libexec of the old 3.1.5 version
Chen Qi [Fri, 6 Jun 2014 02:28:19 +0000 (10:28 +0800)]
gawk: fix libexec of the old 3.1.5 version

${libexec} doesn't necessarily equals to ${libdir}/${BPN}. So fix
this problem by using ${libdir}/${BPN} in FILES variable.

(From OE-Core rev: 6df0e8b99fda8ef40862f2e92d85bc3cd371615f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: workaround ICE failure on mips with '-O -g'
Hongxu Jia [Fri, 30 May 2014 02:20:19 +0000 (10:20 +0800)]
libgcrypt: workaround ICE failure on mips with '-O -g'

Hit a ICE and could reduce it to the following minimal example:

1. Only the size of array assigned with 2 caused the issue:
$ cat > mipgcc-test.c << END

int main (int argc, char **argv)
{
        char *pStrArry[ARRAY_SIZE_MAX] = {"hello"};
        int i = 0;

        while(pStrArry[i] && i<ARRAY_SIZE_MAX)
        {
                printf("%s\n", pStrArry[i]);
                i++;
        }

        return 0;
}

END

2. Only -O1 and -g on mips caused the issue:
$ mips-poky-linux-gcc -O1 -g -o mipgcc-test mipgcc-test.c
mipgcc-test.c: In function 'main':
mipgcc-test.c:18:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions

[YOCTO #6034]

3. The quick workround is trying to enlarge the size of array with larger
than 2.

4. File a bug to GNU, but it could not be reproduced on there environment.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643

(From OE-Core rev: 4af0c70c70809c8f03d7ba14745d79e3c6e35b2e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-xserver: disable DRI3 by default
Ross Burton [Mon, 9 Jun 2014 14:18:19 +0000 (15:18 +0100)]
xorg-xserver: disable DRI3 by default

Add a PACKAGECONFIG for DRI3 but don't enable it yet.

Based on a patch by Valentin Popa <valentin.popa@intel.com>.

[YOCTO #6402]

(From OE-Core rev: 898d60f1901745b861ecab91b3ceceb9a1cfc8b1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: upgrade to 10.1.3
Valentin Popa [Mon, 9 Jun 2014 14:18:18 +0000 (15:18 +0100)]
mesa: upgrade to 10.1.3

libdricore was removed and replaced with a megadriver with hardlinks from the
old driver names.

Add PACKAGECONFIG for DRI3 but disable by default as there are currently
regressions compared to DRI2.

License is unchanged.

(From OE-Core rev: 36c6909d4410e5ecb44800aafadd8593978e1b24)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: add build-dependency on libxml2-native
Ross Burton [Mon, 9 Jun 2014 14:18:17 +0000 (15:18 +0100)]
mesa: add build-dependency on libxml2-native

glapi/gen needs the libxml2 Python module, but this isn't listed as a build
dependency.

(From OE-Core rev: 12414a65bfa9222be0fe0ab7ced2a02e1e5ed2ed)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: fix paths to test binaries
Ross Burton [Mon, 9 Jun 2014 15:45:04 +0000 (16:45 +0100)]
glib-2.0: fix paths to test binaries

The tests are installed to $libexecdir not $libdir/glib-2.0.  By default these
are the same location but they can be changed independently.

(From OE-Core rev: 73d774fa7456842690af95206b77162d5f1bcb37)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdk-pixbuf: fix paths to test binaries
Ross Burton [Mon, 9 Jun 2014 15:45:03 +0000 (16:45 +0100)]
gdk-pixbuf: fix paths to test binaries

The tests are installed to $libexecdir not $libdir/gdk-pixbuf.  By default these
are the same location but they can be changed independently.

(From OE-Core rev: 56dd1a61f52cdf66fdb3e9510c70b02224475d4a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: fix ptests
Paul Eggleton [Mon, 9 Jun 2014 15:37:19 +0000 (16:37 +0100)]
openssl: fix ptests

Add some missing dependencies and fix the Makefile in order to get most
of the ptest tests working (specifically test_bn, test_verify, test_cms,
test_srp and test_heartbeat). test_verify still fails for unknown
reasons (perhaps some of the now expired certificates weren't meant to
have expired as far as the test is concerned?) but at least it has the
certificates to run now.

(From OE-Core rev: c679ec81c19dd2b5e366b713801785ce0ba5b49a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: upgrade to 1.0.1h
Paul Eggleton [Mon, 9 Jun 2014 09:36:34 +0000 (10:36 +0100)]
openssl: upgrade to 1.0.1h

Fixes the following security issues:

* CVE-2014-0224
* CVE-2014-0221
* CVE-2014-0195
* CVE-2014-3470

The patch for CVE-2010-5298, CVE-2014-0198 and a fix for building the
documentation are integrated upstream in this release and so were
dropped. Additionally, a patch from upstream was added in order to
fix a failure during do_compile_ptest_base.

A similar upgrade was also submitted by Yao Xinpan <yaoxp@cn.fujitsu.com>
and Lei Maohui <leimaohui@cn.fujitsu.com>.

(From OE-Core rev: a3e80de6d423c272a287bf3538196b48ac5ddec1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: show wildcard appends for bitbake-layers
Ash Charles [Thu, 5 Jun 2014 19:56:05 +0000 (12:56 -0700)]
bitbake: bitbake: show wildcard appends for bitbake-layers

The 'bitbake-layers show-appends' command can use the built-in
get_file_appends() method which correctly identifies bbappends that
include a '%' wildcard in their filename.

(Bitbake rev: 2732dbae67c1945b668c38cc4cc5678c4aafe3d6)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: fix django settings environment value
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:18 +0000 (16:26 +0100)]
bitbake: toasterui: fix django settings environment value

Previously, the buildinfohelper only set a django settings module
environment variable if none were set.

This may lead to problems when the starting the toasterui
from an already existing Django environment.

As such, we always override the variable to provide the
correct name for the local Django settings module.

(Bitbake rev: 8271e61a2fbddd3fc49556829675478d7505d58f)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add project related models
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:17 +0000 (16:26 +0100)]
bitbake: toaster: add project related models

We introduce the notion of a project in Toaster as the item
that holds the specification for triggering a build: the set
of layers used, the set of configuration variable values, and
the set of targets to be build.

Builds triggered through Toaster will be associated with a
Project, and they will be configured based on the project
settings at the moment when the build is ordered.

(Bitbake rev: 0bf0251ae05442ae260c6099b389bf765c4fef26)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update toaster to run in managed mode
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:16 +0000 (16:26 +0100)]
bitbake: toaster: update toaster to run in managed mode

We disable bitbake self start to prevent race condition.

ToasterUI will shutdown the server when the build is done
if running in managed mode.

We fix usage of kill server flag in the bitbake binary.

(Bitbake rev: 30159dbda3a40fa596302f91c705cb5f148c97a9)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: startup script standalone mode
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:15 +0000 (16:26 +0100)]
bitbake: toaster: startup script standalone mode

The toaster starter script was designed to be sourced in
a build environment and set up the build recording environment
to be used in an interactive mode.

For the standalone web server mode, we modify the toaster
script to be run directly from the checked-out sources,
without a build environment set up, and run the web server
alone. In the standalone mode, the build environemnts and
all build activities are controled through the web interface.

(Bitbake rev: c1db4ccf27bedcbab2f03e7539fdb11b042c4fb9)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: startup script noweb mode
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:14 +0000 (16:26 +0100)]
bitbake: toaster: startup script noweb mode

We add an option to the startup script, named "noweb" that
will start toaster without the embedded web server.

This is useful to start the system for build-only environments,
where the web server code is running on a different machine.

(Bitbake rev: c39838201301b9732581288a93783400bebe6591)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: read database settings from the environment
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:13 +0000 (16:26 +0100)]
bitbake: toaster: read database settings from the environment

We add the capability to read the database settings for
Toaster from the environment. The DATABASE_URL is intepreted
and used to override the default settings.

This capability is essential for easy deployment of Toaster
in a managed hosted environment, and for creating
build environments with custom database settings.

(Bitbake rev: d16d19dafb83448fc214fce4fbdc2bcbf4bf9ce3)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: uievent: retry on handler registration failure
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:12 +0000 (16:26 +0100)]
bitbake: uievent: retry on handler registration failure

The registration of a remote UI event handler may fail
if the server cooker is currently in some certain states.
This may happen, for example, when a remote UI is started
very fast after the bitbake server is started, and the
server hadn't time to finish initial configuration parsing.

Rather than fail outright, we have the remote UI event retry
registration for five time at one-second intervals,
in the hope it will succeed.

(Bitbake rev: c3d520c92ae4ae80d31926a416456df510654b6a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: xmlrpc: client - remove fatal errors
Alexandru DAMIAN [Wed, 4 Jun 2014 14:47:02 +0000 (15:47 +0100)]
bitbake: xmlrpc: client - remove fatal errors

When we use the XMLRPC client API to connect to a bitbake server,
we want to receive errors from the API instead of having the
API exiting without warning.

Thus the "bb.fatal" calls have been replaced with "bb.warn" calls,
and we re-raise the original exception for handling by the
original caller.

The bitbake starting script has been modified to properly test
for failures in calling the client API and handle them.

Additional error handling added in the client, as to prevent
fatal crashes.

(Bitbake rev: eb63f08c33644f64752aaae2146a000956ce894a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: move configuration reading code
Alexandru DAMIAN [Tue, 3 Jun 2014 15:26:10 +0000 (16:26 +0100)]
bitbake: bitbake: move configuration reading code

The configuration reading code should live in the
main bitbake entry point, and the server modules should
be supplied with correct configuration instead of attempting
to parse from configuration files.

This patch moves the endpoint address reading from XMLRPC
to the bitbake main script.

(Bitbake rev: ac5753274ff932e1d6f073ab4dab7bd6fe5355a1)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: check if BBLAYERS is valid before use
João Henrique Ferreira de Freitas [Wed, 4 Jun 2014 01:28:03 +0000 (22:28 -0300)]
wic: check if BBLAYERS is valid before use

If wic is running as raw mode, it's better to check if BBLAYERS
is valid before inspect it.

No functional changes.

(From OE-Core rev: a3ee9cc7aebaecfa2223552a2c1865a9337de664)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: default plugin type directory should be added only once
João Henrique Ferreira de Freitas [Wed, 4 Jun 2014 01:28:02 +0000 (22:28 -0300)]
wic: default plugin type directory should be added only once

Fix 'for' statement identention so plugin type directory will be
added only once in layers_dirs list.

No functional changes.

(From OE-Core rev: ba88329115a3d6f964febcbf554af8391e1b84a1)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: upgrade to 3.2.15
Valentin Popa [Thu, 5 Jun 2014 13:08:29 +0000 (16:08 +0300)]
gnutls: upgrade to 3.2.15

(From OE-Core rev: f82523e8afd1fc9b86ccabff01dbb781bac9b6f5)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: put udhcpc in background
Saul Wold [Fri, 6 Jun 2014 00:09:03 +0000 (17:09 -0700)]
busybox: put udhcpc in background

If the interface is slow to come up udhcpc will continue in the background

[YOCTO #6339]

(From OE-Core rev: 45af0ba08dbc676be41fd29e9877fe820b531f7c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d/useradd: Add additional dependecies
Saul Wold [Fri, 6 Jun 2014 00:09:02 +0000 (17:09 -0700)]
update-rc.d/useradd: Add additional dependecies

These dependcies are needed to ensure that thier packages are created
correctly since these classes have runtime dependiences in their packages
but they are not actually created yet at rootfs time.

[YOCTO #6072]

(From OE-Core rev: bba835fed88c3bd5bb5bd58962034aef57c408d8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-2.7.py: Add importlib
Matt Fleming [Fri, 6 Jun 2014 08:52:29 +0000 (09:52 +0100)]
generate-manifest-2.7.py: Add importlib

importlib isn't currently included in any of the python packages, so
create a new one for recipes that require it.

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
(From OE-Core rev: b3dae96d9fdb4e26101f6f7edc6e65989375a5a2)

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautogen-native: upgrade from 2.18.2 to 2.18.3
Chen Qi [Fri, 6 Jun 2014 08:22:28 +0000 (16:22 +0800)]
autogen-native: upgrade from 2.18.2 to 2.18.3

Upgrade autogen-native from 2.18.2 to 2.18.3.
A patch is made to fix the compilation error.

(From OE-Core rev: 84052c30c7e4b845543c9704945170a55734343e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofile: upgrade from 5.17 to 5.18
Chen Qi [Fri, 6 Jun 2014 08:22:27 +0000 (16:22 +0800)]
file: upgrade from 5.17 to 5.18

Upgrade file from 5.17 to 5.18.

(From OE-Core rev: 6167e415e63366c606c8366abda7edfa21d68b58)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-2.00: remove our 40_custom
Roy Li [Fri, 6 Jun 2014 08:26:26 +0000 (16:26 +0800)]
grub-2.00: remove our 40_custom

We have this in recipes-bsp/grub/grub/40_custom:

[snip]
menuentry "Linux" {
    set root=(hd0,1)
    linux /vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet
}
[snip]

These lines are only for initrdscripts/files/init-install.sh, the side
effect is that it would make the target's grub-mkconfig doesn't work
well since the 40_custom will be installed to /etc/grub.d/40_custom, the
grub-mkconfig will run the 40_custom, and there will always be a
'menuentry "Linux"' menu in grub.cfg no matter it is valid or not, we
can do this in init-install.sh rather than grub to fix the problem,
which is also much simpler.

We have done the related work in init-install.sh, now we need remove our own
40_custom, and use grub's own 40_custom which is the right one.

(From OE-Core rev: e5f6dc48930c8ff35df5cff3550ec2ee86641faf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-2.00: remove our 40_custom
Roy Li [Fri, 6 Jun 2014 08:26:25 +0000 (16:26 +0800)]
grub-2.00: remove our 40_custom

We have this in recipes-bsp/grub/grub/40_custom:

[snip]
menuentry "Linux" {
    set root=(hd0,1)
    linux /vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet
}
[snip]

These lines are only for initrdscripts/files/init-install.sh, the side
effect is that it would make the target's grub-mkconfig doesn't work
well since the 40_custom will be installed to /etc/grub.d/40_custom, the
grub-mkconfig will run the 40_custom, and there will always be a
'menuentry "Linux"' menu in grub.cfg no matter it is valid or not, we
can do this in init-install.sh rather than grub to fix the problem,
which is also much simpler.

We have done the related work in init-install.sh, now we need remove our own
40_custom, and use grub's own 40_custom which is the right one.

(From OE-Core rev: 4fad24fef5552bd0e4a5ea0982573ba8e4523570)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontconfig: enable 64 bit file support
Saul Wold [Fri, 6 Jun 2014 00:09:05 +0000 (17:09 -0700)]
fontconfig: enable 64 bit file support

When running 32bit code on a large filessytem with 64bit inodes, the
fontcache was not being created correctly because an EOVERFLOW was being
returned from the fstat when reading the 64 inode on a 32bit system.

The fontcache is created at rootfs time on the host system via qemu.

[YOCTO #6338]

(From OE-Core rev: 9f363f9e2a56d847efc37dfba38764ae393fbfd6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofreetype: enable 64 bit file support
Saul Wold [Fri, 6 Jun 2014 00:09:04 +0000 (17:09 -0700)]
freetype: enable 64 bit file support

When running 32bit code on a large filessytem with 64bit inodes, the
fontcache was not being created correctly because an EOVERFLOW was being
returned from the fstat when reading the 64 inode on a 32bit system.

The fontcache is created at rootfs time on the host system via qemu.

[YOCTO #6338]

(From OE-Core rev: 65121c8ab37907938b1891b5ee8fb44fb4f76d8f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautoconf: don't disable the autoheader warnings
Ross Burton [Wed, 28 May 2014 11:56:26 +0000 (12:56 +0100)]
autoconf: don't disable the autoheader warnings

The usual autoheader warning is due to AC_DEFINE variables not having a
description.  This results in no variable being defined in config.h, which leads
to code behaving as if the test failed when it actually succeeded.

This patch was introduced to OpenEmbedded back in 2004:

http://git.openembedded.org/openembedded/commit/?id=5eab06d132cb2895fd579f5cedffbb54c27794f8

There is no rationale for the patch so I suspect this is due to the warnings
being fatal and the submitter not understanding that the problem is more than
cosmetic.

(From OE-Core rev: de5fb9d7f60763082327ddeca71842c00a2fa23e)

(From OE-Core rev: dd9c3d7bc946ff44e0ca90f4e345711d6ad21728)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml2: fix python packaging for nativesdk
Paul Eggleton [Thu, 5 Jun 2014 09:46:17 +0000 (10:46 +0100)]
libxml2: fix python packaging for nativesdk

We enable the python module in nativesdk-libxml2, but the python binary
used is in the native sysroot and thus you get the module installed in
the wrong path. Even with that fixed the python files are still
unpackaged, so create an ${PN}-python package and add them to it. (This
does not affect the libxml target build at all since python is disabled
for that.)

(From OE-Core rev: e3d06aa104065748367e1479138f824da5d9951f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibarchive: avoid dependency on e2fsprogs
Paul Eggleton [Thu, 5 Jun 2014 09:46:16 +0000 (10:46 +0100)]
libarchive: avoid dependency on e2fsprogs

libarchive's configure script looks for ext2fs/ext2_fs.h in order to use
some defines for file attributes support if present (but doesn't link to
any additional libraries.) There is no configure option to disable this,
and if e2fsprogs is rebuilding between do_configure and do_compile you
can currently get a failure. Because it doesn't need anything else from
e2fsprogs, and e2fsprogs isn't currently buildable for nativesdk anyway,
copy the headers in from e2fsprogs-native which we're likely to have
built already (and add it to DEPENDS just to be sure we have.)

Fixes [YOCTO #6268].

(From OE-Core rev: ad754e46ad477acfbe7543187a5c38bc333b8612)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoneard: fix for parallel build
Richard Purdie [Thu, 5 Jun 2014 15:28:41 +0000 (18:28 +0300)]
neard: fix for parallel build

for neard tools/snep-send object might cause a
parallel build failure,due to undetected
dependency on dbus.h header file.

Patch will be submitted upstream.

Fixes [YOCTO #6389].

(From OE-Core rev: ae55abd60ef217ad1a957102d80b06857ea8ebcd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: upgrade from 4.0.2 to 4.1.1
Chen Qi [Thu, 5 Jun 2014 05:29:47 +0000 (13:29 +0800)]
gawk: upgrade from 4.0.2 to 4.1.1

Upgrade gawk from 4.0.2 to 4.1.1.

(From OE-Core rev: 085b02d801d2b8bcbb217db2bf758fcf1bbb9f58)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-3.3.py: Add importlib
Matt Fleming [Wed, 4 Jun 2014 16:10:38 +0000 (17:10 +0100)]
generate-manifest-3.3.py: Add importlib

importlib isn't currently included in any of the python packages, so
create a new one for recipes that require it.

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
(From OE-Core rev: b17d2e1838f1f1c3310926a4f3eed375898c60f3)

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-rtsp-server: Add recipe to support gst-rtsp-server
Alex J Lennon [Wed, 4 Jun 2014 21:53:46 +0000 (22:53 +0100)]
gstreamer1.0-rtsp-server: Add recipe to support gst-rtsp-server

A Gstreamer library which provides an API to create an RTSP server (e.g. to stream RTP to VLC clients and similar).

Tested, works with GStreamer 1.2.3 + videotestsrc based pipeline on RPi.

(From OE-Core rev: 228736f2ffba6c2e06e72042a1fdf3fc0807f9b7)

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdded new test cases for bitbake modes (-e -n -p -r -R -c -k)
Lucian Musat [Wed, 4 Jun 2014 15:26:30 +0000 (18:26 +0300)]
Added new test cases for bitbake modes (-e -n -p -r -R -c -k)

(From OE-Core rev: eec4976e3b22efe73e823ad4876d78ad933113f4)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: update a uclibc specific patch to avoid segment fault error
Chen Qi [Wed, 4 Jun 2014 09:47:25 +0000 (17:47 +0800)]
systemd: update a uclibc specific patch to avoid segment fault error

The alloca() function allocates space in the stack frame of the caller,
so using alloca(new_size - old_size) would possibly crash the stack,
causing a segment fault error.

This patch fixes the above problem by avoiding using this function in
journal-file.c.

[YOCTO #6201]

(From OE-Core rev: c69816d2bf84369ba578bf9d92e01c9d91351a64)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: upgrade to 1.5.1
Hongxu Jia [Tue, 27 May 2014 08:28:51 +0000 (16:28 +0800)]
apr: upgrade to 1.5.1

The LICENSE has no change, except a newline added.

Fix do_compile failed:
| tools/gen_test_char > include/private/apr_escape_test_char.h
| /bin/sh: tools/gen_test_char: No such file or directory
| make[1]: *** [include/private/apr_escape_test_char.h] Error 127

The tools/gen_test_char was invoked at build time, and it didn't
work for the cross compiling, so we built it with $BUILD_CC.

To make sure there was no side effect on the change, not adding this
patch, I did the test:

1. Built the native tools/gen_test_char on x86-64 host, and invoke
   it on that host;

2. Built the target tools/gen_test_char which arch was arm, and invoke
   it on the qemuarm;

3. Comparing the results, they were total the same;
...
/* this file is automatically generated by gen_test_char, do not edit. "make include/private/apr_escape_test_char.h" to regenerate. */

static const unsigned char test_char_table[256] = {
    32,30,30,30,30,30,30,30,30,30,31,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,6,16,63,22,17,22,49,17,
    17,17,1,16,16,0,0,18,0,0,0,0,0,0,0,0,0,0,16,23,
    55,16,55,23,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,23,31,23,23,0,23,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,23,23,23,17,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30
};
...

Fix do_install failed:
| DEBUG: Executing shell function do_install
| NOTE: make -j 16 DESTDIR=tmp/work/x86_64-linux/apr-native/1.5.1-r0/image
 install
| tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh tools
| gcc  -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/
build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe
tools/gen_test_char.c -o tools/gen_test_char
| make[1]: Entering directory `tmp/work/x86_64-linux/apr-native/1.5.1-r0/
apr-1.5.1'
| tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh tools
| gcc  -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/
build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe
tools/gen_test_char.c -o tools/gen_test_char
| tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh
include/private
| tools/gen_test_char > include/private/apr_escape_test_char.h
| /bin/sh: tools/gen_test_char: Permission denied

Remove the 'tools' dir creation, it always existed. And it caused
gen_test_char unexpected rebuilt at do_install time.

(From OE-Core rev: b751144ba467b1358af2db8a4c30b8e0644cffa5)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr-util: upgrade to 1.5.3
Hongxu Jia [Tue, 27 May 2014 09:03:28 +0000 (17:03 +0800)]
apr-util: upgrade to 1.5.3

(From OE-Core rev: 512ec9fb677d920c813d084b85238f3be86f376f)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline-5.2: exclude autoheader
Ross Burton [Tue, 3 Jun 2014 20:07:10 +0000 (21:07 +0100)]
readline-5.2: exclude autoheader

readline hand-maintains config.h.in so exclude autoheader and re-use a patch
from readline-6.3 to fix a typo in variable names.

See oe-core 8c37d32d6133c6ad2b9142e7a42775e7a979b570 against readline-6.3 for
further rationale.

(From OE-Core rev: 8281133c6dcb2f31666d76e282d02bafe65e15d7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline-5.2: use upstream's aclocal.m4 as acinclude.m4
Ross Burton [Tue, 3 Jun 2014 20:07:09 +0000 (21:07 +0100)]
readline-5.2: use upstream's aclocal.m4 as acinclude.m4

Instead of shipping a fork of the upstream aclocal.m4, simply rename it to
acinclude.m4 at configure time.  We don't need the fork now that autoheader is
excluded.

(From OE-Core rev: 7b98575797c2e8822e6a26d95cb7e727d6efef4b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrep: upgrade 2.18 to 2.19
Chen Qi [Tue, 3 Jun 2014 01:41:20 +0000 (09:41 +0800)]
grep: upgrade 2.18 to 2.19

Upgrade grep from 2.18 to 2.19.

(From OE-Core rev: 61deb74c37236adef4a72a0930150752993cf89d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter: update to 1.18.2
Tim Orling [Tue, 3 Jun 2014 03:33:14 +0000 (20:33 -0700)]
clutter: update to 1.18.2

* Updated Ross's install-examples.patch to current
  ** AM_CPPFLAGS changes no longer needed
  ** example_DATA = ... redhand.png no longer needed
  ** minor line # changes

(From OE-Core rev: 7a15b1855021eec9dd292bb76c0543a886e9c2ad)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl: update to 1.18.0
Tim Orling [Tue, 3 Jun 2014 03:33:13 +0000 (20:33 -0700)]
cogl: update to 1.18.0

Announcement:
http://lists.freedesktop.org/archives/cogl/2014-March/001636.html

* License changed from LGPL to MIT
* kms-include-stddef.h-before-drm.h.patch fixed upstream

(From OE-Core rev: 0e3b38baddf6341465288323dfdc0440c47579d7)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: Use DEMOS_DATA_DIR.
Drew Moseley [Tue, 3 Jun 2014 00:23:38 +0000 (20:23 -0400)]
mesa-demos: Use DEMOS_DATA_DIR.

Modify mesa demo apps to respect the DEMOS_DATA_DIR
configuration parameter for locating data files.

(From OE-Core rev: a6a6cd089352157d35a8730e37153ce9df62ec01)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: Add missing data files.
Drew Moseley [Tue, 3 Jun 2014 00:23:37 +0000 (20:23 -0400)]
mesa-demos: Add missing data files.

Add some data files that are present in the git repository:
   http://cgit.freedesktop.org/mesa/demos/tree/?id=mesa-demos-8.1.0
but not in the release tarball
   ftp://ftp.freedesktop.org/pub/mesa/demos/8.1.0/mesa-demos-8.1.0.tar.bz2

(From OE-Core rev: 347b25be7136ec639926ed7b8cfa6da55f00f17c)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: Build with system data files
Drew Moseley [Tue, 3 Jun 2014 00:23:36 +0000 (20:23 -0400)]
mesa-demos: Build with system data files

Use the "--with-system-data-files" when configuring mesa-demos
so that the data files in /usr/share/mesa-demos/ will be properly
located at run time.

Copy some additional data files into the target filesystem.

(From OE-Core rev: d602264267f49bf72704b6c5ab1247b4027313bb)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpdate tzdata to 2014d
Armin Kuster [Sat, 31 May 2014 04:03:16 +0000 (21:03 -0700)]
Update tzdata to 2014d

moved build data to an inc file since it changes little.

(From OE-Core rev: d5a95dc8985a42bb7e50bc4e7dc6b012d711ff08)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpdate tzcode to 2014d for zic fix
Armin Kuster [Sat, 31 May 2014 04:03:15 +0000 (21:03 -0700)]
Update tzcode to 2014d for zic fix

Changes affecting code

    zic no longer generates files containing time stamps well before
    the Big Bang.
    This works around GNOME bug 730332
    <https://bugzilla.gnome.org/show_bug.cgi?id=730332>.
    (Thanks to Leonardo Chiquitto for reporting the bug, and to
    Arthur David Olson and James Cloos for suggesting improvements to
    the fix.)

Changes affecting documentation

    tz-link.htm now mentions GNOME.

(From OE-Core rev: 5ffc10fcea78d1ad54dbcf854e16b0e2f19116fc)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types: Fix ubi filesystem return codes
Richard Purdie [Tue, 3 Jun 2014 12:51:24 +0000 (12:51 +0000)]
image_types: Fix ubi filesystem return codes

If the first command returns an error, it will not cause the image generation
step to fail. Simply split up the statement into multiple lines to avoid
this issue, they no longer need to be one line expressions.

[YOCTO #6391]

(From OE-Core rev: f8125a1e9b6893a12355d55d4df584a8d97f0bff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoresolvconf: Update to 1.75
Saul Wold [Mon, 2 Jun 2014 16:25:11 +0000 (09:25 -0700)]
resolvconf: Update to 1.75

Archive compression changed to xz

(From OE-Core rev: 1a6ee66aa48e024fc5d112e940488157b74b5fe0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: Update to 1.7.3
Saul Wold [Mon, 2 Jun 2014 16:24:37 +0000 (09:24 -0700)]
cups: Update to 1.7.3

(From OE-Core rev: bb80dd49b5631772276772f9551ca2b72b9e72d4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Update to 3.68
Saul Wold [Mon, 2 Jun 2014 16:24:21 +0000 (09:24 -0700)]
man-pages: Update to 3.68

README updated with general text regarding installation location

(From OE-Core rev: dd4d713a9db3b6e1fe411cd581a068bf60d76873)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibffi: Update to 3.1
Saul Wold [Mon, 2 Jun 2014 16:23:48 +0000 (09:23 -0700)]
libffi: Update to 3.1

LICENSE file has updated year

(From OE-Core rev: 14b777301371280ec7ad6cf528ebb597c025c988)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcheck: Update to 0.9.13
Saul Wold [Mon, 2 Jun 2014 16:23:19 +0000 (09:23 -0700)]
libcheck: Update to 0.9.13

(From OE-Core rev: eb4452b214c5dd81dab5ee82d9d5048d29c33613)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: Update to 0.4.2
Saul Wold [Mon, 2 Jun 2014 16:22:50 +0000 (09:22 -0700)]
libxkbcommon: Update to 0.4.2

(From OE-Core rev: 541a0f1afd066d73e956c347190a65cca6f2504a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox264: Update SRCREV to match commit in upstream git repo
Khem Raj [Thu, 29 May 2014 05:22:54 +0000 (22:22 -0700)]
x264: Update SRCREV to match commit in upstream git repo

It seems that 585324fee380109acd9986388f857f413a60b896 is no
longer there in git and it has been rewritten to
ffc3ad4945da69f3caa2b40e4eed715a9a8d9526

Change-Id: I9ffe8bd9bcef0d2dc5e6f6d3a6e4317bada8f4be
(From OE-Core rev: b193c7f251542aa76cb5a4d6dcb71d15b27005eb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub_git: fix build warning->error
Trevor Woerner [Thu, 29 May 2014 04:05:54 +0000 (00:05 -0400)]
grub_git: fix build warning->error

This patch fixes a build warning which is promoted to an error via -Werror.

changes from v1:
 * put "Upstream-Status" in patch itself, not in OE patch header
 * fix commit wording

(From OE-Core rev: 4b41f4199d77144a629897173cff3d1efcfa85f9)

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4: add patch for GIF denial-of-service vulnerability
Paul Eggleton [Wed, 28 May 2014 10:49:30 +0000 (11:49 +0100)]
qt4: add patch for GIF denial-of-service vulnerability

For further details, see:
https://bugreports.qt-project.org/browse/QTBUG-38367

(From OE-Core rev: c322f67808bb36c5fea3fbabd30aa242e408fc50)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4: upgrade to version 4.8.6
Paul Eggleton [Wed, 28 May 2014 10:49:29 +0000 (11:49 +0100)]
qt4: upgrade to version 4.8.6

* Remove patches merged upstream
* Add a qtscript translation package for an additional .qm file added in
  this release

(From OE-Core rev: 32a9c7101c7212c69d40893ee597eaf34955b641)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>