]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agomesa-demos: Specify the lib dir to locate glut libraries
Drew Moseley [Thu, 8 May 2014 20:17:41 +0000 (16:17 -0400)]
mesa-demos: Specify the lib dir to locate glut libraries

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoclasses/lib/oe: Fix cross/crosssdk references
Richard Purdie [Fri, 9 May 2014 12:29:13 +0000 (13:29 +0100)]
classes/lib/oe: Fix cross/crosssdk references

With the renaming of the cross packages, its no longer possible to use
endswith("-cross") and similar to detect cross packages. Replace these
references with other techniques.

This resolves certain build from sstate failures which were due to the
system believing cross packages were target packages and therefore
dependency handling was altered.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosystemd: Upgrade past 212 release
Khem Raj [Fri, 9 May 2014 05:29:43 +0000 (22:29 -0700)]
systemd: Upgrade past 212 release

Remove unconditional enable-xz, its specified by PACKAGECONFIG anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoupdate-rc.d: Handle multilib case for initscripts
Saul Wold [Fri, 9 May 2014 00:39:22 +0000 (17:39 -0700)]
update-rc.d: Handle multilib case for initscripts

When building multilib, we also have to add the multlib prefix otherwise
we get a WARNING:
WARNING: Multilib QA Issue: lib32-dbus package lib32-dbus - suspicious values 'initscripts-functions' in RDEPENDS

