aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2011-09-09terminal.bbclass: Improve environment handlingRichard Purdie
Currently the environment handling for terminals is inconsistent. There are two fixes here: a) Ensure the environment is setup before all oe.terminal call b) Actually set the environment before the spawn calls since we need variables like DISPLAY when the commands are being executed, not just within the terminal environment. If this doesn't happen, DISPLAY can end up not set with the errors that brings with it when trying to run X commands. (From OE-Core rev: 6b680c8da02017bdb17a4826f1819fe0e5f68652) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-08python-native: add link for python2Saul Wold
Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native. (From OE-Core rev: ae4db0bacb9d40489499f77905f26502f3bcaa19) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-08base.bbclass: fix substring matching in COMMERCIAL_LICENSEPaul Eggleton
Previously, if for example you had a package called "mx", and a second package called "libomxil" listed in COMMERCIAL_LICENSE (without mx being listed there), it would match mx as being commercially licensed because mx is a substring of libomxil. Fix the search to ensure it only matches the listed package name exactly. (From OE-Core rev: b23e51e6c961cf3f7e2aaf89648fecce78424c99) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07avahi: only use gtk if DISTRO_FEATURES includes x11Phil Blundell
Otherwise avahi isn't buildable for an x11-less DISTRO. (From OE-Core rev: fa8dad209247b780590bc8476b5b16e6608d7907) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07useradd.bbclass: use correct value for $D in postinst functionsPhil Blundell
This corrects the location of the password file used during package installation. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009183.html and subsequent discussion. (From OE-Core rev: 848bb277769af5b094031aeb54d287c158256724) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07resolvconf: switch to 1.59 as 1.58 was removed from debian ftpEric Bénard
(From OE-Core rev: 11b466546533c6c2ad1f24d61d02a5bf6c1329e1) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07sstate: Avoid contention between sstate packagesRichard Purdie
If several sstate packages are decompressing at the same time, they can conflict over the "fixmepath". If two packages try to write to this at the same time it results in an error. To avoid this we remove the file once we've finished processing it. (From OE-Core rev: c08d7093bf654ffedb155c5627972e9ecfeb0b60) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07gettext: use included libxml and libcrocoSaul Wold
[YOCTO #1400] By using the included libxml and libcroco, we do not create additional on this core library. There was an ordering issue that when one library was not built, but gettext detected the other library a compliation would fail, this will force it to always use the included libraries. (From OE-Core rev: 0c12210f63f9705af98bcf5de8ccd715026bace3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07gcc: add patch for ice 50099, which caused lttng-ust not to buildSaul Wold
[YOCTO #1381] This patch came from from GCC Bugzilla via Khem Cc: Khem Raj <raj.khem@gmail.com> (From OE-Core rev: 61dac2f6f68bc46d8f3f6f7a8757924f103c7c54) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07meta/recipes.txt: correct Qt capitalisationPaul Eggleton
"Qt" is correct according to the documentation. (From OE-Core rev: 429be858090d1c40589cb269a70ed1515119ac1f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07sanity.bbclass: re-enable DISTRO checkPaul Eggleton
If DISTRO has been specified, ensure it is valid. (Unset or empty string is valid for DISTRO in OE-core by the use of defaultsetup.conf.) (From OE-Core rev: 895aa6b8ee9636a9f9d716c62c0adf951e1ff138) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07core-image.bbclass: zap root password if debug-tweaks not enabledPaul Eggleton
If you do not have debug-tweaks in IMAGE_FEATURES, then zap the root password so that you can't log in as root without a password in an image potentially intended for a production system. Also mention debug-tweaks in the comments listing IMAGE_FEATURES in this file. (From OE-Core rev: 5ddda44efc97b4d6cf863033348e57e5cfdcd392) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07hal: Add virtual/kernel as hal's build dependencyDongxiao Xu
hal may need some kernel headers, thus we need virtual/kernel as its dependency. (From OE-Core rev: b5db50e280e2547f5428440be5446c4ad267aeef) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07multilib: Remove the multilib extension for linux-yoctoDongxiao Xu
Kernel should be unique in a multilib system, so we remove the linux-yocto's extension in multilib.conf (From OE-Core rev: db78d1289705a38f0069f84101296e9309d67fa3) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07multilib_global.bbclass: handle kernel-module-* for multilibDongxiao Xu
bitbake would report failed dependency of kernel-module-* when testing multilib. kernel-module-* are recommended by some other recipes. Do not extend name for kernel-module-* related packages. [YOCTO #1456] (From OE-Core rev: 30ac343888dc801614922045b374537c6c54f312) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07telepathy-python: avoid duplicated installation of errors.pyDongxiao Xu
telepathy-python install fails on latest Fedora 16 due to the tighter check of duplicated file installation. Remove one errors.py entry in Makefile.am to fix this issue. [YOCTO #1453] (From OE-Core rev: d84fd7c1e90f080ea0c702cba9a9f81a2c465ee6) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07cpan.bbclass: fix native perl issueSaul Wold
(From OE-Core rev: acfe8c657dd2496ae8669ce69def96a0b04d061c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07prelink: Update to latest upstream versionMark Hatle
[YOCTO #1374] - Fixes underlying issue [YOCTO #1331] - Detects bad GNU_HASH tables Update to the latest upstream version. This includes a number of generic fixes, as well as a complete refresh of the prelink-rtld. (Prelink-rtld is similar to the ld.so/ldd functionality on a normal system.) The new prelink-rtld update syncs to eglibc-2.13 and enables new symbol resolution, include GNU_UNIQUE, that was causing problems on x86_64 and potentially other architectures with C++. An assert has been added to also detect a bad GNU_HASH situation which was detected on some PPC64 systems. The underlying problem is within the toolchain, however prelink was making it worse leaving the problem undetected. (From OE-Core rev: 4f401134694bbc1de532aaaab6c9a761649725a1) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07glib-networking: Ensure certificates are consistently disabledRichard Purdie
Currently configure is looking whether the build system has certificates to determine the certificate paths. This is clear contamination so this patch disables that functionality to ensure builds are consistent. We could equally set this option to a consistent path if we start installing certificates. [YOCTO #1451] (From OE-Core rev: 658887961dbb1eea17d9a1ceeef4fe38cb8c33ba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07package_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxxDexuan Cui
Currently the stderr msgs go into log.do_rootfs and can cause a fatal failure in "log_check rootfs". However, the err msg could be spurious since we *only attempt* to install the the packages, which may not exist actually. E.g., without this patch, we can get a fatal ERROR due to E: Couldn't find package task-core-tools-dev. (From OE-Core rev: 5f00bda874ccaebdb00714b5cb5227462d43f8fb) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07populate_sdk_deb.bbclass: add the missing parameter - for tarDexuan Cui
(From OE-Core rev: a47ceddd6eb91e7564e6e48ddbb5d490f3d2767d) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07busybox: update to 1.8.5Denis Carikli
(From OE-Core rev: 77571c4d224d5bcc6be944fe3d00309dafe1d512) Signed-off-by: Denis Carikli <denis@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07site/x86_64: Add entries to fix conf error on x86_64Zhai Edwin
Add entries for ashldi3, bswapsi2... to fix autoconf error of grub on x86_64 [YOCTO #1434] got fixed. (From OE-Core rev: dba3c3de225f7f8008e638b65b8f31dd0ba91e21) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07xserver-nodm-init: Change hidraw mode to allow normal user accessZhai Edwin
USB HID like touch screen could be presented as hidraw* device, this change make user under rootless X can access them. (From OE-Core rev: ddb54d4a467b51f5f8f305f532bd5ea64df92876) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07initramfs-live-install: Be consistent with grub.Lianhao Lu
[YOCTO #1428] Because the underlying grub 0.97 the initramfs-live-install RDEPDNEDS on only supports 32bit x86 target, set the COMPATIBLE_HOST accordingly. (From OE-Core rev: d128b4f2746ee8525352ce982a9c2a5e422630f2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07web: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatch ↵Saul Wold
[YOCTO #1454] (From OE-Core rev: 5e558237fc22baf1a638eb0e98eb08ff5e2870b4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07mtd-utils: update to version to 1.4.6Denis Carikli
mtd-utils 1.4.6 is the lastest release of mtd-utils at this time. (From OE-Core rev: e43bec6c7dce3c6f9af5a0c5b7e5c6f740f89996) Signed-off-by: Denis Carikli <denis@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07pango: use qemu to generate pango.modules during rootfs constructionPhil Blundell
This allows pango to be installed in an image with read-only-rootfs. (From OE-Core rev: 62381fd3a135318794f14dc3740b04facd32446e) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07linux-yocto: re-enable utraceBruce Ashfield
Upating the meta data and machine branch contents with the up to date merge of utrace. (From OE-Core rev: cb8efc0e1ec00892b46325aabfb1b4020a46c078) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07linux-yocto: re-enable systemtapBruce Ashfield
[ Author: Tom Zanussi <tom.zanussi@intel.com> Date: Fri Sep 2 23:45:12 2011 -0500 meta: re-enable systemtap feature for linux-yocto Re-enable the 'systemtap feature' that turns on the kernel options required for systemtap, a system-wide tracing tool. (From OE-Core rev: fdaaddbf2a673c7030c3e15e2f65cb13af3db720) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-06icu-3.6: fix building with big make -jDmitry Eremin-Solenikov
icu-3.6 buildsystem contains small problem which causes some parallel builds to fail. Fix that. (From OE-Core rev: 41b7c955cfdc7b4d5c667c8a8742237d5edaca4f) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-06qt-demo-init: fix init scriptDmitry Eremin-Solenikov
qt-demo-init initscript lacks some quotes, which makes it bave not fulle correct. Fix that. (From OE-Core rev: 84395cd31afd78a84d82a80297fe06f10406d57b) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-06image_types: Fix ubi images creationDenis Carikli
Without that commit ubinize.cfg lack a volume name value, and the related ubinize.cfg line looks like that: vol_name= which result in a broken ubi image,which after beeing flashed produce the following error: UBI error: vtbl_check: volume table check failed: record 0, error 11 wich result in a kernel panic because the rootfs can't be mounted. [RP: Moved from bitbake.conf to the .bbclass file] (From OE-Core rev: 534dcaba0517ebfb6e48b6b436960a74e642a556) Signed-off-by: Denis Carikli <denis@eukrea.com> Acked-by: Anders Darander <anders@chargestorm.se> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05linux-yocto: clean configuration for v3.0.4Bruce Ashfield
Fixes [YOCTO #940] Since v3.0.4 is likely the last stable update in the the release timeframe a configuration audit was performed. This updates the SRCREV to remove obselete, and improperly defined configuration items. With this, all qemu* BSPs configure with no warnings. (From OE-Core rev: d19eaf7ca92c6632d42d12120800028f77ef21aa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05linux-yocto: update to v3.0.4Bruce Ashfield
The v3.0.4 stable kernel is available and it can now be merged into linux-yocto. Build and boot tested on all qemu* machines. (From OE-Core rev: 0f3750ee83b8fe012cced2e376ec780a6e7f189b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05linux-yocto: generalize kernel config search patternBruce Ashfield
After constructing a kernel configuration file it then needs to be located in the tree so it can be audited against the final .config. The previous string that was used for the search pattern contains the kernel version. If the recipe space kernel version and internal tree version are out of sync, this will cause the constructed config to not be found. By removing the version from the search string, we can still find out config and gracefully adapt to minor version skew. (From OE-Core rev: f072ddc43828ebe8df4dd7433726775dd547580b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05image_types.bbclass: use per-image dirs for extX.gz images generationDmitry Eremin-Solenikov
Currently image_types.bbclass uses deploy/images/${MACHINE}tpm.gz dir for temporary files when generating extX.gz images. This can lead to races and strange errors during image generation. To overcome this use deploy/images/${MACHINE}tpm.gz-${PN} dir for temporary files. (From OE-Core rev: 3016f8f13e86034cc1c5686fc01a3bf39eb33d79) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05task-core-tools: add systemtap to qemuarmTom Zanussi
Systemtap now works with arm, so include it in task-core-tools-profile for qemuarm. (From OE-Core rev: 69a776eab96776ab33191cd6eeda4560e3f3f357) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05systemtap: upgrade to 1.6Tom Zanussi
Also enable for arm, since systemtap now works on arm and remove the gcc-4.6 compile fix patch since the problems it addresses have been fixed upstream. (From OE-Core rev: 09fa8e139b0c06f961927ac192d644bebdf31abf) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05qt4e-demo-image: Ensure a shell is presentXiaofeng Yan
"/bin/sh" is needed by qt4e-demo-image, So I add busybox for fixing this problem. [YOCTO #999] (From OE-Core rev: 5f06d5012bfa8b2bd83092e41ab29babdfd4605e) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05git: fix sstate relocation for git-nativePaul Eggleton
Create a wrapper for git to set GIT_EXEC_PATH and GIT_TEMPLATE_DIR so that git-native is relocatable. Fixes specific example given in [YOCTO #1137] (From OE-Core rev: 9a3e25b5a3aa5e3b6ba543c4f789f66b240b38a7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05opensp: Fix sstate relocation issueSaul Wold
[YOCTO #1440] This fixes a problem where the native nsgmls has a path hard coded into it, therefor add a wrapper to set the environment with the correct paths for catalog files. (From OE-Core rev: ce236234831ebc05ffdf1e0a368692ac2818a388) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05groff: Fix sstate relocation issueSaul Wold
[YOCTO #1439] This fixes a problem where the native groff has a path hard coded into it, therefor add a wrapper to set the command line with the correct paths for fonts and tmac directories. (From OE-Core rev: 9106e2922ba5972e3b87436372a12c2e04e9eb65) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCHRichard Purdie
If we don't do this, the SDK target sysroot is named generically even when it contains package architecture specific optimisations. (From OE-Core rev: 0616557a8c29b42bae0ffd5fd665a046810047e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROSPaul Eggleton
This variable should be split with \n sequences and these need to be specified literally in the string. A corrected version of the example given in the original commit (OE-core rev 75e3875341ddc8940e9ee2ccbbb2ec18194a68e6): SANITY_TESTED_DISTROS = " \ Ubuntu 11.04 \n \ Fedora release 14 (Laughlin) \n \ " (From OE-Core rev: cfc72d5796b6f83a01e06f3a1f044869db2d5d18) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02useradd.bbclass: remove hardcoded reference to /usr/binPhil Blundell
Otherwise the class doesn't work if ${bindir} is set to a different value; likewise for /var vs ${localstatedir}. (From OE-Core rev: 21371df16917cd82642b39763793783d61ee5516) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02gcc: Fix multilib baselib confusionRichard Purdie
Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use baselib for the compiler location. This is fine as long as baselib happens to match the platform multilib definition which is enabled at the time. This patch fixes things so that gcc will honour whatever ${base_libdir} is set to re-allowing suitable customisation of the system layout. [YOCTO #1362] (From OE-Core rev: bc5f293b151b9ba0d6660814d88ee5041efce318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02multilib: Only build one kernelRichard Purdie
For a given system we only want one kernel to be built. This change makes the main kernel recipe provide all of the provides of the various enabled multilibs hence allowing it to fulfil all the appropriate dependencies. To make this work a global multilib class file needed to be created. This patch also enables this multi provider functionality for "allarch" packages. [YOCTO #1361] (From OE-Core rev: 2fd257f6c610624f05c8dd3fe1486364af04696f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02multilib: extend multilib prefix for libsdlDongxiao Xu
libsdl is required by sato image, so extend it for multilib. (From OE-Core rev: 88abab9ba9632e87f3a081915a69cbc5c36b4d3c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02multilib: Using different sysroot for multilib recipesDongxiao Xu
Thinking of the senario that, if we already built out a 64bit image along with the full toolchain bootstrapped, then we need to build some 32bit libraries, which needs lib32 versions of gcc and eglibc. These toolchain recipes will bootstrap again in the same sysroot, resulting that lib32-gcc-cross-initial will find some macros owned by eglibc have already been defined and thus it includes non-existed headers that provided by later lib32-eglibc. The solution for the above issue is to use different sysroot for multilib recipes, here we add ${MLPREFIX} in front of the machine specific sysroot directory name. [YOCTO #1372] (From OE-Core rev: a1508ad1aec2d2f9ee040aa217c33193cd5bd871) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>