scm/bb/tizen-distro.git
11 years agolib/oe/terminal.py: add support for MATE desktop terminals
Andre McCurdy [Mon, 29 Jul 2013 08:59:44 +0000 (10:59 +0200)]
lib/oe/terminal.py: add support for MATE desktop terminals

A simple clone of the corresponding Gnome class. Without this, devshell
fails completely on a default installation of MATE desktop Linux Mint 15.

(From OE-Core rev: 8cc078a9c679845464c59028f584d7aba098cc1f)

Signed-off-by: Andre McCurdy <andre.mccurdy@entropic.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobluez5: Only install .conf files if found
Jukka Rissanen [Mon, 29 Jul 2013 08:29:41 +0000 (11:29 +0300)]
bluez5: Only install .conf files if found

Bluez5 is migrating away from using separate .conf files
for different profiles. So only install profile configuration files
when they are found. This is needed so that the bluez5.inc file
can be used with latest bluez5 from git.

(From OE-Core rev: ecdbaeeef11fd7732fffe992c7aa3cfa28eaabff)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl: Fix multilib header conflict - opensslconf.h
Ming Liu [Mon, 29 Jul 2013 01:53:16 +0000 (09:53 +0800)]
openssl: Fix multilib header conflict - opensslconf.h

opensslconf.h conflicts between 32-bit and 64-bit versions.

(From OE-Core rev: 9b1ba604793015aad15c442f590464d0c224794c)

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 agoccache: allow CCACHE_DIR to be overriden
Wenzong Fan [Fri, 26 Jul 2013 07:35:55 +0000 (03:35 -0400)]
ccache: allow CCACHE_DIR to be overriden

Use weaker assignment for CCACHE_DIR to allow users to override it
if desired.

(From OE-Core rev: 61e864e2d020c820cf90807b48babee3b24f9446)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: runqueue: add warning if invalidating invalid task
Petter Mabäcker [Wed, 24 Jul 2013 10:31:04 +0000 (10:31 +0000)]
bitbake: bitbake: runqueue: add warning if invalidating invalid task

Add a warning if 'bitbake -C' is executed with a task that does not
exist.

