summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2013-07-02TmuxRunning: handle multi-word commandsTyler Hall1
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 Hall1
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 Eggleton1
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 Voipio2
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 Eggleton1
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 Rissanen1
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 Raj1
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 Raj19
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 Raj9
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 Eggleton1
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 Eggleton1
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 Eggleton1
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 Qi2
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 Qi2
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 Ferland1
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 Burton1
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 Burton1
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 Radu2
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 Radu11
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Radu1
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 Eggleton1
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 Eggleton1
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 Eggleton1
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 Eggleton1
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 Eggleton1
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 Eggleton1
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 Eggleton1
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 Kang3
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 Bulwahn1
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 Bulwahn1
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>
2013-06-28init-live.sh: try to make a union mount when possibleChen Qi1
This patch tries to make a union mount in live image. For example, if aufs is enabled with the aufs-enable.scc configuration fragment, the init-live.sh script will use aufs to make a union mount. Although overlayfs is not supported by Yocto kernel yet, this patch still takes it into consideration with the expect that the related code should at least serve as a placeholder. [YOCTO #1487] [YOCTO #4761] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28initrdscripts: unionfs cleanupChen Qi2
The unionfs has been disabled for more than a year and it's not going to be used any more. This patch cleans up the unionfs related code. [YOCTO #4761] [YOCTO #1487] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28qt4*.bbclass: disable build qt on mips64 with 64 bits userspaceKai Kang2
Qt/qt-embedded build fails on mips64 with 64 bits userspace. Set COMPATIBLE_HOST in qt4e.bbclass and qt4x11.bbclass to disable build qt/qt-embedded and packages which inherit these two classes on mips64 with 64 bits userspace. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdataRichard Purdie1
PN/PE/PV/PR should never change between do_package and the following do_package_write_* tasks. If any do change you would see build failure due to the wrong WORKDIR being used for example. This patch ensures that if something is going wrong we see the error earlier and with some better warning about what the real problem is. [YOCTO #4102 partial] This is a rewritten version of a patch from Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28package: Ensure we iterate all the pool objectsRichard Purdie1
There is the possibility that if we don't iterate through the multiprocessing pool objects we might not catch return codes and this could lead to hung/zombie processes either temproarily or on a wider scale. Adding this certainly doesn't hurt anything and is better practise so we might as well do it. Its not 100% clear if this fixes some issues or not. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-27tcmode-default: Set GCC 4.8 as defaultSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-27gcc-4.8: Fix ICE on ppc/spe targetsKhem Raj4
Rename patches to make them easly to apply with git Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-27sanity.bbclass: Check for the known broken version of makeMark Hatle1
See GNU Savannah bug 30612 -- make 3.82 is known to be broken. A number of vendors are providing a modified version, so checking for just the version string is not enough. We also need to check if the patch for the issue has been applied. We use a modified version of the reproduced to check for the issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-27systemd: Ensure that we mount devtmpfsSaul Wold1
Since systemd also used tmpfs we should make a similar patch for the systemd-udev script Fix for bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4632 Since udev 172, the 'mknod' logic was removed from udev. Yocto Dylan is now using udev 182. This means /dev is now required to be a devtmpfs filesystem (maintained by the kernel). If the root filesystem is a ramdisk, the kernel's auto-mount of /dev doesn't activate since there is no rootfs to actually mount... The bug causes an unusable system as /dev doesn't contain even basic nodes required to even get a login prompt. The Yocto udev/init script mounts tmpfs if it does not detect tmpfs or devtmpfs mounted at /dev. This appears to be outdated logic that is no longer correct. I believe the Yocto udev init script should be checking and mounting only 'devtmpfs' on dev. Signed-off-by: Alex Olson <alex.olson+yocto@gmail.com> [YOCTO #4632] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-27autotools.bbclass: force copy Makefile.in.in to ${S}/po/Roy.Li1
If a Makefile.in.in has existed under ${S}/po/ and is read-only, cp will fail. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-27useradd.bbclass: Add members to a groupMikhail Durnev1
useradd.bbclass supports adding new users and new groups. But it does not support adding existing users to existing groups. There is a need of adding users to some groups (e.g. audio). The class was extended to call groupmems utility with arguments passed via GROUPMEMS_PARAM. Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>