summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* groff: Fix sstate relocation issueSaul Wold2011-09-051-1/+8
| | | | | | | | | | [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. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* populate_sdk: We need to ensure that the SDK sysroot reflects PACKAGE_ARCHRichard Purdie2011-09-021-1/+1
| | | | | | | If we don't do this, the SDK target sysroot is named generically even when it contains package architecture specific optimisations. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROSPaul Eggleton2011-09-021-1/+1
| | | | | | | | | | | | | | | 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 \ " Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: remove hardcoded reference to /usr/binPhil Blundell2011-09-021-2/+2
| | | | | | | | Otherwise the class doesn't work if ${bindir} is set to a different value; likewise for /var vs ${localstatedir}. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix multilib baselib confusionRichard Purdie2011-09-022-9/+55
| | | | | | | | | | | | | 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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Only build one kernelRichard Purdie2011-09-023-27/+53
| | | | | | | | | | | | | | | 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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: extend multilib prefix for libsdlDongxiao Xu2011-09-021-0/+1
| | | | | | libsdl is required by sato image, so extend it for multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* multilib: Using different sysroot for multilib recipesDongxiao Xu2011-09-021-0/+3
| | | | | | | | | | | | | | | | | | 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] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* rootfs_rpm: setting DEFAULTTUNE for multilib archsDongxiao Xu2011-09-021-0/+3
| | | | | | | | To get the MULTILIB_PACKAGE_ARCHS, we need to get the corresponding DEFAULTTUNE value. This fixes the multilib arch directory missing issue in solvedb-ml_archs.conf. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* hal: Remove build time dependency of virtual/kernelDongxiao Xu2011-09-021-4/+3
| | | | | | | | | | | hal has runtime dependency on kernel, but not build time. Remove it from "DEPENDS" list. Also fix a wrong PACKAGE_ARCH setting when building multilib lib32-hal, because ":=" will be extended immediately which is not the right value. Using TUNE_PKGARCH instead. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* dropbear: add missing filesKoen Kooi2011-09-022-0/+22
| | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode: Update to 2011iSaul Wold2011-09-022-7/+7
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sato recipes: Update PR because of libowl conversion to gitSaul Wold2011-09-029-9/+9
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold2011-09-0219-106/+108
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: fix packaging of readprofileJoshua Lock2011-09-022-2/+2
| | | | | | | | We rename readprofile to readprofile.util-linux so we need to use that binary name in the FILES entry for the readprofile package. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Show sensible warning messages if expected binaries don't existRichard Purdie2011-09-026-12/+40
| | | | | | [YOCTO #1438] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Don't show errors from which ifconfig failingRichard Purdie2011-09-013-3/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix powerpc term and provide more template for different archesJessica Zhang2011-08-311-1/+14
| | | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang2011-08-313-17/+4
| | | | | | | | template for installation" This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: only enable pam if DISTRO_FEATURES requests itPhil Blundell2011-08-312-3/+4
| | | | | Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Fix rpm failed dependencies when installZhai Edwin2011-08-311-1/+6
| | | | | | | | | | There are some links become invalid after rename, so that failed dependencies detected when install rpm package. This commit update links to resolve it. [YOCTO #1158] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Change the path to find configuration file and add a configuration ↵Xiaofeng Yan2011-08-311-1/+11
| | | | | | | | | | | | | | | | file for dropbear dropbear will check "/etc/pam.d/sshd" which comes from package "openssh" \ When enabling pam supporting. But if we only install dropbear \ package without package "openssh", then "dropbear" will not \ find a configuration file. The changes are as follow for fixing this bug: - Change the path to find configuration file (/etc/pam.d/sshd --> /etc/pam.d/dropbear) - Add a configuration file "/etc/pam.d/dropbear" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-demo-init: Fix bug 999Xiaofeng Yan2011-08-312-0/+74
| | | | | | | | | [YOCTO #999] qt4e-demo-image needs qt-demo-init when starting qtdemoE. qt-demo-init was pulled from Openembeded. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: Fix WiFi security display issueDongxiao Xu2011-08-312-2/+44
| | | | | | | | | | | Latest connman-0.75 change the WiFi security type, causing the incompatibility of connman-gnome. Fix connman-gnome accordingly to show the correct security informtion. [YOCTO #1343] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Further S vs. PV fixupsRichard Purdie2011-08-313-1/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-nodm: Disable dbus-wait as it causes users too much confusionRichard Purdie2011-08-312-3/+4
| | | | | | | | | | In the event the xserver fails to start the dbus-wait has to time out and this causes many users a lot of confusion. If we wish to reinstate this, we need to find a safer mechanism to do it where X failing to start cancels the timeout (sends a dbus event at that point?) The comments are left in the file as an example in case some user does wish to enable is. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Clean up various MACHINE checksRichard Purdie2011-08-311-37/+50
| | | | | | | | | | | | | | | | | | [YOCTO #1398] Firstly we should start checking if MACHINE is set. It if isn't lets make this a sanity warning since its very hard to successfully build without setting one (and anyone wanting to do that can disable the sanity checks easily enough anyway). Some of the checks depend on a MACHINE being specified. This change moves those checks to a separate function so they only run if MACHINE has been set correctly. Both these issues combine to ensure the user sees a sane message and avoids the nasty tracebacks in the bug report referenced above. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Fix broken whitespaceRichard Purdie2011-08-311-6/+6
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Fix broken indentation leading to code being skipped ↵Richard Purdie2011-08-311-19/+19
| | | | | | unintentionally Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Ensure task's variable dependencies are correctly caputred ↵Richard Purdie2011-08-312-1/+16
| | | | | | | | | | | in the sstate checksum [YOCTO #1388] This change is needed to correctly add the dependencies for the do_package task which bitbake is unable to automatically detect itself. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* intltool: Fix perl pathsRichard Purdie2011-08-313-2/+45
| | | | | | | | | | Currently in the native case we have a path that can easily exceed the interpretor limit so use "env nativeperl" in that case. This patch also fixes up the target version's interpretor path but to do this we need to bypass the configure checks. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-package: restore correct mangling behavior for locale namesPhil Blundell2011-08-311-2/+2
| | | | | | | | | | This reverts 19fb07bf337e1d724798e2eb4479c35fc45b1941 and restores the behaviour of the code to the way it was prior to 561d875404ef1783f94f37314b6e756766db8411. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/007407.html and subsequent messages. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Fix broken source directoryRichard Purdie2011-08-311-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs ↵Xiaofeng Yan2011-08-302-20/+20
| | | | | | | | | | | | | | | | | and eglibc-charmps to variable PACKAGE There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \ and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \ eglibc-locale.inc is to make the above variables to take effect. eglibc-binaries include packages "eglibc-binary-*" eglibc-localedatas include packages "eglibc-localedata-*" eglibc-gconvs include packages "eglibc-gconv-*" eglibc-charmaps include packages "eglibc-charmap-*" Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: upgrade from 7.3 to 7.3aSebastian Krzyszkowiak2011-08-304-3/+3
| | | | | | | * because 7.3 archive is not fetchable anymore Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libidn_1.22: add SRC_URI checksumsSebastian Krzyszkowiak2011-08-301-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: use ${TARGET_PREFIX}depmodChris Larson2011-08-301-1/+1
| | | | | | | | | | Currently it uses ${TARGET_SYS}-. This is inconsistent, as the recipe and kernel bbclass both use the prefix. While there aren't many cases where the two differ, it is harmless to ensure that we are behaving consistently. Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>