Fixes [YOCTO #4877]

(Bitbake rev: 6459c1d0eb8f1007246df36149e2496ee531e25f)

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: sstatemirror is standard also for file://.* regex
Cristiana Voicu [Mon, 22 Jul 2013 10:54:11 +0000 (10:54 +0000)]
bitbake: hob: sstatemirror is standard also for file://.* regex

(Bitbake rev: 2e3c87569a8c40f7a2ebda22b01eee3bb7c96d1d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: changed the split of SSTATE_MIRRORS variable
Cristiana Voicu [Mon, 22 Jul 2013 10:54:10 +0000 (10:54 +0000)]
bitbake: hob: changed the split of SSTATE_MIRRORS variable

Until now the split made searching the string "file://", but
this is not ok when SSTATE_VARIABLE has the following form:
SSTATE_MIRRORS ?= "\
     file://.* http://someserver.tld/share/sstate/PATH \n \
     file://.* file:///some/local/dir/sstate/PATH"

In the documentation I've found that \n is the list separator.

[YOCTO #4857]
(Bitbake rev: 73bcd96928cb2df390e1fc6d3a8b7ce3e9d546a4)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: providers.py: print a debug message for dynamic pacakge
Robert Yang [Fri, 19 Jul 2013 03:07:51 +0000 (03:07 +0000)]
bitbake: providers.py: print a debug message for dynamic pacakge

We can't know the dynamic pacakge's name exactly, there might be a
problem, for example, when we use:

IMAGE_INSTALL_append += "ncurses-lib12344"

The ncurses-lib12344 matches ncurses' dynamic packages pattern:

PACKAGES_DYNAMIC = "^${PN}-lib.*"

so there is no errors before the rootfs creation though there is no
ncurses-lib12344.

We can warn this, but I think that we'd better not since there are many
dynamic packages, or there would be too many warnings, for example, the
perl and kernel modules, maybe we can print a debug message for it.

[YOCTO #4798]

(Bitbake rev: df372ca057f0c8c2152223b3e26ad9a30958bab6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternal-sourcery: add missing providers
Saul Wold [Thu, 25 Jul 2013 21:15:18 +0000 (14:15 -0700)]
external-sourcery: add missing providers

Addess the issue with multiple .bb providers

ERROR: Multiple .bb files are due to be built which each provide virtual/libc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb).
 This usually means one provides something the other doesn't and should.
ERROR: Multiple .bb files are due to be built which each provide virtual/arm-none-linux-gnueabi-libc-for-gcc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb).
 This usually means one provides something the other doesn't and should.
ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb).
 This usually means one provides something the other doesn't and should.

Thanks to Kergoth (Chris Larson) and Lpapp (Lazslo)

[YOCTO #4908]

(From OE-Core rev: 09deeef20ee5a0c12ad4fd89cace6e0fb832d5b1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt: Add Upstream Status to patches
Ionut Radu [Thu, 25 Jul 2013 17:17:42 +0000 (20:17 +0300)]
apt: Add Upstream Status to patches

no-nls-dpkg.patch: Added Upstream Status
use-host.patch: Added Upstream Status
fix-gcc-4.6-null-not-defined.patch: Added Upstream Status

(From OE-Core rev: 9d0da2e46c1b23163ad76b10d5fad889521a68b3)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
[sgw - Squashed patches and fixed up commit subject]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssh: Added Upstream Status to openssh-CVE-2011-4327
Andrei Dinu [Thu, 25 Jul 2013 15:07:02 +0000 (18:07 +0300)]
openssh: Added Upstream Status to openssh-CVE-2011-4327

Updated Upstream Status to openssh patch.

(From OE-Core rev: 71d4a91ffa062a4ab9a2dc0ce97e7405f3d15de7)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
[sgw - Fixed commit line]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "initrdscripts: mount / as read-only when live-booting"
Ross Burton [Thu, 25 Jul 2013 15:31:40 +0000 (16:31 +0100)]
Revert "initrdscripts: mount / as read-only when live-booting"

My test environment must have been messed up as now hddimgs are failing to
re-mount / as read-write.

This reverts commit 7af92f8fa3a12fc8fcb22dbd12f87d89768b2d39.

(From OE-Core rev: 4174dcbd3328e6badb269d09b024f2b83408bd8c)

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 agoclasses/rootfs_rpm: implement BAD_RECOMMENDATIONS for RPM
Paul Eggleton [Wed, 24 Jul 2013 16:26:08 +0000 (17:26 +0100)]
classes/rootfs_rpm: implement BAD_RECOMMENDATIONS for RPM

Add support for the BAD_RECOMMENDATIONS variable that can be used to
prevent specific packages from being installed via an RRECOMMENDS
relationship when using the RPM backend. (Previously this
functionality was only available when using ipk packaging.)

In the process this moves the defaulting of BAD_RECOMMENDATIONS (as
empty) to bitbake.conf since it is no longer specific to the ipk
backend, as well as unifying some of the code that creates the
configuration for smart for use on the host and target.

Fixes [YOCTO #3916].

(From OE-Core rev: 4e85129a7d47baf3e32b815cbc277bff84e085a0)

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/image: ensure BAD_RECOMMENDATIONS supports pre-renamed package names
Paul Eggleton [Thu, 25 Jul 2013 12:25:49 +0000 (13:25 +0100)]
classes/image: ensure BAD_RECOMMENDATIONS supports pre-renamed package names

Use runtime remapping on BAD_RECOMMENDATIONS just as we do with
variables such as IMAGE_INSTALL, so that we're specifying the name prior
to any renaming e.g. that done by debian.bbclass. Note that this is a
change in behaviour for renamed packages, however this is the correct
thing to be doing; a search of existing layers suggests this shouldn't
cause widespread incompatibilities.

(From OE-Core rev: aea9d379ea217c78b64a81853ec3744188158008)

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 agopython-smartpm: add ignore-recommends package flag
Paul Eggleton [Wed, 24 Jul 2013 11:06:37 +0000 (12:06 +0100)]
python-smartpm: add ignore-recommends package flag

Adds support for a flag that is saved into Smart's configuration against
a package that says it should not be installed if it is only recommended
by a package being installed rather than required. This will enable us
to add BAD_RECOMMENDATIONS support for RPM.

(From OE-Core rev: 70517fca31261c1ca4b15bb38f8960b2f95993ba)

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 agopython-smartpm: fix sometimes reporting no provider instead of conflict
Paul Eggleton [Wed, 24 Jul 2013 10:15:57 +0000 (11:15 +0100)]
python-smartpm: fix sometimes reporting no provider instead of conflict

If a requirement of a package is conflicted, depending on how the
solution is reached, Smart's transaction code may eliminate all
providers of the requirement and then error out because nothing provides
them without saying why. To work around this, store a reason and report
that back if we need to, so for example instead of:

  error: Can't install packagegroup-core-ssh-dropbear-1.0-r1@all: no package provides dropbear

we will now get:

  error: Can't install packagegroup-core-ssh-dropbear-1.0-r1@all: unable to install provider for dropbear:
  error:     dropbear-2013.58-r1.0@armv5te is conflicted by openssh-sshd-6.2p2-r0@armv5te

Fixes [YOCTO #4305].

(From OE-Core rev: 1ed09b87fc8780d4a99f6516493fae2e0c92862c)

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 agoutil-linux: fix PACKAGECONFIG options
Koen Kooi [Thu, 25 Jul 2013 14:51:28 +0000 (16:51 +0200)]
util-linux: fix PACKAGECONFIG options

The ??= operator is too weak and it's setting a non-existent PACKAGECONFIG option ('libpam' instead of 'pam').

(From OE-Core rev: 8994ff6650a4c4c2f0b07e5ee6a5f889270151e5)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agostrace: Add ptest
Gabriel Barbu [Thu, 25 Jul 2013 13:28:33 +0000 (15:28 +0200)]
strace: Add ptest

Install strace test suite and run it as ptest.

(From OE-Core rev: 6e2d8724b023e2b6b55db7845009b4422a53c3b3)

Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: add PACKAGEs and PACKAGECONFIG for xvmc
Martin Jansa [Thu, 25 Jul 2013 11:45:57 +0000 (13:45 +0200)]
mesa: add PACKAGEs and PACKAGECONFIG for xvmc

* fixes [YOCTO #4898]

(From OE-Core rev: 6ac10e7d122323618aa10f14fd807b6ae7c2477a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: enable required configuration options for connman
Simon Busch [Wed, 24 Jul 2013 22:29:25 +0000 (22:29 +0000)]
wpa-supplicant: enable required configuration options for connman

Details can be found in the connman documentation:
https://git.kernel.org/cgit/network/connman/connman.git/tree/README#n280

(From OE-Core rev: 2e4d939b6a0061eec22b859a827dedda51b299ba)

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 agovideoproto: Update from 2.3.1 to 2.3.2
Ionut Radu [Thu, 25 Jul 2013 14:33:45 +0000 (17:33 +0300)]
videoproto: Update from 2.3.1 to 2.3.2

(From OE-Core rev: 84c22d955b613cfe9b22bc43190b82f59168a99c)

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 agolibuser: Updated from 0.58 to 0.59
Ionut Radu [Thu, 25 Jul 2013 11:49:18 +0000 (14:49 +0300)]
libuser: Updated from 0.58 to 0.59

(From OE-Core rev: 0a09a4e550e9f8b3caa6fef5d6dd555e75cababa)

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 agolibxxf86dga: Updated from 1.1.3 to 1.1.4
Ionut Radu [Wed, 24 Jul 2013 11:18:20 +0000 (14:18 +0300)]
libxxf86dga: Updated from 1.1.3 to 1.1.4

(From OE-Core rev: ba832d25b8758811da88b8ef0cfd17d9dabb218d)

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 agolibxrandr: Update from 1.4.0 to 1.4.1
Ionut Radu [Wed, 24 Jul 2013 10:48:17 +0000 (13:48 +0300)]
libxrandr: Update from 1.4.0 to 1.4.1

(From OE-Core rev: 5536d5854391b8c32dfba987b09a7bc88a152bca)

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 agolibxfont: Update from 1.4.5 to 1.4.6
Ionut Radu [Wed, 24 Jul 2013 08:08:22 +0000 (11:08 +0300)]
libxfont: Update from 1.4.5 to 1.4.6

(From OE-Core rev: 214d806d6964393c031917309a0ac934f67e9d3c)

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 agorpm: remove the obsolete rpm-postinsts.bb
Chen Qi [Fri, 19 Jul 2013 09:39:25 +0000 (17:39 +0800)]
rpm: remove the obsolete rpm-postinsts.bb

Now that the postinsts of rpm, deb and ipk are all handled in the one
central place, run-postinsts.bb, the rpm-postinsts.bb recipe is actually
obsolete now. Remove this recipe to avoid confusion.

(From OE-Core rev: 308185c215b8dd969d1230e52444ce3c11fc2c57)

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 agoqemu: block to build it on mips64 arch
Roy.Li [Wed, 24 Jul 2013 08:02:46 +0000 (16:02 +0800)]
qemu: block to build it on mips64 arch

qemu packages can NOT be built for mips64, Set COMPATIBLE_HOST to null to
block build them for such platform.

(From OE-Core rev: 239d46d9060ee4f30da4f7633377639283f16453)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext: disable nls when INHIBIT_DEFAULT_DEPS is set
Martin Jansa [Mon, 22 Jul 2013 16:51:11 +0000 (18:51 +0200)]
gettext: disable nls when INHIBIT_DEFAULT_DEPS is set

* for example in gcc-runtime DEPENDS_GETTEXT from gettext.bbclass isn't
  used because gcc-runtime recipes also set INHIBIT_DEFAULT_DEPS,
  explicitly disable NLS when DEPENDS_GETTEXT is empty
* this is causing undeterministic build
  if you compare i586-oe-linux/libstdc++-v3/config.log in WORKDIR when building
  gcc-runtime before and after building gettext-native you'll see that msgfmt
  isn't found in one of them and gcc-runtime-locale-{de,fr} packages
  aren't created, there is only one file in them:
  gcc-runtime-locale-de/usr/share/locale/de/LC_MESSAGES/libstdc++.mo

(From OE-Core rev: 8f0b07fc53c94426efa3557424328b52a61e7305)

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 jpeg, wavpack, gdkpixbuf, v4l, bzip2, orc
Martin Jansa [Sun, 21 Jul 2013 14:55:26 +0000 (16:55 +0200)]
gst-plugins-good: add PACKAGECONFIG for jpeg, wavpack, gdkpixbuf, v4l, bzip2, orc

(From OE-Core rev: eb3a2553ed3b627cb25001b552624690b4959069)

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 agogstreamer1.0-plugins-good: add PACKAGECONFIG for v4l
Martin Jansa [Sun, 21 Jul 2013 14:41:51 +0000 (16:41 +0200)]
gstreamer1.0-plugins-good: add PACKAGECONFIG for v4l

(From OE-Core rev: 2dafdba357ba90c5cfaa7577734ddcf2f9ad4f14)

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 agosudo: add PACKAGECONFIG for zlib
Martin Jansa [Sun, 21 Jul 2013 13:53:39 +0000 (15:53 +0200)]
sudo: add PACKAGECONFIG for zlib

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: 871d9d264dbf43ca4a7d000f39253d16854c0bd3)

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 agosocat: add PACKAGECONFIG for tcp-wrappers
Martin Jansa [Sun, 21 Jul 2013 13:51:50 +0000 (15:51 +0200)]
socat: add PACKAGECONFIG for tcp-wrappers

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: 15d82c0f0cccdf0886d4452fddf399b7569f7e56)

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 agopython-imaging: add PACKAGECONFIG for lcms
Martin Jansa [Sun, 21 Jul 2013 13:45:41 +0000 (15:45 +0200)]
python-imaging: add PACKAGECONFIG for lcms

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: c11aaac4952320f565bd65ec5f601c50763408a7)

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 agopatch: add PACKAGECONFIG for attr
Martin Jansa [Sun, 21 Jul 2013 13:41:55 +0000 (15:41 +0200)]
patch: add PACKAGECONFIG for attr

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: 2eb394b6111a7df730e38604e8efe8bce5c1653a)

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 agoltp: add acl, openssl dependency
Martin Jansa [Sun, 21 Jul 2013 13:37:07 +0000 (15:37 +0200)]
ltp: add acl, openssl dependency

* when it's not detected in sysroot it uses bundled version
* add explicit dependency to make it deterministic
* PACKAGECONFIG wasn't used because configure doesn't have an
  option to select which one should be used

(From OE-Core rev: 98c6ea817bb0ca60bddc6be5cf90f14d46cc05a2)

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 agominicom: add configure option and PACKAGECONFIG for lockdev
Martin Jansa [Sun, 21 Jul 2013 13:34:21 +0000 (15:34 +0200)]
minicom: add configure option and PACKAGECONFIG for lockdev

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: a886f2f78c847df9d6fbbcbd3c4ad3581b928e2f)

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 agomailx: remove support for autodetection of krb5
Martin Jansa [Sun, 21 Jul 2013 13:10:28 +0000 (15:10 +0200)]
mailx: remove support for autodetection of krb5

* it's autodetected from sysroot and makeconfig doesn't allow
  to explicitly define what's expected

(From OE-Core rev: 203d5e1deb53e1c968498ff7595f57c73dc2697a)

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 agogrub: add PACKAGECONFIG for grub-mount
Martin Jansa [Sun, 21 Jul 2013 12:54:24 +0000 (14:54 +0200)]
grub: add PACKAGECONFIG for grub-mount

* fuse is autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: 5e7c3228acce9f95b506ecce9712e843c35067df)

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 agodistcc: add PACKAGECONFIG for popt
Martin Jansa [Sun, 21 Jul 2013 12:51:51 +0000 (14:51 +0200)]
distcc: add PACKAGECONFIG for popt

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: 04f100e7dacc4b78c764a8ec5cedc1b1b4b1c285)

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 agodirectfb: add PACKAGECONFIG for jpeg2000
Martin Jansa [Sun, 21 Jul 2013 12:48:58 +0000 (14:48 +0200)]
directfb: add PACKAGECONFIG for jpeg2000

* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: abbe0da427ae9184bba19f1286e5edf0df132c22)

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 agocups: add PACKAGECONFIG for acl
Martin Jansa [Sun, 21 Jul 2013 12:45:39 +0000 (14:45 +0200)]
cups: add PACKAGECONFIG for acl

