summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* opkg-utils: UPdate to version with python 2.6 fixRichard Purdie2012-09-281-2/+2
| | | | | | (From OE-Core rev: ba2058aa74eb6cd263bd19a8338eeeced734f55c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: bump SRCREVMartin Jansa2012-09-281-1/+1
| | | | | | | | | | | * there are 2 small fixes python-2.6 compatibility missing C option for opkg-build (From OE-Core rev: 825a992af39d4eb75f105241e4cd94624b1dea43) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: bump SRCREV for Packages cache fix and other fixesMartin Jansa2012-09-286-221/+1
| | | | | | | | (From OE-Core rev: ce5b46980f35097bd5fcc8195c5d5be1b980c870) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xz: updated to version 5.1.1alphaValentin Popa2012-09-281-5/+5
| | | | | | | | | The licenses are the same, only some white spaces added/removed. (From OE-Core rev: dbfc3d05e49b46ec033623d66e64cf781df4f632) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: fix TypeError in runstripMartin Jansa2012-09-281-6/+10
| | | | | | | | | | | | * some packages have .ko files which are not elf, without this change it fails with TypeError, with this change only runstip fails and reports where: ERROR: runstrip: ''arm-oe-linux-gnueabi-strip' '/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/emacs-23.4-r0/package/usr/share/emacs/23.4/etc/tutorials/TUTORIAL.ko'' strip command failed (From OE-Core rev: 12e40ca7317289fec126d9f30b28a717fe72d274) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils/steuptools: Fix files layout and unbreak buildsRichard Purdie2012-09-282-1/+2
| | | | | | | | | | | | | | | | | The last two distutils changes progressivly broke the builds. Firstly they moved things from the site_packages directory to being higher up the tree which introduced package QA warnings as a side effect. Secondly, it interacts badly with setuptools which passes in --root=${D} itself. This patch restores the original directory layout, hence fixing the QA warnings and also passes extra options to setuptools to deal with the --root option it passes. (From OE-Core rev: bed18d5df7915e4127a538be9c7550e185c8c850) (From OE-Core rev: f60a04ccbf9ed614b5b5b9b02c8a24980bf17d3d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils.bblass: change order of args to install stepMatthew McClintock2012-09-281-1/+1
| | | | | | | | | | | | | | This let's the user override install-lib argument again if it needs to be something else, otherwise things like python-setuptools won't be able to modify the install-lib dir This fixes a new issue exposed by my previous distutils patch that fixed the python modules default install location (From OE-Core rev: 0fd7b7dd361e59c687366480cd9f89c81c2e5bce) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils.bbclass: fix libdir for 64-bit python modules built with distutilsMatthew McClintock2012-09-281-1/+1
| | | | | | | | | | | | | Without this some modules will be intalled in /usr/lib/python2.6/ instead of /usr/${libdir}/python2.6 (From OE-Core rev: bc6bd774aa8a3e085e9cabcefb11c3fc537139d5) (From OE-Core rev: fc513eda1cfccc583f49847c3c04b5c781585e15) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Add vmx* files and build zip fileSaul Wold2012-09-283-1/+80
| | | | | | | | | | This commit adds the vmx* files needed to setup a VMware image, this also packages the vmdk along with the vmx files. (From OE-Core rev: ed0ffc12ed6f98471dced1ce2020af4e5c99f2c7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update SRCREV to Denzil 1.2.1Saul Wold2012-09-281-1/+1
| | | | | | | (From OE-Core rev: 242fb49ac416824e53c58a8a0cb9bb9d19a72ec4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: rename from self-hosted-imageValentin Popa2012-09-282-2/+2
| | | | | | | | | | | | | | (-) renamed self-hosted-image to build-appliance-image (-) replaced build-appliance-image description [YOCTO #2636] (From OE-Core rev: 04096f31778886479dac479132bded57e717653e) (From OE-Core rev: bf133c331029ac588b27173145db5be5f6ee1ef5) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: LIC_CHKSUM TweakFranklin S Cooper Jr2012-09-281-2/+2
| | | | | | | | | | * Change the license checksum to use the lines in the psplash.h that contains license information instead of doing a checksum on the entire file. (From OE-Core rev: 2c80eb5b9c103087774f032be01f5cf6309464d7) Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp_20120104: add rdependsKang Kai2012-09-281-1/+3
| | | | | | | | | | | [Yocto #2973] Add rdepends libaio to fix this defect. (From OE-Core rev: 79d12314729649add741509a46b7770e22dd23ad) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: set master branch to a defined SRCREVBruce Ashfield2012-09-281-4/+8
| | | | | | | | | | | | | To support custom repositories that set a SRCREV and that only have a single master branch, do_validate_branches needs a special case for 'master'. We can't delete and recreate the branch, since you cannot delete the current branch, instead we must reset the branch to the proper SRCREV. (From OE-Core rev: 3a8dc0a01d2756bb8f51afccad772fca1dc48af3) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: allow do_validate_branches to handle all branchesBruce Ashfield2012-09-281-39/+80
| | | | | | | | | | | | | Branch validation will not restrict a branch that doesn't exist in the tree at the time of validation (since you can't reset a SRCREV on a non-existent branch). This restriction can be removed by looking for all branches that contain the specified SRCREV and forcing them to that value. (From OE-Core rev: 790f6441851fd4b2b84129340c438092f058135b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-core/eglibc-2.13: Patch for locale-base-tt-ru packagingJeff Polk2012-09-282-1/+15
| | | | | | | | | | | | | | | The eglibc-2.13 build can fail because locale-base-tt-ru is in PACKAGES twice. This is because the SUPPORTED list and the i18n directories are out of sync with each other; the SUPPORTED list expects a directory named "tt_RU.UTF8", but the directory is actually named "tt_RU", and likewise for the @iqtelif variants. (From OE-Core rev: 280886bb865efde6bda327a1c821220d64c893ba) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc/gcc: add patches to fix eglibc 2.15 buildMatthew McClintock2012-09-286-468/+4065
| | | | | | | | | | | This drops one patch against eglibc for 2.15 and adds two new ones, also it adds a gcc patch. We use all of these internally and they are tested quite well. (From OE-Core rev: a7014c446b0d2f3b40c4b058c64bb61c8720d799) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: disable NIS to not link with libtirpc when it is availableMarcin Juszkiewicz2012-09-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | I was checking ways to make incremental builds faster so I started using sstate-cache and SSTATE_MIRRORS. But this gave me some nasty bug: | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for php-cgi: | * libtirpc1 (>= 0.2.2) * | * opkg_install_cmd: Cannot install package php-cgi. I checked details: In my previous build libtirpc got built before libpam so libpam found it and linked. As a result packages depend on libtirpc1 but as there is no such build dependency sstate handling code did not used libtirpc copy... (From OE-Core rev: e629bdcd1bcb51f2d2101fb53daeac0bd29ab637) (From OE-Core rev: 8ff92269cd63e153892d129e6e2255812a454a99) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib.inc: disable selinux for native buildsMatthew McClintock2012-09-283-3/+3
| | | | | | | | | | | | In addition to dbus, we also need to disable selinux for glib as well otherwise we will get the same link error (Note: Upstream master has disabled selinux AFAICT) (From OE-Core rev: 318bc896b1bd5399807a417865b8e088d9d9eb15) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus.inc: disable selinux for native buildsMatthew McClintock2012-09-281-1/+3
| | | | | | | | | | | | | | | (Note: Upstream master has disabled selinux for this AFAICT) Fixes issues such as: | /usr/bin/ld: cannot find -lselinux | collect2: ld returned 1 exit status | make[3]: *** [libdbus-glib-1.la] Error 1 (From OE-Core rev: 7ee10f25430421dc6e9552ffe15a6a5acbd4cb51) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: use base branches for qemu 'newbranch' caseTom Zanussi2012-08-214-8/+8
| | | | | | | The branch updating for the [YOCTO #2587] fix inadvertently changed some of the qemu branch names incorrectly, fix it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: generate default properties even if json specifiedTom Zanussi2012-08-211-2/+2
| | | | | | | | | Users seem to want to specify incomplete property sets when using json input. Allow this by generating default properties before the user-specified properties are applied; the user will then get the defaults for any unspecified values, and avoid cryptic backtraces. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: use emgd 1.10 for i386 templateTom Zanussi2012-08-213-4/+9
| | | | | | | Make i386 template use emgd 1.10 for denzil, along with associated changes. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add i586 option for i386Tom Zanussi2012-08-211-2/+5
| | | | Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add some standard policyTom Zanussi2012-08-214-0/+28
| | | | | | Add some useful default options to to the i386 and x86_64 templates. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: remove 'branch' statements in .scc if reusing branchTom Zanussi2012-08-217-8/+7
| | | | | | | If reusing a branch (need_new_branch == 'n') we don't need to branch in the .scc, so make it conditional on need_new_branch. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: use rstrip() for assignment linesTom Zanussi2012-08-211-1/+1
| | | | | | | | strip() isn't necessary and causes unintended formatting changes in the output; rstrip() remove the trailing newlines as intended while leaving indenting whitespace intact. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: use standard branch mapping in bsp templatesTom Zanussi2012-08-213-4/+4
| | | | Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add standard branch mappingTom Zanussi2012-08-211-0/+21
| | | | | | | Add a mechanism to distinguish common-pc variants of standard branches. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: use branches_baseTom Zanussi2012-08-2124-80/+80
| | | | Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: allow branch display filteringTom Zanussi2012-08-212-0/+25
| | | | | | | Add a "branches_base" property that can be used to allow only matching branches to be returned from all_branches(). Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: update default branch namesTom Zanussi2012-08-2124-46/+46
| | | | | | | | | Make sure the default branch names match branch names found in the kernel branch listing. Fixes [YOCTO #2587]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: strip '/base' from kernel branches in templatesTom Zanussi2012-08-2124-48/+48
| | | | | | | | | For new branches, users can specify /base branches, but we don't want the '/base' in the resultant branch name, so remove it. Fixes [YOCTO #2693]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* yocto-bsp: add new strip_base() functionTom Zanussi2012-08-211-0/+10
| | | | | | | Add a strip_base() function to remove '/base' from the branch names presented to the user. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* cooker: fix UnboundLocalError when exception occurs during parsingPaul Eggleton2012-08-211-0/+2
| | | | | | | | | | | | | | | | | | | Fix a recent regression where we see the following additional error after an error occurs during parsing: ERROR: Command execution failed: Traceback (most recent call last): File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand self.cooker.updateCache() File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache if not self.parser.parse_next(): File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1672, in parse_next self.virtuals += len(result) UnboundLocalError: local variable 'result' referenced before assignment (Bitbake rev: 1ae0181ba49ccfcb2d889de5dd1d8912b9e49157) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/fetch2: remove references to ChecksumError classMatthew McClintock2012-08-211-6/+2
| | | | | | | | | | | | | | | | From: Matthew McClintock <msm@freescale.com> When merging fetch2 improvements from master into denzil, there were too many dependencies to pull in the entire ChecksumError class, so this patch removes references to ChecksumError for compatability. Fixes this issue: NameError: global name 'ChecksumError' is not defined Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* bitbake: fetch2: Handle errors orruring when building mirror urlsRichard Purdie2012-08-211-2/+11
| | | | | | | | | | | | When we build the mirror urls, its possible an error will occur. If it does, it should just mean we don't attempt this mirror url. The current code actually aborts *all* the mirrors, not just the failed url. This patch catches and logs the exception allowing things to continue. (Bitbake rev: c35cbd1a1403865cf4f59ec88e1881669868103c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Improve mirror looping to consider more casesRichard Purdie2012-08-211-12/+29
| | | | | | | | | | | | | | | | Currently we only consider one pass through the mirror list. This doesn't catch cases where for example you might want to setup a mirror of a mirror and allow multiple redirection. There is no reason we can't support this and the patch loops through the list recursively now. As a safeguard, it will stop if any duplicate urls are found, hence avoiding circular dependency looping. (From Poky rev: 0ec0a4412865e54495c07beea1ced8355da58073) (Bitbake rev: e585730e931e6abdb15ba8a3849c5fd22845b891) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Explicitly check for mirror tarballs in mirror handling codeRichard Purdie2012-08-211-1/+2
| | | | | | | | | | | | With support for things like git:// -> git:// urls, we need to be more explicity about the mirrortarball check since we need to fall through to the following code in other cases. (From Poky rev: 28e858cd6f7509468ef3e527a86820b9e06044db) (Bitbake rev: a2459f5ca2f517964287f9a7c666a6856434e631) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Split try_mirrors into two partsRichard Purdie2012-08-211-49/+59
| | | | | | | | | | | | | | | | There are no functionality changes in this change (From Poky rev: d222ebb7c75d74fde4fd04ea6feb27e10a862bae) (Bitbake rev: db62e109cc36380ff8b8918628c9dea14ac9afbc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: bitbake/lib/bb/fetch2/__init__.py Signed-off-by: Khem Raj <kraj@juniper.net>
* bitbake: fetch2: Ensure when downloading we are consistently in the same ↵Richard Purdie2012-08-211-1/+5
| | | | | | | | | | | | | | directory This assists with build reproducuility. It also avoids errors if cwd happens not to exist when we call into the fetcher. That situation would be unusual but I hit it with the unit tests. (From Poky rev: 86517af9e066c2da1d580fa66b7c7f0340f3403e) (Bitbake rev: b886c6c15a58643e06ca5ad7a3ff1f7766e4f48c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Only cache data if fn is set, its pointless caching it ↵Richard Purdie2012-08-211-2/+2
| | | | | | | | | | against a None value (From Poky rev: c2df30bf6d1f8c263a38c45866936c1bf496ece5) (Bitbake rev: f4b59cc6e1c3ddc168a1678ce39ff402ea1ff4cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Fix error handling in uri_replace()Richard Purdie2012-08-211-1/+2
| | | | | | | | (From Poky rev: 1bfba28a583cb167f60e05ecdf34d0786dc1eec5) (Bitbake rev: aa7467a764ddcbc7d65af99e88cf093b6ec6d24e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/__init__: Make it clearer when uri_replace doesn't return a ↵Richard Purdie2012-08-211-2/+4
| | | | | | | | | | match (From Poky rev: dc9976331c5cbb0983adb54f6deb97b9203bacbc) (Bitbake rev: eb96609864dec95a516e6e687dd6a2f31d523acf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix default.supp missing issueZhenhua Luo2012-08-211-1/+5
| | | | | | | | | | | | When run valgrind, following error appears: ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp" (From OE-Core rev: 0b3261d513cdad80174a9b9e804981c50bcb7ca2) (From OE-Core rev: 95756cfbb7a9348b23cb46a49a5509e57e973faf) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/license: fix manifest to work with debPaul Eggleton2012-08-211-1/+1
| | | | | | | | | | | | | | Prepend the license manifest creation call to ROOTFS_POSTPROCESS_COMMAND instead of appending to ROOTFS_POSTINSTALL_COMMAND. The latter is not implemented for the deb backend (and probably ought to just be removed completely), and by using _prepend we can still ensure it occurs before package info is removed (and before buildhistory in case it is needed there in future). (From OE-Core rev: 6ffd958ff2f7f1d07ab9da5ca8db1727dd074980) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/buildhistory-diff: add GitPython version checkPaul Eggleton2012-08-211-2/+6
| | | | | | | | | | Display an error if the user does not have at least version 0.3.1 of GitPython installed. (From OE-Core rev: 07b9c3bc67439d47627fe256796465520b533753) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory_analysis: fix error when version specifier missingPaul Eggleton2012-08-211-1/+1
| | | | | | | | | | Passing None to split_versions() will raise an exception, so check that the version is specified before passing it in. (From OE-Core rev: a530aee6d9b2b63ab5fa780b1761eac759e8c833) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/rootfs_*: fix splitting package dependency stringsPaul Eggleton2012-08-212-4/+4
| | | | | | | | | | | | | | | | If a + character appears in a version specification within the list of package dependencies, the version will not be removed from the list in list_package_depends/recommends leading to garbage appearing in the dependency graphs generated by buildhistory. To avoid any future problems due to unusual characters appearing in versions, change the regex to match almost any character. Fixes [YOCTO #2451]. (From OE-Core rev: d592c3a26c630d5f3bfba4804a93766447bf72c9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* foomatic: fix perl path for targetSaul Wold2012-08-211-1/+2
| | | | | | | | | | | | | | | | This problem appears on F17 when configure finds /bin/perl, since the beh script is a target side script, we need to set PERL in the do_configure_prepend in order for the correct perl to be used (From OE-Core rev: f189ee78bed0920cfd33689ebb9aad45fded2c4d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Reworked commit to fix merge conflicts with denzil branch. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>