summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* subversion: remove neon-detection.patch and --with-neon optionMartin Jansa2011-09-152-18/+2
| | | | | | | | | | | * upstream detection seems to be doing its job right now * I don't see how this is supposed to work -- neon_config="$withval/bin/neon-config" -+ neon_config="env env PKG_CONFIG_PATH=${withval}:${PKG_CONFIG_PATH} pkg-config neon" when neon_config should be sysroots/nokia900/usr/bin/crossscripts/neon-config " Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* task-core-boot: allow distributions to define login and init managerMartin Jansa2011-09-151-2/+6
| | | | | | * for example someone prefers shadow instead of tinylogin and upstart instead of sysvinit Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openssh: update init script to create ECDSA keys if neededMartin Jansa2011-09-152-1/+5
| | | | | | | * Starting with openssh-5.8p1, the server will default to a newer key algorithm (ECDSA). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* cml1/kernel: Update do_menuconfig to use oe.terminal()Richard Purdie2011-09-151-7/+4
| | | | | | | | The recent environment fixes broke the menuconfig task since it couldn't access variables like DISPLAY. This patch updates it to use oe.terminal instead allowing it to work again. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro-tracking: Update aliasZhai Edwin2011-09-151-7/+21
| | | | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* distro_tracking: update package aliasDongxiao Xu2011-09-151-0/+14
| | | | | | Update package alias which exist in other two distributions. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* task-core-sdk: change task-core -> task-core-consoleSaul Wold2011-09-151-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* grub2: new recipeTom Zanussi2011-09-153-0/+73
| | | | | | This adds the grub-1.98 from meta-intel while upgrading it to 1.99. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* initramfs-live-install: add support for grub2Tom Zanussi2011-09-152-11/+28
| | | | | | | | | grub2 needs a different set of install steps from grub 0.97. This adds them to init-install.sh and adds an install-time check that determines which version is being used and which steps to use depending on the version of grub selected. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* linux-yocto-rt: correct 3.0.3->3.0.4 mismerge for, stop_machine.cBruce Ashfield2011-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | Merging the following commit for the -rt machines: [ preempt-rt/base: correct 3.0.3->3.0.4 mismerge for, stop_machine.c Commit 0b805cce57f61a244eb3b8fce460b14f1be442b3 dropped a change making stop_cpus_mutex non-static, resulting in a build failure for 3.0.4-rt kernels. Restore the move to non-static from commit 6857336c7fddaf460a13adc0c395698fcf9423ff. Reported-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> ] Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: split e100 and e1000 supportBruce Ashfield2011-09-152-2/+2
| | | | | | | | | Merging the following meta changes: 12574e5 meta: create seperate feature for 10/100 LAN support c8b37bf meta: Remove 10/100 LAN support. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: move common tasks to a common locationBruce Ashfield2011-09-155-33/+9
| | | | | | | | | | | During the initial development of the linux-yocto recipes there were several additional tasks that needed to be run in any inheriting recipe. At that time, they didn't seem to fire if they were in the include file versus the recipes themselves. As it turns out, these tasks do work fine if placed in the linux-yocto.inc file, and the rest of the recipes can be simplified as a result. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* task-core: split into task-core-console and task-core-x11Paul Eggleton2011-09-154-18/+40
| | | | | | | | | | | | | | [YOCTO #1481] Since tasks are referred to almost exclusively via RDEPENDS, and bitbake will build an entire task recipe when only one of its task packages are actually needed, building a console-only image that uses task-core-apps-console (or less directly, has apps-console in its IMAGE_FEATURES) will cause a build of a whole list of X11 applications that aren't needed. Splitting the task-core recipe into X11 and console portions prevents this issue. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* distro_tracking_field: add distro checking fieldYu Ke2011-09-151-0/+13
| | | | | | add the missing distro checking field for some recipes Signed-off-by: Yu Ke <ke.yu@intel.com>
* qt4: add blacklist-diginotar-certs patchEric Bénard2011-09-158-4/+104
| | | | | | | | - this patch comes from Nokia and blacklist all DigiNotar intermediates and root certificates, more details are available here : http://labs.qt.nokia.com/2011/09/07/what-the-diginotar-security-breach-means-for-qt-users-continued/ Signed-off-by: Eric Bénard <eric@eukrea.com>
* package_deb.bbclass, populate_sdk_deb.bbclass: fix meta-toolchain-gmae buildDexuan Cui2011-09-152-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1070] Currently with deb packaging, we have 2 issues when running "bitbake meta-toolchain-gmae". 1) when MACHINE="qemux86", SDKMACHINE="i686", INSTALL_BASEARCH_DEB is "i686", too. This causes the following ERROR: | E: Couldn't find package task-sdk-host-nativesdk NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed This is becasue: due to the DPKG_ARCH mapping, we create such a deb package tmp/deploy/deb/i686-nativesdk/task-sdk-host-nativesdk_1.0-r10_i386.deb; dpkg can't recoginze the package. We need to map INSTALL_BASEARCH_DEB in the same way. 2) when MACHINE="qemux86", SDKMACHINE="x86_64", INSTALL_BASEARCH_DEB is "x86_64", too. We get such an ERROR: | E: Couldn't find package task-cross-canadian-i586 NOTE: package meta-toolchain-gmae-1.0-r6: task do_populate_sdk: Failed This is because: dpkg can't recognize the generated package tmp/deploy/deb/x86_64-nativesdk/task-cross-canadian-i586_1.0-r0_i386.deb Here the "i386" suffix is incorrect and should be "x86_64" -- the i386 comes from the line DPKG_ARCH_i586 ?= "i386" in package_deb.bbclass. However, for canadian package, actually here the overriding of DPKG (from "x86-64" to "i386") should not happen -- it accidently happens just because TARGET_ARCH exists in OVERRIDES. We can move the overriding logic to the anonymous python function to work this around. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* Uprev to latest version of prelink_git, fixing TLS issuesMark Hatle2011-09-151-2/+2
| | | | | | | | | | | | | | | [YOCTO #1473] From the upstream cross prelink respository: Fix printf typecast problem Without this fix the printed TLS(...) information is incorrect, which causes the core prelinker code to incorrectly prelink. This bug triggers primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm targets. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* core-image-minimal: Add missing POKY_EXTRA_IMAGE variableRichard Purdie2011-09-141-1/+1
| | | | | | | | | | | | Whilst this needs renaming it at least brings this image into line with the other images and ensures consistent behaviour. Renaming can take place at a future point. This fixes the problem where extra packages could be added to other image types using this varibale but not in the case of the minimal image. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libzypp: move package-manger to it own packageSaul Wold2011-09-131-1/+8
| | | | | | | | | | [YOCTO #1234] This moves a couple of files to a pkgmgt package so that they will not be installed by default. This removes the Add/Remove Software Icon from rpm based rootfs. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternativesDexuan Cui2011-09-132-12/+9
| | | | | | | | | | | | | | | | | [YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Remove recipe from multilib.conf that inherits allarchDongxiao Xu2011-09-132-2/+4
| | | | | | | | | | | | | Recipes like update-rc.d and qemu-config inherit "allarch", thus we shouldn't add multilib BBCLASSEXTEND for them in multilib.conf. Besides, we need to add multilib packages as the RPROVIDER contents for those recipes, in order to avoid the NoProvider error when parsing. [YOCTO #1471] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: do not expand PREFERRED_PROVIDER for kernel recipeDongxiao Xu2011-09-131-1/+3
| | | | | | | | | | With Richard's commit f9c36392, we only build one kernel for a system, thus we shouldn't extend PREFERRED_PROVIDER for virtual/kernel. [YOCTO #1471] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "pango: use qemu to generate pango.modules during rootfs construction"Richard Purdie2011-09-132-8/+5
| | | | | | | This reverts commit 62381fd3a135318794f14dc3740b04facd32446e. This commit has issues with the rpm rootfs generation which need resolving before it can be accepted.
* opensp: Fix hard path in native nsgmls.Zhai Edwin2011-09-133-1/+36
| | | | | | | | | | | | | | | This relocation issues caused following bug and introduce one partial fix bb024d: [YOCTO #1440] But the environment val hacking is not working all the time, as nsgmsl may append wrong path in some case. This fix use search directory "-D" as solution. And more important, change the iputils' way to make doc: Use the sysid in current directory instead of parent directory, as "../" is also appended to the search directory then lead searching failure. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> CC: Saul Would <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: add patch for useradd lossagePhil Blundell2011-09-092-2/+20
| | | | | | | | | This fixes (or, at least, papers over) a failure in do_install for recipes which inherit useradd.bbclass. Rewinding optind in this way is not entirely portable but in practice it seems to work on GNU-ish build hosts at least. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>