scm/bb/tizen-distro.git
10 years agodbus: remove build host test in configure script
Jackie Huang [Mon, 22 Jul 2013 07:45:41 +0000 (03:45 -0400)]
dbus: remove build host test in configure script

The dbus build tests the build host to detect what initscript
environment it expects.  Remove the test and set it to "redhat"
unconditionally as the oe-core initscript has a redhat-style pid file
path.

(From OE-Core rev: 25dc927009252151cc976b13c3f5bd19131cc4e8)

Signed-off-by: Andy Ross <andy.ross@windriver.com
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: move /bin/su to /usr/bin/su to match util-linux and shadow
Hongxu Jia [Fri, 26 Jul 2013 12:09:10 +0000 (20:09 +0800)]
busybox: move /bin/su to /usr/bin/su to match util-linux and shadow

Both of util-linux and shadow have su binary in /usr/bin, fix busybox
to use the same path so they can be properly tracked by alternatives.

[YOCTO #4926]

(From OE-Core rev: e01735756a76d27b724b9e7829f78e8a335c1f60)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: use u-a for su
Hongxu Jia [Fri, 26 Jul 2013 12:09:09 +0000 (20:09 +0800)]
shadow: use u-a for su

Use alternatives mechanism to prevent confliction of attempted
installing su binary among busybox, shadow and util-linux.

[YOCTO #4926]

(From OE-Core rev: 8d509edcd874e8d43b6fb6c4701c450edbbdef87)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: use u-a for su
Hongxu Jia [Fri, 26 Jul 2013 12:09:08 +0000 (20:09 +0800)]
util-linux: use u-a for su

Use alternatives mechanism to prevent confliction of attempted
installing su binary among busybox, shadow and util-linux.

[YOCTO #4926]

(From OE-Core rev: 6190c69a9f78aeef951c39e4c8700e945bbec5f7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Update for swapoff being a separate binary
Colin Walters [Mon, 29 Jul 2013 12:43:14 +0000 (08:43 -0400)]
util-linux: Update for swapoff being a separate binary

In older versions of util-linux, swapon and swapoff were the
same binary, and it did runtime detection.  But since v2.22
which is util-linux commit 6cf8d46ceefe9a7, they are separate
binaries.

This patch is necessary to make the util-linux version of
swapoff work at all - currently in OE swapoff = swapon, which
is clearly broken =)

Probably most OE consumers use the busybox swapoff and hence
this has gone unnoticed.

(From OE-Core rev: 4a15433f12c616f06192a4cda209da29395ceb93)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpam: deny all services for the OTHER entries
Ming Liu [Fri, 26 Jul 2013 09:51:02 +0000 (17:51 +0800)]
libpam: deny all services for the OTHER entries

To be secure, change behavior of the OTHER entries to warn and deny
access to everything by stating pam_deny.so on all services.

(From OE-Core rev: 4ca0af699b5b4b3cf95b3e76482651949fd922ac)

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>
10 years agolibpng : upgrade to 1.6.3
Andrei Dinu [Fri, 26 Jul 2013 10:45:11 +0000 (13:45 +0300)]
libpng : upgrade to 1.6.3

upgrade from 1.6.2 -> 1.6.3

LICENSE and png.h checksum changed caused by
dates and release numbers.

(From OE-Core rev: 776c753bc5745b098d6a80e61c7332d956ae7f4f)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocsl-versions.inc: instruct user to check local.conf
Laurentiu Palcu [Fri, 26 Jul 2013 12:31:27 +0000 (15:31 +0300)]
csl-versions.inc: instruct user to check local.conf

In case the compiler version cannot be extracted instruct user to check
that the toolchain supports MACHINE's architecture and that the latter
is set correctly in local.conf.

[YOCTO #4901]

(From OE-Core rev: 0023188ec27404b8109ea92d7f7f23748aa62a46)

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>
10 years agodistrodata.bbclass: Include PRSPV variable in upstream version checking
Emilia Ciobanu [Fri, 26 Jul 2013 15:58:17 +0000 (18:58 +0300)]
distrodata.bbclass: Include PRSPV variable in upstream version checking

The PRSPV variable is used for the packages that have different
representation for a same upstream and local version (e.g 2.0 vs 20).
In this case, the system is using PRSPV instead of PV when comparing
the local and upstream versions.

The packages that are using this modification are the following:
* zip
* unzip
* docbook-sgml-dtd-3.1-native
* docbook-sgml-dtd-4.1-native

(From OE-Core rev: 1d709d61da99f0e8a897f40a9d2a14bfaa1ee77e)

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>
10 years agodistrodata.bbclass: Remove whitespaces
Emilia Ciobanu [Fri, 26 Jul 2013 15:58:18 +0000 (18:58 +0300)]
distrodata.bbclass: Remove whitespaces

(From OE-Core rev: 2275dd9507fa7b8c3e62ffcf8b9b16120f16fe8f)

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>
10 years agopseudo: Always try to build 32-bit libpseudo when NO32LIBS is set to 0
Peter Seebach [Fri, 26 Jul 2013 12:49:36 +0000 (07:49 -0500)]
pseudo: Always try to build 32-bit libpseudo when NO32LIBS is set to 0

This is for Yocto bug #4920. The NO32LIBS variable is intended to allow
the user to force the creation of a 32-bit libpseudo, for use with things
like prebuilt binary toolchains. Unfortunately, the tests for likely
compilability (stubs-32.h) were still present, so you would get silent
failures. And if you did cause it to try to build, the failures were not
particularly clearly explained.

So, we:
1. Emit at least a message during configuration saying we're only
building 64-bit, if we are.
2. Warn the user for at least one common case where we know builds
are likely to fail.
3. If NO32LIBS is 0, we try the compile for sure, and if it fails,
we've emitted at least some sort of message up near the top of the
compile output that tells you what might be wrong.

(From OE-Core rev: 22548b3243dfa2dc9861b0f15530632b37812a8c)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: Add syslog-init alternative only if SysV in enabled
Muhammad Shakeel [Mon, 29 Jul 2013 08:09:52 +0000 (13:09 +0500)]
busybox: Add syslog-init alternative only if SysV in enabled

If systemd is enabled then syslog is handled through a service file
and related files in /etc/init.d are removed. This removes following
warning:

WARNING: busybox: NOT adding alternative provide /etc/init.d/syslog:
/etc/init.d/syslog.busybox does not exist

(From OE-Core rev: 29c3ecee32d9bfb03099a4f10456fd0270e107fb)

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>
10 years agosystemd: Remove init.d dir if systemd unit file is present and sysvinit not a distro...
Muhammad Shakeel [Mon, 29 Jul 2013 08:09:51 +0000 (13:09 +0500)]
systemd: Remove init.d dir if systemd unit file is present and sysvinit not a distro feature

If systemd is supported DISTRO_FEATURE and sysvinit is not and also if
systemd_unitdir contains anything then no need to keep init.d scripts
for sysvinit compatibility.

(From OE-Core rev: 823c90ad344ca2205f3055e2dcae08c6616f29b7)

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>
10 years agov86d: mark as compatible with all x86, not just qemux86
Ross Burton [Mon, 29 Jul 2013 14:40:06 +0000 (15:40 +0100)]
v86d: mark as compatible with all x86, not just qemux86

This package isn't specific to qemux86 but all x86 machines that are using the
userspace VESA framebuffer kernel driver.

(From OE-Core rev: 3be0967f14a9865215debe7fae666bd92b4968a0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: upgrade to v3.10.0
Cristian Iorga [Mon, 29 Jul 2013 14:35:27 +0000 (17:35 +0300)]
iproute2: upgrade to v3.10.0

(From OE-Core rev: c7979674c038cead7b2f8cfdd2f9ea79d5cdc550)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: update to 4.07
Jonathan Liu [Mon, 29 Jul 2013 14:15:14 +0000 (00:15 +1000)]
syslinux: update to 4.07

(From OE-Core rev: 1352eaa655cdf9887194ecc9d14194ab1b50a1b8)

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>
10 years agodocbook-sgml-dtd-4.1-native: fix recipe name
Emilia Ciobanu [Mon, 29 Jul 2013 10:22:12 +0000 (13:22 +0300)]
docbook-sgml-dtd-4.1-native: fix recipe name

Package recipe should contain version token in its name.

(From OE-Core rev: 6d4e71b72aee4cf03bc93d2143e6a6b67bf6cfee)

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>
10 years agodocbook-sgml-dtd-3.1-native: fix recipe name
Emilia Ciobanu [Mon, 29 Jul 2013 10:22:11 +0000 (13:22 +0300)]
docbook-sgml-dtd-3.1-native: fix recipe name

Package recipe should contain version token in its name.

(From OE-Core rev: c3c424b447ed4ad46263ef379b7e8892f3974821)

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