[YOCTO #6164]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agort-tests: bump version 0.87 => 0.89
Anders Roxell [Thu, 24 Apr 2014 22:09:05 +0000 (17:09 -0500)]
rt-tests: bump version 0.87 => 0.89

cyclictest was updated to correct some problems with CPU affinity selection
and display of help and/or execution details.
These patches were accepted by the maintainer of the cyclictest utility.
The changes were reflected in an updated release of rt-tests - v0.89
The cyclictest changes were successfully tested on both an ARM v7 and x86_64
host environment.
The OE recipe was updated locally to incorporate the newer rt-tests release
and the resulting builds were verified for the same ARM v7 target
and for qemux86.
Patch files obsoleted by the rt-tests 0.89 release were removed from the recipe
deleted:    meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch
deleted:    meta/recipes-rt/rt-tests/files/0002-rt-tests-Break-out-install_hwlatdetect.patch
deleted:    meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agonettle: disable openssl
Valentin Popa [Thu, 8 May 2014 15:35:20 +0000 (18:35 +0300)]
nettle: disable openssl

Do not include openssl glue in the benchmark program.
This should fix a compile issue on multilib.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibpng12: upgrade to 1.2.51
Valentin Popa [Tue, 6 May 2014 13:44:24 +0000 (16:44 +0300)]
libpng12: upgrade to 1.2.51

License is the same.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibsoup: upgrade to 2.46.0
Valentin Popa [Tue, 6 May 2014 13:04:49 +0000 (16:04 +0300)]
libsoup: upgrade to 2.46.0

Removed merged patches:
fix-compiling-failed-while-mips-gcc-optimization-enabled.patch

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibtasn1: upgrade to 3.5
Valentin Popa [Tue, 6 May 2014 13:25:39 +0000 (16:25 +0300)]
libtasn1: upgrade to 3.5

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoicu: upgrade to 53.1
Valentin Popa [Tue, 6 May 2014 14:25:04 +0000 (17:25 +0300)]
icu: upgrade to 53.1

Removed patches:
(*) add_buffer_length_check_to_UTF_16_or_32_detector.patch
    - not needed anymore

License is the same. BSD-like copyright inserted for lao-dictionary.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agochrpath: properly handle rootdir with '..' in path
Matt Cowell [Thu, 17 Apr 2014 19:23:13 +0000 (14:23 -0500)]
chrpath: properly handle rootdir with '..' in path

When there is a '..' in the rootdir path, rootdir will not be a substring of
fpath.  This causes an incorrect rpath of the difference between the workdir
and the sysroot to be computed, which is incorrect.  Normalizing basedir
fixes this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxcb: disable check to avoid floating dependencies
Ross Burton [Wed, 7 May 2014 16:05:33 +0000 (17:05 +0100)]
libxcb: disable check to avoid floating dependencies

The "check" module is checked for in configure without any way to explicitly
enable or disable it, but it isn't a build dependency of libxcb.  If it's found
libxslt is also checked for, which is a build dependency but will only be used
if check is also present.

As the libxcb unit test suite is minimal at present, forcibly disable the test
for check and remove the libxslt-native build dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: upgrade to 2.40.2
Ross Burton [Wed, 7 May 2014 16:05:31 +0000 (17:05 +0100)]
librsvg: upgrade to 2.40.2

Also add Upstream-Status to gtk-option.patch

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: fix parallel build issure for PATHFILES
Chen Qi [Thu, 8 May 2014 08:31:52 +0000 (16:31 +0800)]
util-linux: fix parallel build issure for PATHFILES

When compiling util-linux, it's possible to encounter the following error.

     /bin/sh: line 2:: misc-utils/uuidd.8.tmp: No such file or directory

This is because that the misc-utils directory doesn't exist when trying to
write to misc-utils/uuidd.8.tmp.

When generating misc-utils/uuidd.8 (or anything in PATHFILES), its directory
may not have been created yet. So we need to ensure the existence of the
directory to avoid the compilation error.

[YOCTO #6292]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomirrors.bbclass: Add mirror site for savannah
Changhyeok Bae [Thu, 8 May 2014 03:44:04 +0000 (12:44 +0900)]
mirrors.bbclass: Add mirror site for savannah

* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.gnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
* Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf.
* Change the SRC_URI using the new variable.

Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoattr: Fix uclibc builds
Richard Purdie [Tue, 6 May 2014 12:50:55 +0000 (12:50 +0000)]
attr: Fix uclibc builds

attr needs libintl headers and libs. Add in the missing dependency and
ensure the linker flag gets passed in multilib builds by replacing the
PN == BPN check with a class-target override instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Handle uclibc linker relocation for multilib support
Richard Purdie [Tue, 6 May 2014 12:52:40 +0000 (12:52 +0000)]
gcc: Handle uclibc linker relocation for multilib support

We need to handle the UCLIBC_* linker variables in the same way
as we do the GLIBC_* ones to allow uclibc multilib to work properly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: add /var/log/lastlog to volatile list
Saul Wold [Tue, 6 May 2014 21:14:55 +0000 (14:14 -0700)]
openssh: add /var/log/lastlog to volatile list

The /var/log/messages reports /var/log/lastlog as missing, since openssh
needs this file, create it as a volatile.

[YOCTO #6172]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoseparatebuilddir.inc: Drop, now obsolete
Richard Purdie [Wed, 7 May 2014 14:03:49 +0000 (15:03 +0100)]
separatebuilddir.inc: Drop, now obsolete

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosudo: upgrade from 1.8.9p5 to 1.8.10p2
Chen Qi [Wed, 7 May 2014 03:30:08 +0000 (11:30 +0800)]
sudo: upgrade from 1.8.9p5 to 1.8.10p2

Upgrade sudo from 1.8.9p5 to the newest stable release 1.8.10p2.

The license checksums are modified as required, because the doc/LICENSE
file now declares that compat/inet_pton.c bears the ISC license.

As /var/run/sudo is the default directory for sudo's time stamp
files, this patch adds a configuration file to manage this directory.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibxml2: fix CVE-2014-0191
Maxin B. John [Wed, 7 May 2014 12:24:15 +0000 (14:24 +0200)]
libxml2: fix CVE-2014-0191

It was discovered that libxml2, a library providing support to read,
modify and write XML files, incorrectly performs entity substituton in
the doctype prolog, even if the application using libxml2 disabled any
entity substitution. A remote attacker could provide a
specially-crafted XML file that, when processed, would lead to the
exhaustion of CPU and memory resources or file descriptors.

Reference: https://access.redhat.com/security/cve/CVE-2014-0191

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agokmod: update Upstream-Status for one patch
Cristiana Voicu [Wed, 7 May 2014 09:01:55 +0000 (12:01 +0300)]
kmod: update Upstream-Status for one patch

I will mark Inappropriate because the patch replaces some functions
unavailable in older versions of glibc.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoopenssl: update upstream status for a patch
Cristiana Voicu [Wed, 7 May 2014 09:01:54 +0000 (12:01 +0300)]
openssl: update upstream status for a patch

The patch is not included in 1.0.1g, but it is included on 1.0.2
branch.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoperl: update ptest package dependency list
Maxin B. John [Wed, 7 May 2014 06:28:47 +0000 (08:28 +0200)]
perl: update ptest package dependency list

Add "sed" in the ptest runtime package dependency list

[YOCTO #6260]

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopackage_manager: Fix NoneType Object on do_populate_sdk
Ricardo Ribalda Delgado [Wed, 7 May 2014 11:23:35 +0000 (13:23 +0200)]
package_manager: Fix NoneType Object on do_populate_sdk

PACKAGE_EXCLUDE can be not defined or empty, leading to a build error.

File: '/var/lib/jenkins/jobs/qt5022-cesium/workspace/repo/yocto/meta/lib/oe/package_manager.py', lineno: 1649, function: _create_configs
     1645:                    "Pin-Priority: %d\n\n" % (arch, priority))
     1646:
     1647:                priority += 5
     1648:
 *** 1649:            for pkg in self.d.getVar('PACKAGE_EXCLUDE', True).split():
     1650:                prefs_file.write(
     1651:                    "Package: %s\n"
     1652:                    "Pin: release *\n"
     1653:                    "Pin-Priority: -1\n\n" % pkg)
Exception: AttributeError: 'NoneType' object has no attribute 'split'

ERROR: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /var/lib/jenkins/jobs/qt5022-cesium/workspace/build/tmp/work/bobcat_64-poky-linux/meta-toolchain/1.0-r7/temp/log.do_populate_sdk.21363
NOTE: recipe meta-toolchain-1.0-r7: task do_populate_sdk: Failed
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopackage_manager: Fix Argument list too long
Ricardo Ribalda Delgado [Wed, 7 May 2014 09:20:20 +0000 (11:20 +0200)]
package_manager: Fix Argument list too long

Function buildhistory_list_installed_image fails with error "Argument
list too long". This patch uses a temporal file to pass the package list
to opkg-query-helper.py

File: '/var/lib/jenkins/jobs/qt5022-cesium/workspace/repo/yocto/meta/lib/oe/package_manager.py', lineno: 421, function: list
     0417:            try:
     0418:                output = subprocess.check_output("echo -e '%s' | %s" %
     0419:                                                 (output, opkg_query_cmd),
     0420:                                                 stderr=subprocess.STDOUT,
 *** 0421:                                                 shell=True)
     0422:            except subprocess.CalledProcessError as e:
     0423:                bb.fatal("Cannot compute packages dependencies. Command '%s' "
     0424:                         "returned %d:\n%s" % (e.cmd, e.returncode, e.output))
     0425:
Exception: OSError: [Errno 7] Argument list too long

ERROR: Function failed: buildhistory_list_installed_image
ERROR: Logfile of failure stored in: /var/lib/jenkins/jobs/qt5022-cesium/workspace/build/tmp/work/qt5022-poky-linux/qimage-dev/1.0-r0/temp/log.do_rootfs.16747
NOTE: recipe qimage-dev-1.0-r0: task do_rootfs: Failed
ERROR: Task 7 (/var/lib/jenkins/jobs/qt5022-cesium/workspace/repo/yocto/../qtec/meta-qt5022/recipes-core/images/qimage-dev.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4999 tasks of which 30 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Auto packing the repository for optimum performance.

Summary: 1 task failed:
  /var/lib/jenkins/jobs/qt5022-cesium/workspace/repo/yocto/../qtec/meta-qt5022/recipes-core/images/qimage-dev.bb, do_rootfs
Summary: There were 74 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agox-load: remove recipe
Petter Mabacker [Tue, 6 May 2014 14:03:12 +0000 (16:03 +0200)]
x-load: remove recipe

x-load has been superseded by u-boot SPL for all cortex based TI SoCs.
For legacy boards meta-ti layer (that contains a maintained recipe)
should be used instead.

Signed-off-by: Petter Mabacker <petter@technux.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agouclibc: Set MULTILIB_DIR based on baselib
Richard Purdie [Tue, 6 May 2014 13:50:24 +0000 (14:50 +0100)]
uclibc: Set MULTILIB_DIR based on baselib

baselib contains the current "lib" value so pass this into
uclibc's configration to allow multilib builds to work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibiconv: Fix B != S with uclibc builds
Richard Purdie [Tue, 6 May 2014 13:49:50 +0000 (14:49 +0100)]
libiconv: Fix B != S with uclibc builds

Without this, uclibc builds fail with libtool version mismatches. The issue
is that we need to remove the files in ${S}, not ${B} which is now
the default after the B != S change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoptest: Work from PTEST_ENABLED, not DISTRO_FEATURES
Richard Purdie [Tue, 6 May 2014 13:48:37 +0000 (14:48 +0100)]
ptest: Work from PTEST_ENABLED, not DISTRO_FEATURES

Some classes of recipe disable ptest even though its in DISTRO_FEATURES
(e.g. nativesdk). We shouldn't attempt to build ptest packages when
its disabled. This replaces some DISTRO_FEATURE checks with PTEST_ENABLED
checks instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoscripts/runqemu: avoid pipe with sed
Matthieu Crapet [Tue, 6 May 2014 12:17:53 +0000 (14:17 +0200)]
scripts/runqemu: avoid pipe with sed

Replace:
cat <file> | sed -e xxx
By:
sed -e xxx <file>

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoinitscripts: avoid pipe with sed
Matthieu Crapet [Tue, 6 May 2014 12:17:52 +0000 (14:17 +0200)]
initscripts: avoid pipe with sed

Small optimisation in /etc/init.d/populate-volatile.sh.

Replace:
cat <file> | sed -e xxx
By:
sed -e xxx <file>

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosysvinit-inittab: avoid pipe with grep
Matthieu Crapet [Tue, 6 May 2014 12:17:51 +0000 (14:17 +0200)]
sysvinit-inittab: avoid pipe with grep

Replace:
cat <file> | grep xxx
By:
grep xxx <file>

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agodropbear: avoid pipe with sed
Matthieu Crapet [Tue, 6 May 2014 12:17:50 +0000 (14:17 +0200)]
dropbear: avoid pipe with sed

Replace:
cat <file> | sed -e xxx
By:
sed -e xxx <file>

+ fix indentation

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoapmd: avoid pipe with sed
Matthieu Crapet [Tue, 6 May 2014 12:17:49 +0000 (14:17 +0200)]
apmd: avoid pipe with sed

Replace:
cat <file> | sed -e xxx
By:
sed -e xxx <file>

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoacpid: avoid pipe with sed
Matthieu Crapet [Tue, 6 May 2014 12:17:48 +0000 (14:17 +0200)]
acpid: avoid pipe with sed

Replace:
cat <file> | sed -e xxx
By:
sed -e xxx <file>

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years ago*.bbclass (shell): avoid pipe with sed
Matthieu Crapet [Tue, 6 May 2014 12:17:47 +0000 (14:17 +0200)]
*.bbclass (shell): avoid pipe with sed

Replace:
cat <file> | sed -e xxx
By:
sed -e xxx <file>

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agotcl: cleanup
Matthieu Crapet [Tue, 6 May 2014 10:59:54 +0000 (12:59 +0200)]
tcl: cleanup

Changes:
- add missing licence file: tcl
- use binconfig to patch tclConfig.sh paths
- avoid subshell in do_configure()
- use ${PV}

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agorxvt-unicode: upgrade to 9.20
Cristiana Voicu [Tue, 6 May 2014 08:26:16 +0000 (11:26 +0300)]
rxvt-unicode: upgrade to 9.20

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agobabeltrace: upgrade to 1.2.1
Cristiana Voicu [Tue, 6 May 2014 08:26:15 +0000 (11:26 +0300)]
babeltrace: upgrade to 1.2.1

The release for 1.2.1 is on branch stable-1.2.
Backported a patch to fix out of tree build.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agommc-utils: fix compilation failure for mips64 target.
Chen Qi [Tue, 6 May 2014 07:53:12 +0000 (15:53 +0800)]
mmc-utils: fix compilation failure for mips64 target.

This patch fixes mmc-utils compilation failure for qemumips64.
Remove the 'include <asm-generic/int-ll64.h>' line from mmc.h,
because this file is automatically included if _MIPS_SZLONG
is not 64, otherwise, <asm-generic/int-l64.h> is included.

Expicitly including <asm-generic/int-ll64.h> will cause the
compilation failure for mips64 target.

[YOCTO #6267]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoltp: enable PM and RT tests
Koen Kooi [Tue, 6 May 2014 07:03:46 +0000 (09:03 +0200)]
ltp: enable PM and RT tests

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoperl: fix missing Module::Metadata
Tim Orling [Tue, 6 May 2014 05:09:13 +0000 (22:09 -0700)]
perl: fix missing Module::Metadata

Module::Build depends on Module::Metadata (since perl 5.13.9).
Module::Metainfo is only a wrapper for Module::Metadata.

See discussion in http://patches.openembedded.org/patch/66233/

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoopenssl: fix CVE-2014-0198
Maxin B. John [Tue, 6 May 2014 00:53:34 +0000 (02:53 +0200)]
openssl: fix CVE-2014-0198

A null pointer dereference bug was discovered in do_ssl3_write().
An attacker could possibly use this to cause OpenSSL to crash, resulting
in a denial of service.

https://access.redhat.com/security/cve/CVE-2014-0198

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopython3: Revert python-config to distutils.sysconfig
Tyler Hall [Mon, 5 May 2014 00:06:43 +0000 (20:06 -0400)]
python3: Revert python-config to distutils.sysconfig

The newer sysconfig module shares some code with distutils.sysconfig,
but the same modifications as in

12-distutils-prefix-is-inside-staging-area.patch

makes distutils.sysconfig affect the native runtime as well as cross
building.  Use the old, patched implementation which returns paths in
the staging directory and for the target, as appropriate.

This change reverts this upstream patch
http://hg.python.org/cpython/diff/712970b019f7/Misc/python-config.in

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopython3: Substitute correct python version in shebang
Tyler Hall [Sun, 4 May 2014 22:37:50 +0000 (18:37 -0400)]
python3: Substitute correct python version in shebang

If python2 and python3 are both available, scripts that are subject to
this substitution can possibly run with the wrong python version.
python3-config is one such script.

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agodistutils.bbclass: only modify *.py file if it contains path to be removed
Radek Dostal [Mon, 5 May 2014 07:38:22 +0000 (09:38 +0200)]
distutils.bbclass: only modify *.py file if it contains path to be removed

Currently sed command touches every single *.py file. This modifies the
timestamp of the file. All *.pyo files will be recompiled during the first
boot, because timestamp will not match. This should be only necessary if
sed command changes the file.

Signed-off-by: Radek Dostal <radek.dostal@streamunlimited.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agopython3/gcc/autoconf: Fix Upstream-Status in some patches I authored
Richard Purdie [Wed, 7 May 2014 14:14:29 +0000 (15:14 +0100)]
python3/gcc/autoconf: Fix Upstream-Status in some patches I authored

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase.bbclass: Fix multilib PREFERRED_VERSION handling
Richard Purdie [Wed, 7 May 2014 14:03:18 +0000 (15:03 +0100)]
base.bbclass: Fix multilib PREFERRED_VERSION handling

Now that gcc-cross, gcc-crosssdk and others have expanded variables in
their names, the code that previous just applied to cross-canadian needs
expanding to cover the other cases. Improve the conditional and also
fix a bug where the multilib prefix wasn't being added into the generated
versions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcmode-default: Fix up sdk related PREFERRED_VERSION variables after toolchain changes
Richard Purdie [Wed, 7 May 2014 09:28:08 +0000 (10:28 +0100)]
tcmode-default: Fix up sdk related PREFERRED_VERSION variables after toolchain changes

Also drop an obsolete gcc-cross-intermediate reference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcmode-default.inc: Adjust for new toolchain component changes
Khem Raj [Tue, 6 May 2014 07:32:50 +0000 (00:32 -0700)]
tcmode-default.inc: Adjust for new toolchain component changes

Recently we renames the cross compilers as well as spun out
libgcc-initial from gcc-initial out. We need to also express
it in default tcmode otherwise defining GCCVERSION and/or BINUVERSION
outside OE-Core does not cover all cases

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-firmware: upgrade to commit dec41bce44e0dff6a2c3358a958fadf22bf58858
Cristian Iorga [Mon, 5 May 2014 11:36:09 +0000 (14:36 +0300)]
linux-firmware: upgrade to commit dec41bce44e0dff6a2c3358a958fadf22bf58858

- Updated copyright years for radeon firmware;
- Changed copyright terms (privilege of use) for qla2xxx firmware;
- Changed Broadcom firmware name for SDIO;
- Added TI wl18xx firmware package.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agotaglib: upgrade to 1.9.1
Cristian Iorga [Fri, 2 May 2014 14:15:11 +0000 (17:15 +0300)]
taglib: upgrade to 1.9.1

- Updated website;
- Updated tarball location;
- Switched to BP variable;
- Improved source dir definition;

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolinux-yocto/3.10: mei.cfg: enable Intel chipsets
Bruce Ashfield [Mon, 5 May 2014 13:47:49 +0000 (09:47 -0400)]
linux-yocto/3.10: mei.cfg: enable Intel chipsets

Importing the mei meta data change from the yocto 3.14 kernel tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolinux-yocto/3.14: update to v3.14.2
Bruce Ashfield [Mon, 5 May 2014 13:45:14 +0000 (09:45 -0400)]
linux-yocto/3.14: update to v3.14.2

Updating to the korg 3.14.2 -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolinux-yocto/3.10: update to v3.10.38
Bruce Ashfield [Mon, 5 May 2014 13:42:04 +0000 (09:42 -0400)]
linux-yocto/3.10: update to v3.10.38

Updating to the korg -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolinux-yocto/3.4: update to v3.4.88
Bruce Ashfield [Mon, 5 May 2014 13:40:04 +0000 (09:40 -0400)]
linux-yocto/3.4: update to v3.4.88

Updating the 3.4 SRCREVs to import the korg v3.4.88 -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolinux-yocto-custom: provide defconfig guidance
Bruce Ashfield [Mon, 28 Apr 2014 16:09:33 +0000 (12:09 -0400)]
linux-yocto-custom: provide defconfig guidance

As reported by Andrea, defconfigs created with savedefconfig should specify
their expansion mode as "--alldefconfig' for custom yocto recipes. To ensure
that this is documented, we can add a comment in the skeleton recipe.

Reported-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agokernel-yocto: quote kconfig mode check
Bruce Ashfield [Thu, 24 Apr 2014 18:09:39 +0000 (14:09 -0400)]
kernel-yocto: quote kconfig mode check

We allow inheriting recipes to control the kconfig mode used by merge_config.sh
via the KCONFIG_MODE variable. An error crept into the variable reference, and
since it is not quoted, the true condition always runs.

The result is that operations without an explicit kconfig mode cannot trigger
allnoconfig for defconfig builds, which can result in some options being
dropped from the final .config.

Quoting the reference allows it to evaluate properly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoqt4: Explicitly disable sqlite2
Martin Jansa [Mon, 5 May 2014 13:36:28 +0000 (15:36 +0200)]
qt4: Explicitly disable sqlite2

* notice that this disables only sqlite2 (sqlite dependency),
  sqlite (sqlite3 dependency) stays enabled

* fixes these errors detected by test-dependencies.sh:
  qt4-embedded/qt4-embedded-plugin-sqldriver-sqlite2/latest doesn't exist
  qt4-embedded/qt4-embedded-plugin-sqldriver-sqlite2-dbg/latest doesn't exist
  qt4-x11-free/qt4-plugin-sqldriver-sqlite2/latest doesn't exist
  qt4-x11-free/qt4-plugin-sqldriver-sqlite2-dbg/latest doesn't exist

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoldconfig-native: also default to lib32 and lib64 directories
Ming Liu [Mon, 5 May 2014 02:30:33 +0000 (10:30 +0800)]
ldconfig-native: also default to lib32 and lib64 directories

make ldconfig default to /lib+/usr/lib, /lib32+/usr/lib32 and
/lib64+/usr/lib64 on bi-ABI architectures.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoserial-getty service: Add xterm as default TERM
Joel Fernandes [Sun, 4 May 2014 20:47:45 +0000 (16:47 -0400)]
serial-getty service: Add xterm as default TERM

In poky with systemd enabled, vt102 is selected for getty
causing user to experience a very crappy terminal. Default
TERM to xterm.

Reviewed-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agogdbm: enable ptest support
Maxin B. John [Sun, 4 May 2014 14:02:07 +0000 (16:02 +0200)]
gdbm: enable ptest support

Install gdbm test-suite and run it as ptest

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agodefaultsetup: enable blacklist by default
Martin Jansa [Sat, 3 May 2014 17:24:49 +0000 (19:24 +0200)]
defaultsetup: enable blacklist by default

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agosystemtap: update to 2.5 release
Fathi Boudra [Thu, 1 May 2014 12:20:06 +0000 (15:20 +0300)]
systemtap: update to 2.5 release

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agogrub git: update to latest git (grub-2.02-beta2-81-g4b8b913)
Fathi Boudra [Mon, 28 Apr 2014 06:26:31 +0000 (09:26 +0300)]
grub git: update to latest git (grub-2.02-beta2-81-g4b8b913)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agowpa-supplicant: add libgcrypt as a dependencie
Valentin Popa [Wed, 30 Apr 2014 13:12:49 +0000 (16:12 +0300)]
wpa-supplicant: add libgcrypt as a dependencie

gnutls doesn't depend on libgcrypt anymore but
wpa-supplicant does. So add it as a dependencie.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agognutls: update to 3.2.13
Valentin Popa [Mon, 28 Apr 2014 14:27:29 +0000 (17:27 +0300)]
gnutls: update to 3.2.13

Removes not needed or already merged patches.

Removes unused configure flags.
Tells gnutls to use the included libopts.

Removes libextra (not needed since 3.0.5).

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agonettle: add nettle to oe-core
Valentin Popa [Mon, 28 Apr 2014 14:28:19 +0000 (17:28 +0300)]
nettle: add nettle to oe-core

Newer versions of gnutls depends on nettle.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibgcrypt: update to 1.6.1
Saul Wold [Mon, 21 Apr 2014 17:53:35 +0000 (10:53 -0700)]
libgcrypt: update to 1.6.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoxinput-calibrator: fix XDG launch
Koen Kooi [Wed, 30 Apr 2014 09:33:23 +0000 (11:33 +0200)]
xinput-calibrator: fix XDG launch

In the move from meta-oe to OE-core XDG based launched was dropped
without noting it in the commit message, so fix that regression.

Gnome-session will now launch the calibrator again.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoxdg-utils: reinstall xdg-terminal
Koen Kooi [Tue, 29 Apr 2014 05:37:54 +0000 (07:37 +0200)]
xdg-utils: reinstall xdg-terminal

It's being used by e.g. gnome-session when Terminal=true is set in
.desktop files, like xinput-calibrator does.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoprocps: Do not detect 32/64 bit compiler options
Khem Raj [Sat, 3 May 2014 15:56:26 +0000 (08:56 -0700)]
procps: Do not detect 32/64 bit compiler options

It gets its wrong in detecting 64bit options
and OE we already pass the right options as compiler
defaults

(From OE-Core rev: ec3add1752a410fada04b4788c142b91ef63ffa3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules_2.3.3.bb: Fix build on ARM/gcc-4.9
Khem Raj [Sat, 3 May 2014 05:32:58 +0000 (22:32 -0700)]
lttng-modules_2.3.3.bb: Fix build on ARM/gcc-4.9

Update the structure to work with immutable bio_vecs

(From OE-Core rev: 09d3d8f97d6c60707b8dfb3fa5b04fa2efe6f6f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: Fix build on gcc 4.9
Khem Raj [Fri, 2 May 2014 23:31:17 +0000 (16:31 -0700)]
mdadm: Fix build on gcc 4.9

Fix

error: right-hand operand of comma expression has no effect
[-Werror=unused-value]

(From OE-Core rev: 9e1aac485175d29951f7ad23cd7515c8f7580271)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: Update to 0.9.9
Khem Raj [Fri, 2 May 2014 18:14:48 +0000 (11:14 -0700)]
oprofile: Update to 0.9.9

Backport patches to fix with gcc 4.9
delete applied patches and obsoleted ones

(From OE-Core rev: 9ef0ed510aff5e975fb6d8be9330a10172a5b5d8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Fix build with gcc 4.9
Khem Raj [Sun, 23 Mar 2014 01:57:32 +0000 (18:57 -0700)]
systemd: Fix build with gcc 4.9

We need to use gcc-nm and gcc-ar to deal with slim objects
which are generated when using -flto

(From OE-Core rev: e6d84c9f4fef201217ada60711ecfb94bc5dc2e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Fix building nativesdk binutils with gcc 4.9
Khem Raj [Fri, 25 Apr 2014 07:19:30 +0000 (00:19 -0700)]
binutils: Fix building nativesdk binutils with gcc 4.9

Patches explain the issue in detail but this is exposed
with gcc 4.9 in binutils 2.24

(From OE-Core rev: fc5c467b680fc5aef4b0f689e6988e17a9322ae0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo: Fix build with gcc 4.9
Khem Raj [Fri, 25 Apr 2014 07:14:16 +0000 (00:14 -0700)]
cairo: Fix build with gcc 4.9

Fix upstream bug
https://bugs.freedesktop.org/show_bug.cgi?id=77060

gcc 4.9 now generates slim objects when LTO is used
These slim objects only contain intermediate language
representation for LTO. Use -ffat-lto-objects to create files which
contain additionally the object code. When linking some .so file, the option
'-flto' is missed, so the error happens.
We add '-ffat-lto-objects' flag to make gcc 4.9 behaves the same as gcc 4.8.

(From OE-Core rev: c4e65e14fbdf957aa34e074337c5649a0b0888b7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Add 4.9 recipes
Khem Raj [Wed, 19 Mar 2014 22:20:56 +0000 (15:20 -0700)]
gcc: Add 4.9 recipes

(From OE-Core rev: f051216ea373f166016b15bbd2a2a6f136430372)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocleanup-workdir: Fix crosssdk reference after addition of PN
Richard Purdie [Mon, 5 May 2014 08:05:20 +0000 (09:05 +0100)]
cleanup-workdir: Fix crosssdk reference after addition of PN

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatetests: Use TUNE_ARCH instead of TARGET_ARCH
Richard Purdie [Sun, 4 May 2014 16:36:10 +0000 (17:36 +0100)]
sstatetests: Use TUNE_ARCH instead of TARGET_ARCH

The scripts extact variable values from bitbake -e. Unfortunately
TARGET_ARCH is unset from that environment so we use TUNE_ARCH instead
which will have the value we need.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatetests: Update after binutils-cross name change with PN addition
Richard Purdie [Sun, 4 May 2014 08:29:02 +0000 (09:29 +0100)]
sstatetests: Update after binutils-cross name change with PN addition

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocurl: Backport a fix for a build issue
Tudor Florea [Fri, 2 May 2014 22:21:23 +0000 (00:21 +0200)]
curl: Backport a fix for a build issue

mkhelp: generate code for --disable-manual as well

This allows configure --disable-manual to run and build without having
to regenerate the src/tool_hugehelp.c file which otherwise is necessary
since we ship tarballs with that file present.

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-common: Ensure checksums don't change to match old behaviour
Richard Purdie [Sat, 3 May 2014 10:14:47 +0000 (11:14 +0100)]
gcc-common: Ensure checksums don't change to match old behaviour

There is a fix about to go into bitbake to ensure that datastores
being accessed with a name other than "d" are correctly reflected
in checksums. This will cause this function to add in a number of
dependencies we don't want.

These do need to be properly unravelled in due course but would
only really affect multilib builds. For now therefore just exclude
the variables as per the old behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoPR bumps to remove PRINC usage from meta-raspberrypi
Paul Barker [Fri, 2 May 2014 15:46:25 +0000 (15:46 +0000)]
PR bumps to remove PRINC usage from meta-raspberrypi

This allows us to remove the following uses of PRINC in meta-raspberrypi:

recipes-bsp/formfactor/formfactor_0.0.bbappend:
    PRINC = "1"

recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend:
    PRINC := "${@int(PRINC) + 5}"

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdd texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.
Max Eliaser [Thu, 1 May 2014 20:00:28 +0000 (13:00 -0700)]
Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.

The class itself currently does nothing. The idea is to mark all recipes that
make use of the texinfo utilities. In the future, this class could be used to
suppress the generation/formatting of documentation for performance,
explicitly track dependencies on these utilities, and eliminate Yocto's
current dependency on the host system's texinfo utilities.

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-common: Only apply fpu settings to target gcc
Richard Purdie [Thu, 1 May 2014 15:40:19 +0000 (16:40 +0100)]
gcc-common: Only apply fpu settings to target gcc

Within the OE build environment, we supply the correct fpu settings. These
only need to be spelt out for the on-target gcc.

Doing this means the checksums for the core compiler don't depend on the fpu
settings. We exclude the compiler tunes for similar reasons, it doesn't need
to influence the compiler build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross: Drop TARGET_CC_ARCH
Richard Purdie [Thu, 1 May 2014 14:41:44 +0000 (15:41 +0100)]
gcc-cross: Drop TARGET_CC_ARCH

Since we no longer build target libs within gcc-cross, we can drop the
TARGET_CC_ARCH flags and hence make it independent of tune.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocross: Update PKG_CONFIG variables after recent changes
Richard Purdie [Thu, 1 May 2014 14:41:12 +0000 (15:41 +0100)]
cross: Update PKG_CONFIG variables after recent changes

The PKG_CONFIG definitions should now more closely match those from native.bbclass.
We can't use ${libdir} here since it contains the target arch prefix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolayer.conf: Exclude gcc-cross dependencies from checksums
Richard Purdie [Thu, 1 May 2014 14:40:40 +0000 (15:40 +0100)]
layer.conf: Exclude gcc-cross dependencies from checksums

gcc-cross technically depends on the C library however we can use
one toolchain for multiple different tunes within a given architecture.

Manually remove these dependencies so that gcc-cross isn't rebuild with
every tune change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: Silence PREFERRED_PROVIDER warnings for sdk builds
Richard Purdie [Thu, 1 May 2014 14:39:56 +0000 (15:39 +0100)]
base.bbclass: Silence PREFERRED_PROVIDER warnings for sdk builds

Unfortunately expandKeys() notices overlap between the SDK and TARGET
PREFERRED_PROVIDERS entries when we set things up for the SDK recipes.

To avoid this, delete one of the sets of keys to avoid supurious warnings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcmode-default.inc: Add default SDK PREFERRED_PROVIDERS
Richard Purdie [Thu, 1 May 2014 14:39:17 +0000 (15:39 +0100)]
tcmode-default.inc: Add default SDK PREFERRED_PROVIDERS

We should be explicit about the providers for the SDK toolchain so
add entries to do this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity: Bump BitBake minimal version to 1.23.0
Otavio Salvador [Thu, 1 May 2014 19:38:04 +0000 (16:38 -0300)]
sanity: Bump BitBake minimal version to 1.23.0

The metadata started using the bb.utils.contains_any which has been
add in the BitBake 1.23.0 release, set this as the minimal version to
ensure parsing compatibility.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcmode-default: Update PREFERRED_PROVIDERS
Richard Purdie [Thu, 1 May 2014 08:30:42 +0000 (08:30 +0000)]
tcmode-default: Update PREFERRED_PROVIDERS

Update PREFERRED_PROVIDERS after cross tooling name change to include PN.

Also drop the now obsolete gcc-intermediate which no longer exists.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-tools: Enable GTK support for X11, Wayland and DirectFB
Otavio Salvador [Wed, 30 Apr 2014 20:40:53 +0000 (17:40 -0300)]
alsa-tools: Enable GTK support for X11, Wayland and DirectFB

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooeqa: add proper handling for command errors where needed
Paul Eggleton [Wed, 30 Apr 2014 12:32:04 +0000 (13:32 +0100)]
oeqa: add proper handling for command errors where needed

For use outside of tests themselves, we want a better error than
AssertionError, so create one and allow us to request it when calling
runCmd(). This enables us to avoid tracebacks during master image
operations if the power control command fails.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/dialog-power-control: add a trivial power prompt script
Paul Eggleton [Wed, 30 Apr 2014 12:32:03 +0000 (13:32 +0100)]
scripts/contrib/dialog-power-control: add a trivial power prompt script

If you want to do automated hardware testing but don't have a
controllable power strip this script can be useful so that you know when
you need to cycle the power.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/serdevtry: add script to handle transient serial terminals
Paul Eggleton [Wed, 30 Apr 2014 12:32:02 +0000 (13:32 +0100)]
scripts/contrib/serdevtry: add script to handle transient serial terminals

When running automated tests (or just generally interacting with)
boards whose serial console devices are on the board itself and thus
disappear when powered down or practically disconnected, such as the
BeagleBone white, some terminal programs (e.g. picocom) will exit when
the device disappears and need to be restarted after the serial device
returns. This script handles this automatically for such terminal
programs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/testimage: if start fails, don't try to stop
Paul Eggleton [Wed, 30 Apr 2014 12:32:01 +0000 (13:32 +0100)]
classes/testimage: if start fails, don't try to stop

If we couldn't start the target, it doesn't make sense to try and stop
it here since logically it shouldn't now be in any kind of "started"
state. (It's the start function's job to clean up after itself if it
fails - to that end, fix up the QemuTarget class so that it does.)

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