scm/bb/tizen-distro.git
11 years agolinux-yocto/3.8: revert .gitignore: do not ignore meta directory
Bruce Ashfield [Wed, 24 Jul 2013 04:32:33 +0000 (00:32 -0400)]
linux-yocto/3.8: revert .gitignore: do not ignore meta directory

We made a change to allow meta branch/directory changes to be visible
when working with the kernel tree. But without associated tool changes
.gitignore is different between branches and hence causes errors when
changing branches and processing the tree.

The tools changes are not ready yet, so to avoid patching issues,
temporarily reverting the change.

(From OE-Core rev: f7e66abf279781d7c0cc1fb3c32c93c15a83c52c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/create-lsb-image: remove
Yi Zhao [Wed, 24 Jul 2013 02:00:39 +0000 (10:00 +0800)]
scripts/create-lsb-image: remove

This script is no longer maintained. Now we don't perform LSB test on
qemu image, so we don't need this script. Most of functions in this
script are implemented in LSB_Test.sh. So it is safe to remove.

(From OE-Core rev: 46a71cdd3a6e8f571610d73b8811c060d038e8bf)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoLSB_Test.sh: add -f option for curl
Yi Zhao [Wed, 24 Jul 2013 02:00:38 +0000 (10:00 +0800)]
LSB_Test.sh: add -f option for curl

In normal cases when a HTTP server fails to deliver a file, it returns
an HTML document to describe the reason (e.g. 404 Not Found). The curl
will output this page as a file and do not return error. Add a "-f"
option will prevent curl from outputting that and return error.

[YOCTO #4895]

(From OE-Core rev: d53c9e6942a65f2ae5eb8f33012453c356fd6ff4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: upgrade to v4.0
Cristian Iorga [Tue, 23 Jul 2013 16:00:08 +0000 (19:00 +0300)]
pulseaudio: upgrade to v4.0

pulseaudio_fix_for_x32.patch removed;
included in upstream.
general recipe clean-up (multiple src URI removed,
inheritance grouping, dependency grouping).
parallel make is now active (was disabled in version 0.9).

(From OE-Core rev: c6a503f05505cd5d842ae1c1b558be04e233072c)

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>
11 years agoptest: fix Upstream-status
Saul Wold [Wed, 24 Jul 2013 17:18:40 +0000 (10:18 -0700)]
ptest: fix Upstream-status

(From OE-Core rev: bb5ce373d3ee9b436c075c2ebba9a048389946db)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agort-tests: add Upstream-Status for cyclictest patch
Jim Somerville [Wed, 24 Jul 2013 16:06:47 +0000 (12:06 -0400)]
rt-tests: add Upstream-Status for cyclictest patch

Add "Upstream-Status:  Accepted" for:
* meta/recipes-rt/rt-tests/files/cyclictest-finish-removal-of-1-second-first-loops.patch

(From OE-Core rev: 50f3acc49a0c2912baee465cf2c3cb0ed25405c8)

Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: add pango dependency
Alexandru DAMIAN [Wed, 24 Jul 2013 12:23:30 +0000 (13:23 +0100)]
weston: add pango dependency

Weston 1.1.0 has a build time dependency on pango,
so we add it.

(From OE-Core rev: 98aa3c54685a90bc49cba147a4a3eb560cbfda98)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: mention version when erroring on LCONF_VERSION mismatch
Ross Burton [Wed, 24 Jul 2013 11:54:46 +0000 (12:54 +0100)]
sanity.bbclass: mention version when erroring on LCONF_VERSION mismatch

If someone is using a Poky release but not the Poky distribution they'll get a
bblayers.conf generated from meta-yocto's template with a LCONF_VERSION that
doesn't necessarily match LAYER_CONF_VERSION (default in sanity.conf), as Poky
overrides LAYER_CONF_VERSION to cater for the meta-yocto split.  The resulting
error message will tell them to compare bblayers.conf with bblayers.conf.sample,
but they're identical.

By explicitly refering to the required and actual versions this situation is
hopefully clearer.

(From OE-Core rev: da58843fd07dec43700a4c54ac469d1fda71aa50)

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>
11 years agosysvinit: pidof add -m option for lsbinitscripts
Hongxu Jia [Wed, 24 Jul 2013 09:07:22 +0000 (17:07 +0800)]
sysvinit: pidof add -m option for lsbinitscripts

When reboot the system on lsb image, some kill processes would print the
following message:
...
pidof: invalid options on command line!
...

The killproc in lsbinitscripts invokes pidof with option -m, but the pidof
in sysvinit package doesn't support this.

Backport from fedora to add -m option on pidof could fix this issue.

[YOCTO #4896]

(From OE-Core rev: 8abe29811d9c5975fbd6483cb9c20b44904ae57f)

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>
11 years agolsbinitscripts: remove x permission on functions
Hongxu Jia [Wed, 24 Jul 2013 09:07:23 +0000 (17:07 +0800)]
lsbinitscripts: remove x permission on functions

It doesn't need to set x permission for this file

(From OE-Core rev: 8c6864f4884387306efff8c513efff1ccb0e2027)

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>
11 years agocups: Update to 1.6.3
Saul Wold [Tue, 23 Jul 2013 18:44:00 +0000 (11:44 -0700)]
cups: Update to 1.6.3

(From OE-Core rev: a41192f12bd3757be75a5f4781ceabba7315d214)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomklibs-native: Update to 0.1.38
Saul Wold [Tue, 23 Jul 2013 18:43:43 +0000 (11:43 -0700)]
mklibs-native: Update to 0.1.38

(From OE-Core rev: 90102f1c737ed2d5451e134b12906ab4485f9d26)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconsolekit: Update to 0.4.6
Saul Wold [Tue, 23 Jul 2013 18:17:15 +0000 (11:17 -0700)]
consolekit: Update to 0.4.6

(From OE-Core rev: 6faa9c4e139cd1cf3feaef18cdd6c4c9d4f8173a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouseradd.bbclass: fix traceback when inheriting useradd but not setting USERADD_PARAM...
Ionut Radu [Tue, 23 Jul 2013 15:07:48 +0000 (18:07 +0300)]
useradd.bbclass: fix traceback when inheriting useradd but not setting USERADD_PARAM or GROUPADD_PARAM

Replaced bb.build.FuncFailed with bb.fatal

[YOCTO #4486]

(From OE-Core rev: be6d0f398404e4566d4fac145c745899909117f1)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonss:fix postinst failed at rootfs time
Hongxu Jia [Mon, 22 Jul 2013 05:23:44 +0000 (13:23 +0800)]
nss:fix postinst failed at rootfs time

Create checksum file at rootfs time to support read-only rootfs.

[YOCTO #4879]

(From OE-Core rev: 64e87fc6e99bc1d4807034166735034b1f92bad8)

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>
11 years agoreadline: fix importing readline in python with probably escape sequence output
Hongxu Jia [Mon, 22 Jul 2013 09:04:31 +0000 (17:04 +0800)]
readline: fix importing readline in python with probably escape sequence output

While imports readline in python, if TERM in terminfo is available and
it contains the variable 'km' and 'smm', the readline initialization will
output the value of 'smm' which is the escape sequence '\E[?1034h'.

The issue is caused by gnu readline library which is used by python
readline module. The bash-4.3/readline-6.3 has fixed this but it is still
on test and not released, so we find the changes and back port to 6.2.

Import patch from: http://git.savannah.gnu.org/cgit/bash.git/tag/?id=bash-4.3-alpha

[YOCTO #4835]
[YOCTO #4732]

(From OE-Core rev: d226f39bbd3b5f7c568a6804d69040502d28c843)

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>
11 years agorun-postinsts: add more logging to the log file to make things clearer
Chen Qi [Fri, 19 Jul 2013 09:39:27 +0000 (17:39 +0800)]
run-postinsts: add more logging to the log file to make things clearer

When all postinsts scripts succeed at system startup, it's very possible
that the log file /var/log/postinstall.log is empty. This is kind of
confusing, as that file is supposed to hold information about the postinsts.

Add more logging to the log file to make things clearer.

(From OE-Core rev: d60926b3fc4ba5780aef5b5226d05170892a7133)

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>
11 years agorun-postinsts: fix comment
Chen Qi [Fri, 19 Jul 2013 09:39:26 +0000 (17:39 +0800)]
run-postinsts: fix comment

The run-postinsts script also handles the #SYSCONFDIR#/rpm-postinsts
directory. Add it to the comment for clarity.

(From OE-Core rev: ca32f9c3f7749aa31d1ea83eda1ca39a2678215b)

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>
11 years agoxinput-calibrator: move it from meta-oe to oe-core
Laurentiu Palcu [Fri, 14 Jun 2013 11:38:19 +0000 (14:38 +0300)]
xinput-calibrator: move it from meta-oe to oe-core

People using xserver-xorg that need to calibrate their touchscreen
devices would also need meta-oe. Bringing the recipes to oe-core will
make it easier for them.

Aditionaly:
 * drop xterm RDEPENDS. Terminal is not needed to run the menu item;
 * change xinput_calibrator_pointercal.sh so that it can be run as
   normal user: pointercal.xinput is saved to ~/.pointercal/ and it will
   be used when the system boots;
 * have the calibration run through an Xsession file;
 * remove the systemd service since calibration is run by Xsession;
 * do not install pointercal.xinput if it's the default one;

[YOCTO #4416]

(From OE-Core rev: 4ecafd89dbf41cbd53e6db32678fe625c06caaab)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: avoid packing debug sources from other packages
Andreas Müller [Mon, 22 Jul 2013 14:52:15 +0000 (16:52 +0200)]
package.bbclass: avoid packing debug sources from other packages

The error case was gcc-dbg packing files from libgcc-dbg reported in [1]

[1] http://lists.openembedded.org/pipermail/openembedded-core/2013-July/080728.html

(From OE-Core rev: fd2c0af422d67da870a5a11720d06a871e660215)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobash: Add ptest
Muhammad Shakeel [Fri, 5 Jul 2013 07:23:18 +0000 (12:23 +0500)]
bash: Add ptest

ptest support was already added for v4.2 but for the distros
using GPLv2 version of bash (3.2.48) this update is required.

(From OE-Core rev: d054da760deda0c965619372209b50f8db964e1c)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: upgrade to v1.16
Cristian Iorga [Mon, 22 Jul 2013 14:08:05 +0000 (17:08 +0300)]
connman: upgrade to v1.16

inet-fix-ip-cleanup-functions.patch no longer nedded;
included in upstream.

(From OE-Core rev: 9c48963a67c9dfd46f1d76ed42a9bd35e8cc2c8c)

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>
11 years agoelfutils: fix backends' Makefile.am
Laurentiu Palcu [Mon, 22 Jul 2013 13:58:32 +0000 (16:58 +0300)]
elfutils: fix backends' Makefile.am

The mips, m68k and parisc backend libraries were not generated. This
patch fixes that.

[YOCTO #4849]

(From OE-Core rev: d79521cf1777276a5e85d59f9e078f4d6d9603aa)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodmidecode: add aarch64 and arm to compatible host
Fathi Boudra [Mon, 22 Jul 2013 09:35:50 +0000 (12:35 +0300)]
dmidecode: add aarch64 and arm to compatible host

(From OE-Core rev: 025ee772f4ec21abef1fd89c4a36dbc02c9143a9)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocpan.bbclass: Fail unless Makefile.PL generates Makefile
Olof Johansson [Mon, 22 Jul 2013 09:35:47 +0000 (11:35 +0200)]
cpan.bbclass: Fail unless Makefile.PL generates Makefile

Makefile.PLs can exit with success without generating a Makefile,
e.g. in cases of missing configure time dependencies. This is
considered a best practice by cpantesters.org. See:

 * http://wiki.cpantesters.org/wiki/CPANAuthorNotes
 * http://www.nntp.perl.org/group/perl.qa/2008/08/msg11236.html

(From OE-Core rev: 0a2dffefc6fbca37ce9604117cebc2f7d4abc1c6)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: add -o option into start-stop-daemon arguments
Jackie Huang [Mon, 22 Jul 2013 08:14:55 +0000 (16:14 +0800)]
dbus: add -o option into start-stop-daemon arguments

/etc/init.d/dbus-1 use "set -e" to let the script exit when any command failes.
This will cause "dbus-1 restart" command can't start dbus when dbus is stopped.
so add --oknodo option to let start-stop-daemon exit with friendly return value.
Then commands will work well.

(From OE-Core rev: 03e745f18f9da22cfba53bb0057bdb0af4a49fca)

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: fix compiling GCC when /usr/lib/libstdc++.so is present
Jonathan Liu [Sun, 21 Jul 2013 10:07:42 +0000 (20:07 +1000)]
gcc-4.8: fix compiling GCC when /usr/lib/libstdc++.so is present

libtool is picking up libstdc++.so from /usr/lib when trying to link
libasan due to libstdc++.la containing libdir="/usr/lib". If compiling
for x86 and the host has 64-bit /usr/lib/libstdc++.so, the compilation
fails linking libasan with:
/usr/lib/libstdc++.so: could not read symbols: File in wrong format

To resolve this, patch libtool to look for the library in the path the
.la is contained in rather than use the libdir which usually points to
a host path.

[YOCTO #4879]

(From OE-Core rev: ec95dfeea1f17eb232563e105085852058a86c0b)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: Remove systemd_unitdir if systemd is not in distro features
Muhammad Shakeel [Fri, 19 Jul 2013 11:53:25 +0000 (16:53 +0500)]
systemd: Remove systemd_unitdir if systemd is not in distro features

If systemd is not supported DISTRO_FEATURE than there is no need to
package related service files.

(From OE-Core rev: ac5d20f4adac69ea1702694fb50849c9e465b443)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglew: Update GLEW version number in autotools patch
Daniel Nilsson [Sun, 21 Jul 2013 13:30:45 +0000 (15:30 +0200)]
glew: Update GLEW version number in autotools patch

Hi,

This is a small patch for the glew package in oe-core.

Library version number is contained in the autotools patch, this
has not been updated to match the current library version.

This patch updates the version number in the two places where it
set in the autotools patch.

(From OE-Core rev: c9ca43ee50b8b50dafc95428ed0165b73596f773)

Signed-off-by: Daniel Nilsson <daniel@dnil.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: add Upstream-Status
Martin Jansa [Sat, 20 Jul 2013 14:54:24 +0000 (16:54 +0200)]
mesa: add Upstream-Status

(From OE-Core rev: bcc32cf784b4d23bc43d580b305e1ea0f5e2c6cc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocups: add PACKAGECONFIG for avahi
Martin Jansa [Sat, 13 Jul 2013 16:49:04 +0000 (18:49 +0200)]
cups: add PACKAGECONFIG for avahi

* it's autodetected from sysroot

(From OE-Core rev: 0d6fa308e7c2838a51013b16b348e95f9e177105)

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>
11 years agosubversion: add PACKAGECONFIG for sasl
Martin Jansa [Fri, 5 Jul 2013 08:35:48 +0000 (10:35 +0200)]
subversion: add PACKAGECONFIG for sasl

* cyrus-sasl is in meta-networking

(From OE-Core rev: f32f0e8195b1abfdd4477747eca0838e90feabb7)

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>
11 years agopulseaudio: add PACKAGECONFIG for jack
Martin Jansa [Thu, 11 Jul 2013 21:06:07 +0000 (23:06 +0200)]
pulseaudio: add PACKAGECONFIG for jack

(From OE-Core rev: 4c32a6af7dfd16cf9c652ca2735cd8d24d204e29)

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>
11 years agogst-plugins-ugly: add PACKAGECONFIG for x264, cdio, dvdread
Martin Jansa [Thu, 11 Jul 2013 20:27:43 +0000 (22:27 +0200)]
gst-plugins-ugly: add PACKAGECONFIG for x264, cdio, dvdread

* they are autodetected from sysroot

(From OE-Core rev: b253bbe742c016a07b67cfaa65b28895118c5bd8)

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>
11 years agogst-plugins-good: add PACKAGECONFIG for jack
Martin Jansa [Thu, 11 Jul 2013 20:24:08 +0000 (22:24 +0200)]
gst-plugins-good: add PACKAGECONFIG for jack

* jack is autodetected from sysroot

(From OE-Core rev: 00872ded9e4f492f146175be41435902aaf45ad7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboot-directdisk: use awk instead of echo -ne for dash compatibility
Jonathan Liu [Sat, 20 Jul 2013 12:11:20 +0000 (22:11 +1000)]
boot-directdisk: use awk instead of echo -ne for dash compatibility

The echo command is a dash shell built-in and does not support the
-n and -e options so use awk instead.

This fixes the partition table being corrupted when writing the MBR
disk signature into the image.

[YOCTO #4859]

(From OE-Core rev: 1928f46e8e9f281e3e64f916048cc9314e125150)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoremake: fix insufficient gettext dependency
Petter Mabäcker [Mon, 15 Jul 2013 16:53:25 +0000 (18:53 +0200)]
remake: fix insufficient gettext dependency

By default when inheriting gettext, "gettext-minimal-native" is added as
a dependency for native. The bb-file for remake use 'autopoint' (not
included in gettext-minimal-native). When building remake-native it
will result in a failure in do_configure for all cases when gettext (or
gettext-native) is not build from some other recipes, before building
'remake-native'.

This is solved by adding a build-dependency to gettext-native in
remake-native.

Fixes [YOCTO #4385]

(From OE-Core rev: 4bd98157f1d7a96741d036e67b04819ccbc9a9c6)

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: use LLVM 3.3 by default
Jonathan Liu [Fri, 19 Jul 2013 06:33:00 +0000 (16:33 +1000)]
mesa: use LLVM 3.3 by default

(From OE-Core rev: 9908ec004bc3e2247e664d97690849253a66bae9)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowget: backport fixes for documentation build errors
Jonathan Liu [Fri, 19 Jul 2013 14:31:59 +0000 (00:31 +1000)]
wget: backport fixes for documentation build errors

(From OE-Core rev: f0c89f4122a0df67a003a6721afb45d7979ffc6f)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoextrausers.bbclass: add a new bbclass
Chen Qi [Fri, 19 Jul 2013 01:52:26 +0000 (09:52 +0800)]
extrausers.bbclass: add a new bbclass

This class is dedicated to image level user/group configuration.
It inherits useradd_base.bbclass.

Users need to inherit this class in their layers or local.conf to
make the setting of EXTRA_USERS_PARAMS effective.

For detailed configuration format of EXTRA_USERS_PARAMS, please
refer to local.conf.sample.extended.

[YOCTO #4074]

(From OE-Core rev: 4b6deb521183b728d9a1c651d4805fe635e6cb50)

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>
11 years agouseradd.bbclass: add a new base class and code refactor
Chen Qi [Fri, 19 Jul 2013 01:52:25 +0000 (09:52 +0800)]
useradd.bbclass: add a new base class and code refactor

Add a new base class, useradd_base.bbclass, which is mainly a
collection of basic functions for user/group settings.

The useradd_base.bbclass is intended to be inherited by useradd.bbclass
and the extrausers.bbclass to avoid code cuplication.

[YOCTO #4074]

(From OE-Core rev: 2a57bb7e9a7e154578aa7cb9aeebdf398a54ec00)

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>
11 years agokmod: Add ptest
Tudor Florea [Fri, 19 Jul 2013 17:31:34 +0000 (19:31 +0200)]
kmod: Add ptest

Install kmod test suite and run it as ptest.

(From OE-Core rev: 152c973227e41b7736457b7f8c40849cc71b45ca)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodirectfb: don't patch pkg-config files
André Draszik [Fri, 19 Jul 2013 08:39:10 +0000 (09:39 +0100)]
directfb: don't patch pkg-config files

We are currently getting build failures of projects that rely on
being able to access DirectFB's internal include directories, as
returned via pkg-config, since the include paths returned by
pkg-config are incomplete.

The reason for that is the patch that is being removed with this
change. It modified the cflags returned by pkg-config in an
incorrect way, causing us to miss important include paths:

For reference, pkg-config output with incorrect patch applied:
  ad@bril0118 #513 ~> pkg-config --cflags directfb-internal
-D_GNU_SOURCE -D_REENTRANT -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb -I<builddir>/tmp/sysroots/<machine>/usr/include

Now, with the incorrect patch removed, the output is as expected:
  ad@bril0118 #514 ~> pkg-config --cflags directfb-internal
-D_GNU_SOURCE -D_REENTRANT -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb-internal -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb

Overall, the removed patch is not needed - pkg-config does the right
thing these days and we can simply use the correctly working upstream
versions of all DirectFB .pc files.

(From OE-Core rev: 795db65706d28bc194244a2ebbe6624ded584a33)

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: Add ptest
Tudor Florea [Fri, 19 Jul 2013 15:10:59 +0000 (17:10 +0200)]
python: Add ptest

Install python test suite and run it as ptest
(From OE-Core rev: a768047cb8fc00ecf13f4db08117c348a9312c47)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: upgrade to 9.1.5
Jonathan Liu [Thu, 18 Jul 2013 15:45:28 +0000 (01:45 +1000)]
mesa: upgrade to 9.1.5

(From OE-Core rev: 0fcee1d02f98a40f38c622459e8b5ce3d39826ce)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: remove unneeded modprobe.rules
Jonathan Liu [Thu, 18 Jul 2013 06:43:45 +0000 (16:43 +1000)]
systemd: remove unneeded modprobe.rules

systemd already handles loading kernel modules for new hardware.
This also allows blacklisting modules to work properly when creating
a .conf file in /etc/modprobe.d containing "blacklist module_name".

(From OE-Core rev: c7ca6dec31de4321313e56753d056c9df115bd96)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: add a new 'nullok_secure' option support to pam_unix
Ming Liu [Thu, 18 Jul 2013 02:04:22 +0000 (10:04 +0800)]
libpam: add a new 'nullok_secure' option support to pam_unix

Debian patch to add a new 'nullok_secure' option to pam_unix, which
accepts users with null passwords only when the applicant is connected
from a tty listed in /etc/securetty.

The original pam_unix.so was configured with nullok_secure in
meta/recipes-extended/pam/libpam/pam.d/common-auth, but no such code
exists actually.

The patch set comes from:
http://patch-tracker.debian.org/patch/series/view/pam/1.1.3-7.1/054_pam_security_abstract_securetty_handling
http://patch-tracker.debian.org/patch/series/view/pam/1.1.3-7.1/055_pam_unix_nullok_secure

(From OE-Core rev: 10cdd66fe800cffe3f2cbf5c95550b4f7902a311)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitrdscripts: mount / as read-only when live-booting
Ross Burton [Thu, 18 Jul 2013 13:59:42 +0000 (14:59 +0100)]
initrdscripts: mount / as read-only when live-booting

So that the root filesystem can be fsck'd properly, mount it read only.  Either
initscripts or systemd will re-mount as read-write in early boot.

(From OE-Core rev: 1ace2bdd8d6d950038fb6d9b83f6eceba276f588)

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>
11 years agotremor: add a patch to build with arm thumb
Jesse Zhang [Wed, 17 Jul 2013 08:40:46 +0000 (16:40 +0800)]
tremor: add a patch to build with arm thumb

Add IT instructions so that it builds with thumb tunes. ARM mode won't
be affected since IT is a pseudo-instruction in ARM mode.

(From OE-Core rev: b5187fa61b34ff94513fcf8f64ff5c588c211d06)

Signed-off-by: Sen Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodocbook-sgml-dtd-4.5-native.bb: Add real PV inside the recipe
Emilia Ciobanu [Wed, 10 Jul 2013 14:57:21 +0000 (17:57 +0300)]
docbook-sgml-dtd-4.5-native.bb: Add real PV inside the recipe

(From OE-Core rev: 823733b7581312b0d4847b8477423942f0d34138)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-modules: Append _git to recipe name and add GIT revision to PV variable
Emilia Ciobanu [Mon, 8 Jul 2013 13:37:23 +0000 (16:37 +0300)]
lttng-modules: Append _git to recipe name and add GIT revision to PV variable

Git packages should have the following format for the PV variable:
version_tag+git[r|\-|]?AUTOINC+git_revision

(From OE-Core rev: 07ca5da4da59a0069e7b8a18e7589e3674f2616c)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokmod:add GIT revision to PV variable
Emilia Ciobanu [Fri, 12 Jul 2013 14:56:24 +0000 (17:56 +0300)]
kmod:add GIT revision to PV variable

Git packages should have the following format for the PV variable:
version_tag+git[r|\-|]?AUTOINC+git_revision

Git packages should include git token inside the PV variable.

(From OE-Core rev: 70d0938c304cd49e08cbcb28e391e7ace8e666e0)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadt_installer_internal: fix spelling error
Beth Flanagan [Thu, 18 Jul 2013 21:53:06 +0000 (14:53 -0700)]
adt_installer_internal: fix spelling error

s/envrionement/environment/

(From OE-Core rev: 5ace1d88efc37b70516eeb1a609ea37a657a5ce0)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopigz: Fix typo in ALTERNATIVES line
Saul Wold [Thu, 18 Jul 2013 22:18:43 +0000 (15:18 -0700)]
pigz: Fix typo in ALTERNATIVES line

(From OE-Core rev: 661897219bc50d569a2c87b414ab04a7f83f5a8e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocurl: add upstream status to patch
Joe Slater [Wed, 17 Jul 2013 22:34:46 +0000 (15:34 -0700)]
curl: add upstream status to patch

Add upstream-status to configure_ac.patch.

(From OE-Core rev: 8fc6904fe97438478119db6cd23b7b4eb33b50aa)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: Removed avahi forced dependency
Felipe F. Tonello [Wed, 17 Jul 2013 01:03:47 +0000 (18:03 -0700)]
pulseaudio: Removed avahi forced dependency

Only adds avahi dependency when zeroconf is in DISTRO_FEATURES.

(From OE-Core rev: dcb6d36b26359eb7672abd72fcb089bfa83459aa)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Added missing '' in base_contains()

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/*: fix arithmetic bashism
Paul Eggleton [Wed, 17 Jul 2013 17:29:37 +0000 (18:29 +0100)]
scripts/contrib/*: fix arithmetic bashism

Apparently $[...] isn't valid in dash, so use $((...)) instead for
mkefidisk.sh and ddimage that both start with $!/bin/sh.

(From OE-Core rev: d509739ca54e6b70f2dcc216b831fc02c64293a6)

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>
11 years agolinux-yocto/3.8: restore qemumips64 SRCREV
Bruce Ashfield [Wed, 17 Jul 2013 17:00:54 +0000 (13:00 -0400)]
linux-yocto/3.8: restore qemumips64 SRCREV

In commit 00e0ec6c [linux-yocto: v3.8.13 and v3.4.46], the qemumips64 SRCREV
was inadvertently dropped. This patch restores the SRCREV and a booting
qemumips64.

(From OE-Core rev: de5dbfb172aaa4dd31e90e8883e8f68ed1ac86a7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: mips: fix gcc 4.8 compilation
Bruce Ashfield [Mon, 15 Jul 2013 04:12:05 +0000 (00:12 -0400)]
linux-yocto/3.4: mips: fix gcc 4.8 compilation

Updating the SRCREVs to enable the following fix for gcc 4.8 mips
compilation:

    Author: Steven J. Hill <sjhill@mips.com>
    Date:   Fri Jul 6 21:56:01 2012 +0200

    MIPS: Refactor 'clear_page' and 'copy_page' functions.

    Remove usage of the '__attribute__((alias("...")))' hack that aliased
    to integer arrays containing micro-assembled instructions. This hack
    breaks when building a microMIPS kernel. It also makes the code much
    easier to understand.

    [ralf@linux-mips.org: Added back export of the clear_page and copy_page
    symbols so certain modules will work again.  Also fixed build with
    CONFIG_SIBYTE_DMA_PAGEOPS enabled.]

Signed-off-by: Steven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/3866/
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    (cherry picked from commit c022630633624a75b3b58f43dd3c6cc896a56cff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 5cd0d0f0e19b53a002feb91ba0cde9ea7ec19f29)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.8: update META srcrev
Bruce Ashfield [Sun, 14 Jul 2013 05:10:40 +0000 (01:10 -0400)]
linux-yocto/3.8: update META srcrev

Bumping the linux-yocto-3.8 meta branch SRCREV to pick up the following
changes:

  8ef9136 .gitignore: do not ignore meta directory
  f846f12 uvcvideo: a new config for a webcam device driver
  02014ca v4l2: config fragment for enabling v4l2 interface to camera devices
  71a5cc0 media-camera: a feature to enable camera infrastructure
  2396656 drm-emgd.scc: remove config for non-existing driver
  aad8aa7 drm-emgd-1.18.scc: add a kernel feature for emgd-1.18 driver
  fcf81f8 meta: restore NAT Feature

(From OE-Core rev: 0fabe26eabff716909b6c241fcb5b4cc7b78ceac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotar: remove an erroneous patch
Chen Qi [Wed, 17 Jul 2013 05:41:44 +0000 (13:41 +0800)]
tar: remove an erroneous patch

This removed patch is a workaround for gcc-4.5 manifests buffer
overflow with app-arch/tar-1.{22,23}, according to the information
from https://bugs.gentoo.org/show_bug.cgi?id=317139.

The problem with that patch is that it's only setting the magic
field of the header while the original statement sets both the magic
and the version field of the header. Because of this, all tar balls
created by the tar package in OE will be treated as old V7 format
tar balls.

As a negative effect of this behaviour, the tar package in OE cannot
handle device files correctly. This in turn leads to the udev cache
failure in images like core-image-lsb-sdk.

[YOCTO #4815]

(From OE-Core rev: 32210f73c7e9f24951306f462b25e66e1d11a6b8)

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>
11 years agorpm-postinsts.bb: Fix typo
Yi Zhao [Wed, 17 Jul 2013 09:09:25 +0000 (17:09 +0800)]
rpm-postinsts.bb: Fix typo

Fix a typo for stderr redirection.

(From OE-Core rev: cfe3bb097df2a9e6488b4d50f61311b97959ed26)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorun-postinsts: Fix typo
Yi Zhao [Wed, 17 Jul 2013 09:09:24 +0000 (17:09 +0800)]
run-postinsts: Fix typo

Fix a typo for stderr redirection.

(From OE-Core rev: b03c670d44b28c673393468bbe62919f3f8186de)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-2.18: Update to latest snapshot
Khem Raj [Wed, 17 Jul 2013 06:09:04 +0000 (23:09 -0700)]
eglibc-2.18: Update to latest snapshot

Works on all supposted qemu machines

(From OE-Core rev: ad5a76f03d6fda289ff562c326c093d5fd72bc81)

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>
11 years agoeglibc-2.18: Remove unused patches
Khem Raj [Wed, 17 Jul 2013 06:09:03 +0000 (23:09 -0700)]
eglibc-2.18: Remove unused patches

These patches are already part of 2.18 eglibc
they were copied from 2.17 but never used.

(From OE-Core rev: a68ddd8ea842b3c85073fa63b4491147ff5e0c80)

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>
11 years agovalgrind: added perl dependency
Felipe F. Tonello [Wed, 17 Jul 2013 01:06:33 +0000 (18:06 -0700)]
valgrind: added perl dependency

This is necessary since the valgrind package depends on /usr/bin/perl.

This patch will fix this error while installing into rootfs:
Computing transaction...error: Can't install valgrind-3.8.1-r8@armv7a_vfp_neon: no package provides /usr/bin/perl

(From OE-Core rev: 9b21846ed8ae0fcd7b1d81d026cb03644ca7c1f7)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: Added cli-protocol-unix to pulseaudio-misc
Felipe F. Tonello [Wed, 17 Jul 2013 01:03:48 +0000 (18:03 -0700)]
pulseaudio: Added cli-protocol-unix to pulseaudio-misc

This is necessary since pacmd uses this module.

(From OE-Core rev: ebf900455e4a0aafdee5a8b04cef91f8071fa3ca)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobluez5: new package for v5.7
Cristian Iorga [Tue, 16 Jul 2013 15:26:01 +0000 (18:26 +0300)]
bluez5: new package for v5.7

- bluez5 does not replace bluez4
- bluez5 is integrated with systemd
- RCONFLICTS bluez4
- add readline dependency

(From OE-Core rev: 5d55498be84a6a8725794f75f4d12336048cdc34)

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>
11 years agobluez4: conflicts with bluez5
Cristian Iorga [Tue, 16 Jul 2013 15:26:02 +0000 (18:26 +0300)]
bluez4: conflicts with bluez5

- RCONFLICTS bluez5

(From OE-Core rev: 34ad3decaa0c90238693c43294648dcb1f187ed8)

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>
11 years agoiproute2: Fix alternative link for ip command
Yi Zhao [Wed, 17 Jul 2013 09:06:57 +0000 (17:06 +0800)]
iproute2: Fix alternative link for ip command

In busybox the default location of symbolic link for command ip is
/sbin/ip. But in iproute2, the alternatvie link for ip is /bin/ip.
It will cause an error when running update-alternatives:
Cannot register alternative ip to /bin/ip since it is already registered
to /sbin/ip.

[YOCTO #4855]

(From OE-Core rev: b45f322abfa72fb0330aac9a1e4c86aebcc4598e)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouclibc: Build ldd/ldcondif/iconv for main uclibc recipe
Khem Raj [Wed, 17 Jul 2013 15:17:42 +0000 (08:17 -0700)]
uclibc: Build ldd/ldcondif/iconv for main uclibc recipe

Currently these were not building as a result
uclibc based systems were missing ldd and any package
depending on ldd package were broken since the package
was empty.

(From OE-Core rev: b4ecf65e20a63d11f14483d213a3931f39225cdd)

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>
11 years agobuildtools-tarball: testimage needs the mmap python-module
Saul Wold [Tue, 16 Jul 2013 19:32:14 +0000 (12:32 -0700)]
buildtools-tarball: testimage needs the mmap python-module

The new testimage class needs the mmap python-module in the buildtools-tarball
on machines that use the tarball to provide the correct version of python.

(From OE-Core rev: 0b3574481cb8204513001570f5fa3cc8f50ba510)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxuser-account: add xuser to disk group
Hongxu Jia [Tue, 16 Jul 2013 07:33:36 +0000 (15:33 +0800)]
xuser-account: add xuser to disk group

Add xuser to disk group, so it could write usb storage in which the
filesystem type is vfat/fat.

[YOCTO #4004]

(From OE-Core rev: 07a969443bc3cdd3799aa7f04aa5aac2cbdd00e8)

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>
11 years agoudev-extraconf: allow users in disk group to write vfat filesystem
Hongxu Jia [Tue, 16 Jul 2013 07:33:35 +0000 (15:33 +0800)]
udev-extraconf: allow users in disk group to write vfat filesystem

If filesystem type is vfat, change the ownership group to 'disk', and grant it
with  w/r/x permissions.

The user which belongs to 'disk' group could write the storage.

[YOCTO #4004]

(From OE-Core rev: eeed0cebebc945bf62b29336b9df8e2c0a975538)

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>
11 years agopopulate_sdk_base.bbclass: use new perm option for find
Stefan Stanacar [Tue, 16 Jul 2013 11:42:35 +0000 (14:42 +0300)]
populate_sdk_base.bbclass: use new perm option for find

Old way find -perm +mode is no longer supported in newer
versions of find (Fedora 19). Man page says:
-perm +mode
       This  is  no  longer  supported  (and  has been deprecated since
       2005).  Use -perm /mode instead.

[YOCTO #4853]

(From OE-Core rev: 21b079e01873e2fb4d8674541e8c5818ba73554e)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooprofile: add Upstream-Status for several patches
Zhenhua Luo [Tue, 16 Jul 2013 03:45:57 +0000 (11:45 +0800)]
oprofile: add Upstream-Status for several patches

Add "Upstream-Status: Accepted" for below patches:
* meta/recipes-kernel/oprofile/oprofile/0001-Allow-ppc64-events-to-be-specified-with-or-without-_.patch
* meta/recipes-kernel/oprofile/oprofile/0001-Fix-PPC64-specific-libpfm-usage-so-it-doesn-t-break-.patch
* meta/recipes-kernel/oprofile/oprofile/0001-ophelp-lists-events-Fix-doc-URL-for-ppc64-arch.patch

(From OE-Core rev: 357e850115e802e6b32c8163c3bf6620f6cb3531)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcl: fix typo of upstream status in patch file
Kai Kang [Tue, 16 Jul 2013 02:36:12 +0000 (10:36 +0800)]
tcl: fix typo of upstream status in patch file

Fix typo of upstream status in tcl-remove-hardcoded-install-path.patch
that may cause some scripts out of work. Fix it.

(From OE-Core rev: 0931eead0f874112836926dd493c9f47b3edbd16)

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>
11 years agodbus-ptest: Disable python module check
Mark Hatle [Tue, 16 Jul 2013 00:36:39 +0000 (19:36 -0500)]
dbus-ptest: Disable python module check

Disable the python module check, as the host python modules are
not needed for generating the target tests.

(From OE-Core rev: 1395a2364aefbe1d19af155e132b6885ec095771)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: Fix on-device SDK C++ runtime issue
Khem Raj [Mon, 15 Jul 2013 23:41:42 +0000 (16:41 -0700)]
gcc-4.8: Fix on-device SDK C++ runtime issue

This fixes the issue where g++ is not able to
find C++ headers when sysroot is '/'

The patch needs to be upstreamed into gcc as well.

[Yocto #4812]

(From OE-Core rev: 18537025ca8777a45cb24f1d9ee781323695607a)

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>
11 years agoUpstream-Status: Correct capitalization
Saul Wold [Mon, 15 Jul 2013 23:44:42 +0000 (16:44 -0700)]
Upstream-Status: Correct capitalization

(From OE-Core rev: 2d5c457bf888771891e9c29e82ec5a5cecace528)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: allow libdir QA check to be skipped using INSANE_SKIP
Paul Eggleton [Mon, 15 Jul 2013 18:17:44 +0000 (19:17 +0100)]
classes/insane: allow libdir QA check to be skipped using INSANE_SKIP

This path check isn't handled in the normal way where a QA check
function is called for every file (there's some minor setup that we want
to avoid doing for every file) so we need to check INSANE_SKIP
explicitly.

In the process, change the code structure a little bit so that we can
report the package that contains the errant file.

Fixes [YOCTO #4822].

(From OE-Core rev: 3bdbec1bdecc52828cbbf8108786ff076c981845)

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>
11 years agoclasses/insane: fix regression in libdir QA regex
Paul Eggleton [Mon, 15 Jul 2013 18:17:43 +0000 (19:17 +0100)]
classes/insane: fix regression in libdir QA regex

There was a slight mistake in the recent change to the lib_re regex -
it still needs to begin with a /.

(From OE-Core rev: 194e47e6d8d9b9ee98e0203f0ebb574084277c46)

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>
11 years agowpa-supplicant: backport patch to fix dbus interface for autoscan functionality
Simon Busch [Mon, 15 Jul 2013 18:11:44 +0000 (18:11 +0000)]
wpa-supplicant: backport patch to fix dbus interface for autoscan functionality

See https://lists.connman.net/pipermail/connman/2013-July/014871.html for details about
the issue with connman and http://lists.shmoo.com/pipermail/hostap/2013-July/028167.html
about the upstream submission of the patch.

(From OE-Core rev: 0d045e401bbd6a5ebf31a25e333fccc5a529f8cb)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: fix ip reference in simple.script
Mark Hatle [Mon, 15 Jul 2013 20:10:28 +0000 (15:10 -0500)]
busybox: fix ip reference in simple.script

The ip is being installed into /sbin as of the latest busybox.

(From OE-Core rev: 222ae6001db286d66462c6334f7f054ca727b7be)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal.bbclass: Fix BB_RUNFMT processing
Mark Hatle [Mon, 15 Jul 2013 20:10:27 +0000 (15:10 -0500)]
terminal.bbclass: Fix BB_RUNFMT processing

BB_RUNFMT can include task and taskfunc, as well as func and pid.  Add the
two missing items toe the runfmt processing.

Also BB_RUNFMT can include arbitrary directory structure.

(From OE-Core rev: 95f6e9a3d8fa24acc3bab392719e2d92be25d806)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Update gcc sanity check
Mark Hatle [Mon, 15 Jul 2013 20:10:26 +0000 (15:10 -0500)]
sanity.bbclass: Update gcc sanity check

The gcc sanity check should be checking for the atomic function directly
instead of using the gcc macro.  Older versions of gcc do not have the macro
defined, but do support the atomic operations.  (glib-2.0 checks for both
the macro and the function, as long as one is available it will successfully
compile.)

Update the check to try both -mcpu=native and -mcpu=BUILD_ARCH.  Tell the user
which version worked properly.

[YOCTO #4845]

(From OE-Core rev: c126729b29822d3602c9c4fd9016cc79b6057fc5)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: add PACKAGECONFIG for Python support
Jonathan Liu [Sun, 14 Jul 2013 07:04:20 +0000 (17:04 +1000)]
gdb: add PACKAGECONFIG for Python support

(From OE-Core rev: 4f7fd6ba77e3c233faafe490c1986527789ed80c)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt-mobility: tighten up config generation and use PACKAGECONFIG
Paul Eggleton [Mon, 15 Jul 2013 13:00:43 +0000 (14:00 +0100)]
qt-mobility: tighten up config generation and use PACKAGECONFIG

* Add DEPENDS on util-linux (for libblkid) and gstreamer (was likely
  always being auto-detected since it is currently an unconditional
  dependency of Qt itself in our Qt recipes)
* Use PACKAGECONFIG to allow individual configuration of pulseaudio and
  bluetooth features rather than additional variables
* Generate a static platform configuration and tell the configure script
  to use that instead of running compile tests during do_configure. This
  should avoid the issue of camerabin sometimes being built and failing
  as seen on the Yocto Project autobuilder.

(From OE-Core rev: 9d64f117cccf69916ce5b08039edcb3a19dc2b58)

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>
11 years agodpkg: backport a patch to support mipsn32el and mips64el
Roy.Li [Mon, 15 Jul 2013 08:59:06 +0000 (16:59 +0800)]
dpkg: backport a patch to support mipsn32el and mips64el

(From OE-Core rev: cdc8c8d73ab782d712acafb85d97f2af688ae4c9)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
[sgw - tweaked Upstream-Status]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa: fix dependecy check
Stefan Stanacar [Sat, 13 Jul 2013 14:57:56 +0000 (17:57 +0300)]
lib/oeqa: fix dependecy check

Adds missing skip for smart test and fix the check (which I somehow broke
a while ago).

(From OE-Core rev: cf1790d992f067be8d5f9894458f55f6f1bdc61f)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotestimage.bbclass, lib/oeqa: add headers and comments
Stefan Stanacar [Fri, 12 Jul 2013 16:08:53 +0000 (19:08 +0300)]
testimage.bbclass, lib/oeqa: add headers and comments

Adds some comments to testimage.bbclass and the files it calls,
just to give an ideea of what it does.

(From OE-Core rev: 8bbb7116cf02466dfc59a17dc7bb51287aeea55b)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/testimage.bbclass: use a copy of rootfs for tests
Stefan Stanacar [Fri, 12 Jul 2013 09:15:19 +0000 (12:15 +0300)]
classes/testimage.bbclass: use a copy of rootfs for tests

Make a copy of the rootfs and test that.
We can now drop the snapshot option.

(From OE-Core rev: ba58f1fe8fb7a0e3ff9320dfc108235d484da6a1)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/runtime: add tests for syslog and df
Alexandru Palalau [Fri, 12 Jul 2013 10:44:37 +0000 (13:44 +0300)]
lib/oeqa/runtime: add tests for syslog and df

Add tests for free space and syslog.

Changed in v2:
    - limit df's output to /
    - syslog: fix restart in case of systemd

(From OE-Core rev: 1b39d57e7b5c9b69d565cf4d188ebc2f14e66ae6)

Signed-off-by: Alexandru Palalau <alexandru.palalau@intel.com>
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/oetest.py: provide a ps command for all tests
Stefan Stanacar [Fri, 12 Jul 2013 10:38:53 +0000 (13:38 +0300)]
lib/oeqa/oetest.py: provide a ps command for all tests

Many tests will use 'ps' but we need to know if it's busybox
or standard ps.
Drop the existing check from the connman test.

(From OE-Core rev: 1515d33d2c5b7275a3ac20e07c1db1d8273de796)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/runtime/multilib.py: use readelf instead of file
Stefan Stanacar [Thu, 11 Jul 2013 19:00:51 +0000 (22:00 +0300)]
lib/oeqa/runtime/multilib.py: use readelf instead of file

file was pulled by rpm in sato images, readelf comes with binutils
so it's in ipk/deb too.
Also the test was looking at connmand instead of connman-applet
(which is what the testcase says and the AB nightly-multilib target installs)

(From OE-Core rev: c2c47a002996b8dbcf9b311dff677202b1f11a64)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotestimage.bbclass, lib/oeqa/utils/qemurunner.py: make boot timeout configurable and...
Stefan Stanacar [Wed, 10 Jul 2013 11:33:32 +0000 (14:33 +0300)]
testimage.bbclass, lib/oeqa/utils/qemurunner.py: make boot timeout configurable and increase it

On a loaded host (such as an AB setup where multiple builds run)
the 200 seconds timeout might not be enough to reach the login prompt.
Also make it configurable so we can set it from local.conf/auto.conf

(From OE-Core rev: e828571683333e6f18ed56a84e114b5e54975bc7)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/utils/sshcontrol.py: fix passing command to subprocess
Stefan Stanacar [Tue, 9 Jul 2013 14:52:55 +0000 (17:52 +0300)]
lib/oeqa/utils/sshcontrol.py: fix passing command to subprocess

Don't use shlex.split in subprocess call and also prepend
. /etc/profile, because PATH over ssh is always
/usr/bin:/bin which isn't what many tests expect.

Changed in v2:
 We now need to use a separate call for scp command.

(From OE-Core rev: 1988de2fad86e8e34070ed6573a7be09fff5c0a2)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/runtime/dmesg.py: whitelist dmesg message for systemd net interface name
Stefan Stanacar [Mon, 8 Jul 2013 13:40:00 +0000 (16:40 +0300)]
lib/oeqa/runtime/dmesg.py: whitelist dmesg message for systemd net interface name

Messages such as:
"systemd-udevd[79]: error changing net interface name eth0 to enp0s3: Device or resource busy"
are harmless as systemd can't rename interfaces in qemu (the interface is already active).
Alternatively, passing net.ifnames=0 to the kernel will stop systemd renaming the interfaces.

(From OE-Core rev: c072fed6531f2ce3c687f8342a97f593ebf37653)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitscripts: Update to 9.48
Saul Wold [Sat, 13 Jul 2013 20:15:26 +0000 (13:15 -0700)]
initscripts: Update to 9.48

(From OE-Core rev: b089dfd983e427c805e8dec33630d853ca3ca742)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomc: upgrade to 4.8.9
Saul Wold [Sat, 13 Jul 2013 09:47:21 +0000 (12:47 +0300)]
mc: upgrade to 4.8.9

(From OE-Core rev: e527cd5071e423cb0bb392d7f002ff9698b28fae)

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