* acl is autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

(From OE-Core rev: 4f0b420b8a64862e6caa53ba0653c27a3d2387c3)

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 agoccache: add zlib dependency
Martin Jansa [Sun, 21 Jul 2013 12:43:44 +0000 (14:43 +0200)]
ccache: add zlib dependency

* when it's not detected in sysroot it uses bundled version
* add explicit dependency to make it deterministic
* PACKAGECONFIG wasn't used because configure doesn't have an
  option to select which one should be used

(From OE-Core rev: 71efa24f0acd3d38d3223ca9811399eeaf8126e4)

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 agoxkeyboard-config: add missing dependency on util-macros
Martin Jansa [Sun, 21 Jul 2013 10:36:21 +0000 (12:36 +0200)]
xkeyboard-config: add missing dependency on util-macros

* build fails without it
  configure.ac:7: error: must install xorg-macros 1.12 or later before

(From OE-Core rev: 8fb59ebab3758d41a13b4892d997176cadbc00e8)

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-bad: add few more PACKAGECONFIGs
Martin Jansa [Sat, 13 Jul 2013 15:32:02 +0000 (17:32 +0200)]
gst-plugins-bad: add few more PACKAGECONFIGs

(From OE-Core rev: cdf6172830bf052ca3a53d439f05ee40574e3968)

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 agotest-dependencies: add simple script to detect missing or autoenabled dependencies
Martin Jansa [Sat, 6 Jul 2013 13:43:00 +0000 (15:43 +0200)]
test-dependencies: add simple script to detect missing or autoenabled dependencies

(From OE-Core rev: a2b3c9e01c871a395a93e162731db77a618306cb)

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 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>