aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-07-04optimized-tune.inc: add optional distro includejansa/optdefaulttuneMartin Jansa
* selects more optimized DEFAULTTUNE for some packages * for some machines it could be de same as DEFAULTTUNE Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-04tune-*: add OPTDEFAULTTUNE variableMartin Jansa
* bitbake.conf has OPTDEFAULTTUNE with weak default value of DEFAULTTUNE * this way distribution policy can set DEFAULTTUNE = OPTDEFAULTTUNE to build always with more specific tune (which includes -mtune parameter) without listing DEFAULTTUNEs for all MACHINEs supported by distribution. * or it can set such tunes only for some packages DEFAULTTUNE_pn-foo = "${OPTDEFAULTTUNE}" * or it can include meta/conf/distro/include/optimized-tune.inc which will be used to share knowledge which packages are worth building with specific -mtune Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-02sysstat: backport a patch to fix a parallel building errorRoy.Li
Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02ghostscript: fix patch failure with some versions of patchPaul Eggleton
Some versions of patch (e.g. 2.6.1.136-31a7 on OpenSUSE 12.2) will refuse to patch a file via a symlink (probably a fairly sensible security precaution). The "base/" subdirectory specified within the ghostscript-9.05-NOT-check-endian.patch file was being lost by the default application with -p1, but this was not caught on most systems due to the symlink. Fix the path so that we always patch the file directly. Fixes [YOCTO #4773]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02classes/package: print command output when commands failPaul Eggleton
When external commands such as debugedit fail, it can be useful to see their output, so use oe.utils.getstatusoutput() instead of subprocess.call() to capture this and print it on failure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02rpm: add wrapper for debugedit executablePaul Eggleton
This should fix sstate relocation issues with debugedit failing during do_package on the Yocto Project autobuilder. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02security_flags: Add the compiler and linker flags that enhance securitySaul Wold
These flags add addition checks at compile, link and runtime to prevent stack smashing, checking for buffer overflows, and link at program start to prevent call spoofing later. This needs to be explicitly enabled by adding the following line to your local.conf: require conf/distro/include/security_flags.inc [YOCTO #3868] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02local.conf.sample.extended: Add example line for enabling security flagsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02qt4e.bbclass: export OE_QMAKE_QT_CONFIGJonathan Liu
The class is inheriting qmake2.bbclass which exports OE_QMAKE_QT_CONFIG pointing to the qt4 qconfig.pri when it should be pointing to the qt4-embedded qconfig.pri. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02udev: Add RRECOMMENDS for udev-cache to enable the cacheSaul Wold
This will enable the udev cache for sysvinit systems, which does improve post-first boots. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02packagegroup-core-basic: remove hardcode udevSaul Wold
udev is brought in via packagegroup-core-boot Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02TmuxRunning: handle multi-word commandsTyler Hall
Just as in f8ed7446755eeb88191e16749350efa1e7e6197c, tmux wants a single argument for its command. This applies to the "split-window" command as well as "new." Note that this alone is not enough to fix the TmuxRunning devshell when using pseudo because tmux does not preserve the environment that pseudo requires. Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02terminal: Run command using a wrapper scriptTyler Hall
Some terminals may not pass the environment into the child process. This is true when using "tmux split-window." If tmux is already running, it will start the command with the tmux session environment, ignoring the environment where the command was issued. This could possibly be worked around when launching tmux by injecting variables into the user's session environment or adding the variables to the "update-environment" tmux setting. However, both methods would permanently alter the user's session, which is undesirable. By using a wrapper script, we have full control over the final environment. Replace the env dictionary with an empty data smart that will contain the exported variables and a wrapper function that execs the original command. Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02lttng-modules: allow building without tracepoints enabled in kernelPaul Eggleton
Avoid a QA failure and instead produce a sensible warning message if no modules were built. Fixes [YOCTO #4791]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02webkit-gtk: add aarch64 supportRiku Voipio
Add patch from meta-linaro to compile webkit on aarch64. Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02python-native: add python-codecs-native to RPROVIDESPaul Eggleton
This is now required by python-argparse-native as of OE-Core revision 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02connman: Set the VPN client program pathsJukka Rissanen
Automatically finding out the paths to VPN client programs does not work when configure script is run so set the paths manually. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02bison: Delete unused patchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02uclibc: Remove 0.9.33 recipesKhem Raj
git recipes are stable enough and contains the fixes needed to run with modern systems e.g. systemd etc. Drop 0.9.33 We already use git as default. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02uclibc: Update to latest git/master versionKhem Raj
Use kernel cfg management infra to manage kconfig fragments. Add fragments for locale and obstrack and enable them by default Drop aplready applied patches Drop DP = -1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02linux-firmware: fix ralink license file namePaul Eggleton
LICENCE not LICENSE and -firmware not _firmware. (Upstream seems totally inconsistent with these filenames, unfortunately). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02linux-firmware: be consistent with license package namingPaul Eggleton
Much as I prefer en_GB spelling, we need to be consistent with the other package names in this recipe. Thanks to Trevor Woerner for pointing this out. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02lib/oe/lsb.py: fall back to /etc/os-release for host distro IDPaul Eggleton
The new standard for host distribution identification [1] is /etc/os-release, and a number of newer distributions provide this file, so add support for this in order to pick up more distributions. Additionally, handle "rolling release" style distributions that don't report a version number, e.g. Arch Linux. With this change we can identify the most common distributions, so this should satisfy [YOCTO #4271]. Note that this doesn't imply support for these distros as build hosts, just that we can identify them. [1] http://www.freedesktop.org/software/systemd/man/os-release.html Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02base-files: remove the unnecessary /media/xxx directoriesChen Qi
A few directories under /media were created by default, /media/card, /media/ram, /media/realroot, etc. These directories actually have no real usage now, thus removing them. The /media/ram entry in the fstab is also removed, as mounting a tmpfs over /media/ram in our system brings no benefit. Note that a duplicate '/mnt' entry in dirs755 are also removed. [Yocto #4774] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02udev-cache: take a read-only rootfs into considerationChen Qi
In case of a read-only rootfs, we skip the process of generating udev cache, as the data cannot be persisted between reboots. However, it's possbile that the $DEVCACHE (default to /etc/dev.tar) exists in a read-only rootfs, no matter how it's generated or installed. In such situation, we try to use $DEVCACHE if possible. Besides the basic changes in the logic of udev cache handling, this patch also adds code to output more information if the udev cache is not used and VERBOSE enabled. This patch also changes the readfile function to readfiles function so that it could handle more than one file at once. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02openssh: fix initscript restart commandMarc Ferland
start-stop-daemon should be called with '--oknodo' instead of '-oknodo'. Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02seperatebuilddir: cogl and clutter build out of treeRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02clutter: fix out-of-tree buildsRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02gpgme: Updated from 1.4.1 to 1.4.2Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> License md5 was changed for src/gpgme.h.in: "File: @configure_input@ */" was replaced by "Generated from gpgme.h.in for @GPGME_CONFIG_HOST@. */" Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02apt: Updated from 0.9.8.1 to 0.9.8.2Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> [sgw - fixed apt-native checksums] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxcb: Updated from 1.9 to 1.9.1Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxfixes: Updated from 5.0 to 5.0.1Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxxf86vm: Updated from 1.1.2 to 1.1.3Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxtst: Updated from 1.2.1 to 1.2.2Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> License md5 changed in 1.2.2, "Copyright © 1992 by UniSoft Group Ltd.", "Copyright © 1992, 1994, 1995 X Consortium" and Copyright 1994 Network Computing Devices, Inc. has been added Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxv: Updated from 1.0.7 to 1.0.8Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxres: Updated from 1.0.6 to 1.0.7Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxau: Updated from 1.0.7 to 1.0.8Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxinerama: Updated from 1.1.2 to 1.1.3Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxcursor: Update from 1.1.13 to 1.1.14Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02libxext: Update from 1.3.1 to 1.3.2Ionut Radu
Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Line "Copyright (c) 1999, 2005, 2006, Oracle and/or its affiliates. All rights reserved." in COPYING was changed into "Copyright (c) 1999, 2005, 2006, 2013, Oracle and/or its affiliates. All rights reserved." in 1.3.2 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02packagegroup-self-hosted: add python-gitPaul Eggleton
python-git is needed by buildhistory-diff, so add it to this packagegroup allowing buildhistory-diff to be used within build-appliance-image. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02buildtools-tarball: add python-gitPaul Eggleton
python-git is needed by buildhistory-diff and the OE layer index update script, and on machines where buildtools-tarball is necessary given we are providing python we must provide this module as well. Fixes [YOCTO #4747]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02python-git: add recipePaul Eggleton
This is used by buildhistory-diff and the OE layer index, and thus will be useful in the context of the build appliance and buildtools-tarball. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02python-gitdb: add recipePaul Eggleton
This is required by python-git. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02python-smmap: add recipePaul Eggleton
This is required by python-gitdb. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02python-async: add recipePaul Eggleton
This is required by python-gitdb. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-28classes/insane: remove la2 check which no longer exists from ERROR_QAPaul Eggleton
This check was actually removed a very long time ago in 6656381714c5956f71ca634f5a5f4aa4661bbf7e, before we even changed the QA checks to use names instead of numbers - the name was probably added ERROR_QA mistakenly because it hadn't also been removed from the comment listing the QA checks or the function that determined which ones were errors. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28Disable build qt related packagegroups on mips64 with 64 bits userspaceKai Kang
Because qt could not be built on mips64 with 64 bits userspace, set COMPATIBLE_HOST for qt related packagegroups to disable them on mips64 with 64 bit userspace too. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28python-multiprocessing: adding runtime dependenciesLukas Bulwahn
As python-multiprocessing requires python-threading and python-pickle, this commit adds them as runtime dependency. The observed behavior was: When typing 'import multiprocessing' in the python shell on a minimal image with only the python-multiprocessing recipe installed, python reports at first: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/multiprocessing/__init__.py", line 65, in <module> from multiprocessing.util import SUBDEBUG, SUBWARNING File "/usr/lib/python2.7/multiprocessing/util.py", line 38, in <module> import threading # we want threading to install it's ImportError: No module named threading After adding python-threading as runtime dependency and rebuilding the image, python reports: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/multiprocessing/__init__.py", line 84, in <module> import _multiprocessing ImportError: No module named cPickle Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28python-argparse: adding runtime dependency on python-codecsLukas Bulwahn
When typing 'import argparse' in the python shell on a minimal image with only the python-argparse recipe installed, python reports: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import argparse; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/argparse.py", line 91, in <module> from gettext import gettext as _ ImportError: No module named gettext The python-argparse recipe requires the python gettext module, which is currently provided by python-codecs. Hence, this commit adds python-codecs as runtime dependency to resolve the issue. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>