aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-11-10Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie
This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10Allow use of dash as /bin/shRichard Purdie
We've had the check for dash as /bin/sh for a long time. Dash has been around long enough now that most major issues have been identified and fixed from build perspective. This patch fixes a bashism in the openjade-native recipe. It also adjusts libtool so that the header at the script is used and not the value of $SHELL. This is because many Makefiles change $SHELL so dash can get used to execute what is otherwise configured as a bash shell script. Since we don't need to execute scripts this way on any system I'm aware of us building upon, the simplest fix is just to remove $SHELL. With these two changes the dash check can be removed and we can allow builds with dash as /bin/sh Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Note: I know I need to add the description of the libtool change above into the prefix.patch]
2011-11-10qemu: Ensure an internal qemugl script uses bash as it has bashismsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10classes: Remove various bashismsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10udev-extraconf: blacklist /dev/mdSaul Wold
Do not mount /dev/md by default via udev, this resolved a problem with the sanity test failing due to seeing the error while attempting to mount /dev/md0 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-10Distro_tracking: Update Manual Check DateSaul Wold
Checked the following Upstreams: apt libaio sysstat unzip zip linexif boost libcheck ncurses sysfsutils util-linux - Offline lsb eds-tools libmad lame glew squashfs-tools Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-10libarchive: Remove obsolete comment and empty line at the endPaul Menzel
This is a fix up for commit fb19df5b21e551c5dfdfa340438952560c5fa528 Author: Xiaofeng Yan <xiaofeng.yan@windriver.com> Date: Mon Nov 7 20:03:53 2011 +0800 libarchive: update to 2.8.5 Remove patch "0003-Patch-from-upstream-rev-2516.patch" because it has been merged to source codes. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> removing a now obsolete comment because the undistributable content was removed [1] from upstream’s tarball. Also remove an empty line at the end introduced in the above commit. [1] http://code.google.com/p/libarchive/issues/detail?id=162 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2011-11-10Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINEMatthew McClintock
Just define additional serial consoles like so: SERIAL_CONSOLES="115200;ttyS0 115200;ttyS1 ... 115200;ttySN" Also be sure to remove SERIAL_CONSOLE (lacking the S) from your machine as they can conflict. Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-11-10local.conf.sample.extended: Fix bug 1674Xiaofeng Yan
[YOCTO #1674] local.conf.sample.extended: An image based on gtk+-directfb don't need x11 for DEFAULT_FEATURES Remove "x11" from DEFAULT_FEATURES and add "directfb" to it because someone could don't need x11 in their project, perhaps gtk over directfb will meet his reqirement. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-10useradd: Add missing DEPEND on shadowRichard Purdie
Without this rootfs generation fails as an RDEPENDS is added but the package might not have bneen built. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10avahi: remove USERADDPNScott Garman
USERADDPN is no longer used; remove it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-10useradd.bbclass: do not modify -nativesdk packagesScott Garman
Exclude the addition of user/group code and RDEPENDS changes for -nativesdk packages. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-10useradd.bbclass: only modify packages in USERADD_PACKAGESScott Garman
Previously we injected the user/group preinstall script into all output packages. This fixes that so that only packages listed in USERADD_PACKAGES get modified. It also removes the USERADDPN variable, which is no longer needed. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-10gconf: Drop polkit dependencyRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10gconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbusJoshua Lock
The D-Bus backend has been integrated into upstream GConf so we can switch to upstream and drop gconf-dbus. I've gone for a release in the 3.2 series as we disable Gtk+, and therefore are not impacted by the gtk+3 changes, and the D-Bus backend was unstable before this release. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-10mime.bbclass: No need to import os.path, it then breaks the os moduleRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09classes/[gnome|gnomebase|mime]: enhance gnome related classesJoshua Lock
This patch pulls in the gnome related classes from oe-core which adds extra packaging rules and functionality whilst modularising things so that one can get a subset of gnome functionality without adding a lot of extra dependencies. These aren't an exact copy of the classes from meta-openembedded, notable differences are: * gnome.bbclass - I dropped the BBCLASSEXTEND * mime.bbclass: - updated coding style - use which to find update-mime-database program rather than hard coded - fix typo in populate_packges_append such that it's actually called CC: Koen Kooi <koen@dominion.thruhere.net> CC: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-09shared-mime-info: package runtime data separatelyJoshua Lock
The freedesktop.org.xml is required when updating the mime database but otherwise not much use. Therefore package it separately, rather than removing it completely, so that it can be used as required for on-device updates without adding almost 2MB to every image which hase shared-mime-info. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-09busybox: add grep to temporary links during uninstallPaul Eggleton
In the busybox package prerm we set up some temporary links and modify PATH so that certain utilities are provided for the purpose of running update-alternatives; if grep is not among these then you get errors when removing busybox, so add a temporary link for grep as well. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-11-09classes/package_rpm: disable uninstall scripts for upgradesPaul Eggleton
Our current assumption (based on the behaviour of opkg) when writing recipes is that prerm and postrm do not get called during an upgrade. When using rpm however, these are mapped to the rpm "preun" and "postun" events which occur after postinst for upgrades, and when these contain removal type operations (such as update-alternatives --remove) this causes problems. This patch wraps each preun and postun script for rpm in a check that determines whether or not the script is being called during an upgrade, and skips the entire script if it is, which mimics the behaviour of opkg under the same conditions. Fixes [YOCTO #1760] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-11-08python: skip setup.py 'import check' when cross-compilingTom Zanussi
build_extension() in setup.py, as part of the build process, does an 'import check' on the built extension. The import check in turn dlopen()'s the shared library associated with the extension, which isn't something that makes sense if that library was cross-compiled for a different architecture. This was noticed with an x86_64 target that was compiled with avx support, because it caused 'illegal instruction' exceptions: | /bin/sh: line 1: 14575 Illegal instruction ... -E ./setup.py -q build For other target architectures, it doesn't necessarily cause illegal instruction exceptions, but still fails. For example, on arm, the failure pathway causes this warning: *** WARNING: renaming "cmath" since importing it failed: .../cmath.so: wrong ELF class: ELFCLASS32 This patch to setup.py and the associated recipe changes allow the whole 'import check' logic to be skipped when cross-compiling. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-08libzypp: fix mishandling of hyphenated archesTom Zanussi
Several hyphen-to-underscore translations were missing, causing compiler errors trying to build arches with hyphens in their names. This adds the missing translations. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-08gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CCTom Zanussi
CC_FOR_BUILD was compiling the test programs using the target's compile options and executing those on the host, causing errors such as: /bin/sh: line 1: 15032 Illegal instruction ./gen-bases table 64 0 > mpn/mp_bases.c /bin/sh: line 1: 15033 Illegal instruction ./gen-bases header 64 0 > mp_bases.h Export CC_FOR_BUILD using BUILD_CC to fix the problem. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-11-08Add new IMAGE_CLASSES variable for classes for image generationMatthew McClintock
Allows us to import classes only for images and not to the global namespace Signed-off-by: Matthew McClintock <msm@freescale.com>
2011-11-08distro_tracking_fields.inc: Modify the status of qmmpXiaofeng Yan
update qmmp to 0.5.2 Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-08qmmp: update to 0.5.2Xiaofeng Yan
qmmp: remove old recipe and add new recipe Use do_split_package for each grouping and name them correctly besides updating package. The format to name plugins of qmmp: qmmp-plugin-<group>-<library> with the Description: Qmmp<Group> plugin for %s" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Fix dESCRIPTION -> DESCRIPTION Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-11-08distro_tracking_fields.inc: update to libarchive to 2.8.5Xiaofeng Yan
Change the status of libarchive. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-08libarchive: update to 2.8.5Xiaofeng Yan
Remove patch "0003-Patch-from-upstream-rev-2516.patch" because it has been merged to source codes. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-11-08dhcp: move server configuration to dhcp-server-configOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-11-08dhcp: rename dhcp4.inc to dhcp.incOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-11-08dhcp: drop unused dhcp3.inc fileOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-11-08files/device_table-minimal.txt: add /dev/kmsgOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-11-08libcap: fix sstate for native packageOtavio Salvador
The 'lib' option needs to be given on target and native builds otherwise it installs the binaries at ${libdir}64 when host is 64bit. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-11-08pseudo: Uprev pseudo to version 1.2Mark Hatle
This adds a new feature, PSEUDO_UNLOAD, which can be used to eliminate overhead of LD_PRELOAD when no longer necessary. Also the, clone(2), support on Linux has been updated to resolve some potential defects in the previous implementation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-11-08clutter-gst: fix patch filenameJoshua Lock
Munged the patch filename somehow. Apologies for the noise. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-08useradd.bbclass: handle nativesdk caseEric Bénard
* without this patch, building dbus-nativesdk leads to a missing dependency on 'base-passwd-nativesdk' This was added by commit 46e6c3fa8034b12d178d605f3f5d7efe69671a13 * this patch handle the nativesdk case in the class useradd * close bug 1702 http://bugzilla.pokylinux.org/show_bug.cgi?id=1702 * v2 from Scott Garman with Richard Purdie's tricks Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-08multilib: Drop MULTILIB_IMAGE_INSTALLDongxiao Xu
There should just be a single IMAGE_INSTALL variable. If the package backends need this split into different multilib components they should be responsible for doing this, not the user. This commit removes the MULTILIB_IMAGE_INSTALL variable. [YOCTO #1564] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-08contacts: fix packaging of iconsJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08pulseaudio: make X11 dependencies optional and add gtk+Joshua Lock
Use the x11 distro feature to determine whether --with-x should be passed. Further, if we're using X11 add gtk+ to DEPENDS (it's required to build). Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08connman: split scripts into separate packageJoshua Lock
The connman scripts are useless without a Python interpreter so split them into a separate package and add Python to its RDEPENDS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08gypsy: fix packagingJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08libcanberra: add libvorbis to DEPENDSJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08mx: add mx toolkit 1.3.2Joshua Lock
A widget toolkit built on Clutter Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08clutter-gtk-1.8: add clutter-gtk 0.11.4Joshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08clutter-gst-1.8: add 1.4.2 for use with clutter 1.8Joshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08clutter-1.8: add 1.8.0Joshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08cogl: add cogl 1.8.0 recipeJoshua Lock
Cogl has been split into a separate recipe as of the clutter-1.8 series Signed-off-by: Joshua Lock <josh@linux.intel.com>
2011-11-08dbus: fix install for virtclass-nativesdkEric Bénard
* 46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install which now fails for nativesdk (chown messagebus leads to no such user) * tested by building meta-toolchain-qte and running the generated sdk Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-08useradd.bbclass: fix how RDEPENDS is setupScott Garman
Fix bug where only packages named PN included base-passwd in RDEPENDS. This fixes [YOCTO #1727] Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2011-11-07lighttpd 1.4.29: rename index.html to avoid clashes with DL_DIRKoen Kooi
As Martin Jansa pointed out before, bitbake will silently peek in DL_DIR before FILESPATH and use files from there if found. The failure mode for lighttpd involves a 404 redirect placing index.html into DL_DIR, which will end up in the lighttpd packages. In my specific case iproute2 hit the linuxfoundation 404 redirect so lighttpd.ipk now serves the linuxfoundation frontpage :) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>