summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* runqemu: improve auto-detection of rootfs filenamesScott Garman2011-09-091-20/+15
| | | | | | | | | | | | | This refactors the way rootfs filenames are auto-detected when you run the runqemu script without an explicit rootfs filename argument. It allows the script to use rootfs files generated by hob, and when there are mutliple rootfs files to choose from, it will pick the most recently created one. Fixes [YOCTO #1437]. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Default to explicitly setting the variable to disable pseudoRichard Purdie2011-09-091-0/+4
| | | | | | | | If we don't do this, sometimes pseudo can end up enabling itself when it isn't required. Setting this value into the environment explicitly ensures that does not happen. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-internal: Hide some harmless warning messagesRichard Purdie2011-09-091-2/+6
| | | | | | | | If sudo is used in the pseudo environment, as done in image tests when the user hasn't pre-setup the tap device, ensure the LD_PRELOAD error message isn't seen by the user. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* imagetest-qemu/runqueue: Since we no longer support BUILDDIR, use TMPDIRRichard Purdie2011-09-093-4/+4
| | | | | | | | | | | | | | | | Commit 993672fa2739794a6dd0dbd7bb232fa60522b897 removed the BUILDDIR support from runqueue which broke the imagetest-qemu integration. We now therefore need to set TMPDIR and pass this through the environment to ensure the runqueue script finds the right locations without running bitbake directly. This patch also adds a sleep to the qemu command in the error case so that this remains on the screen for a period of time so the user can see errors more easily. This change unbreaks automated testing failures on the autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "opensp: Fix sstate relocation issue"Saul Wold2011-09-091-8/+1
| | | | | | | | | | | This patch causes the linuxdoc-tools-native to fail, cause it's overriding the SGML_CATALOG_FILES, need to find a better way to set the CATALOG_FILE information for opensp / nsgmls Signed-off-by: Saul Wold <sgw@linux.intel.com> This reverts commit bb024d7a8c771c189b94b1ae177e29f3c318e236. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal.bbclass: Improve environment handlingRichard Purdie2011-09-091-7/+6
| | | | | | | | | | | | | | | 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: add link for python2Saul Wold2011-09-081-1/+4
| | | | | | | | Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: fix substring matching in COMMERCIAL_LICENSEPaul Eggleton2011-09-081-2/+2
| | | | | | | | | | | 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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: only use gtk if DISTRO_FEATURES includes x11Phil Blundell2011-09-071-1/+3
| | | | | | | Otherwise avahi isn't buildable for an x11-less DISTRO. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: use correct value for $D in postinst functionsPhil Blundell2011-09-071-3/+3
| | | | | | | | | 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. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resolvconf: switch to 1.59 as 1.58 was removed from debian ftpEric Bénard2011-09-071-2/+2
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Avoid contention between sstate packagesRichard Purdie2011-09-071-0/+3
| | | | | | | | | 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: use included libxml and libcrocoSaul Wold2011-09-071-1/+3
| | | | | | | | | | | [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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc: add patch for ice 50099, which caused lttng-ust not to buildSaul Wold2011-09-072-1/+51
| | | | | | | | | | [YOCTO #1381] This patch came from from GCC Bugzilla via Khem Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes.txt: correct Qt capitalisationPaul Eggleton2011-09-071-1/+1
| | | | | | | "Qt" is correct according to the documentation. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: re-enable DISTRO checkPaul Eggleton2011-09-071-3/+5
| | | | | | | | 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.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image.bbclass: zap root password if debug-tweaks not enabledPaul Eggleton2011-09-071-0/+5
| | | | | | | | | | | | 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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hal: Add virtual/kernel as hal's build dependencyDongxiao Xu2011-09-071-1/+1
| | | | | | | | hal may need some kernel headers, thus we need virtual/kernel as its dependency. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Remove the multilib extension for linux-yoctoDongxiao Xu2011-09-071-1/+0
| | | | | | | | Kernel should be unique in a multilib system, so we remove the linux-yocto's extension in multilib.conf Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib_global.bbclass: handle kernel-module-* for multilibDongxiao Xu2011-09-071-0/+2
| | | | | | | | | | | | 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] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* telepathy-python: avoid duplicated installation of errors.pyDongxiao Xu2011-09-072-2/+29
| | | | | | | | | | | | 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] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpan.bbclass: fix native perl issueSaul Wold2011-09-071-1/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* prelink: Update to latest upstream versionMark Hatle2011-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | [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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* glib-networking: Ensure certificates are consistently disabledRichard Purdie2011-09-071-0/+2
| | | | | | | | | | | | | 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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxxDexuan Cui2011-09-071-1/+1
| | | | | | | | | | | | 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. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* populate_sdk_deb.bbclass: add the missing parameter - for tarDexuan Cui2011-09-071-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* busybox: update to 1.8.5Denis Carikli2011-09-079-3/+3
| | | | Signed-off-by: Denis Carikli <denis@eukrea.com>
* site/x86_64: Add entries to fix conf error on x86_64Zhai Edwin2011-09-071-0/+10
| | | | | | | | Add entries for ashldi3, bswapsi2... to fix autoconf error of grub on x86_64 [YOCTO #1434] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* xserver-nodm-init: Change hidraw mode to allow normal user accessZhai Edwin2011-09-071-0/+4
| | | | | | | USB HID like touch screen could be presented as hidraw* device, this change make user under rootless X can access them. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* initramfs-live-install: Be consistent with grub.Lianhao Lu2011-09-071-1/+2
| | | | | | | | [YOCTO #1428] Because the underlying grub 0.97 the initramfs-live-install RDEPDNEDS on only supports 32bit x86 target, set the COMPATIBLE_HOST accordingly. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* web: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatchSaul Wold2011-09-071-2/+2
| | | | | | [YOCTO #1454] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mtd-utils: update to version to 1.4.6Denis Carikli2011-09-073-5/+105
| | | | | | | mtd-utils 1.4.6 is the lastest release of mtd-utils at this time. Signed-off-by: Denis Carikli <denis@eukrea.com>
* pango: use qemu to generate pango.modules during rootfs constructionPhil Blundell2011-09-072-5/+8
| | | | | | This allows pango to be installed in an image with read-only-rootfs. Signed-off-by: Phil Blundell <philb@gnu.org>
* linux-yocto: re-enable utraceBruce Ashfield2011-09-072-8/+8
| | | | | | | | | Upating the meta data and machine branch contents with the up to date merge of utrace. 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>
* linux-yocto: re-enable systemtapBruce Ashfield2011-09-072-2/+2
| | | | | | | | | | | | | | | | | [ 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. 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>
* icu-3.6: fix building with big make -jDmitry Eremin-Solenikov2011-09-052-0/+20
| | | | | | | | icu-3.6 buildsystem contains small problem which causes some parallel builds to fail. Fix that. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-demo-init: fix init scriptDmitry Eremin-Solenikov2011-09-052-5/+5
| | | | | | | | qt-demo-init initscript lacks some quotes, which makes it bave not fulle correct. Fix that. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Fix ubi images creationDenis Carikli2011-09-051-0/+2
| | | | | | | | | | | | | | | | 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] 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>
* scripts/hob: notify the user when the GUI won't launch immediatelyJoshua Lock2011-09-051-0/+5
| | | | | | | | | | If the wrapper script needs to build pseudo before we can launch hob we need to notify the user so they aren't shocked by the action of launching a GUI and seeing a bunch of text whiz by on the console. Fixes [YOCTO #1435] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* scripts/hob: update to match recent hob changesJoshua Lock2011-09-051-5/+15
| | | | | | | | | hob now uses both a pre and post file, update the wrapper script to generate and use both of these. Addresses [YOCTO #1281] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* linux-yocto: clean configuration for v3.0.4Bruce Ashfield2011-09-052-2/+2
| | | | | | | | | | | | 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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update to v3.0.4Bruce Ashfield2011-09-052-11/+11
| | | | | | | | 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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: generalize kernel config search patternBruce Ashfield2011-09-052-2/+2
| | | | | | | | | | | | | | 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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: use per-image dirs for extX.gz images generationDmitry Eremin-Solenikov2011-09-051-16/+16
| | | | | | | | | | 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. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: standardize ability to specify custom qemu/kenel boot optionsScott Garman2011-09-051-14/+18
| | | | | | | | | | | | | | The old manner of specifying custom options to QEMU in this script using angle brackets was a frequent source of confusion. Meanwhile, Otavio Salvador added a decent method of specifying custom kernel boot options to this script. This patch documents the bootparams option and adds a similar way of specifying custom QEMU options using qemuparams="". This fixes [YOCTO #1019] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-tools: add systemtap to qemuarmTom Zanussi2011-09-051-2/+2
| | | | | | | | Systemtap now works with arm, so include it in task-core-tools-profile for qemuarm. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade to 1.6Tom Zanussi2011-09-052-127/+7
| | | | | | | | | 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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4e-demo-image: Ensure a shell is presentXiaofeng Yan2011-09-051-0/+1
| | | | | | | | | "/bin/sh" is needed by qt4e-demo-image, So I add busybox for fixing this problem. [YOCTO #999] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: fix sstate relocation for git-nativePaul Eggleton2011-09-052-1/+7
| | | | | | | | | 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] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* opensp: Fix sstate relocation issueSaul Wold2011-09-051-1/+8
| | | | | | | | | | [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. Signed-off-by: Saul Wold <sgw@linux.intel.com>