aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-08-14rpmresolve: Ensure we call the rpm relocation code at init1.3_M3.rc21.3_M3.final1.3_M3Richard Purdie
We need to call rpmcliInit to ensure the rpm relocation code is called and it correctly honours the relocation environmental variables. We can drop the ReadConfigFiles call since the cliInit does this for us. (From OE-Core rev: eb17fdc1461953382360635480f12357eac4dc43) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13createrepo: add wrapper script to fix pathsPaul Eggleton
Fixes sstate relocation due to the path to /etc/rpm being baked into the libraries - this manifested in the form of the following assertion at runtime: python: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed. Fixes [YOCTO #2753]. (From OE-Core rev: b5028cc84ad7c40c51cadbdf7fdc892cde4462cb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13rpmresolve: add wrapper script to fix pathsPaul Eggleton
Fixes sstate relocation due to the path to /etc/rpm being baked into the libraries - this manifested in the form of the following assertion at runtime: rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed. Fixes [YOCTO #2936]. (From OE-Core rev: 44c2fb7ea0228dd749129d334c76a1bd2983e585) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13watchdog: fix SRC_URI _ -> -Saul Wold
(From OE-Core rev: 3d27ee3da296b57b6bc702431437e635c53697f7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13qemu.inc: disable curl for qemu-nativesdkRobert Yang
We had added the --disable-curl to EXTRA_OECONF, but there is an EXTRA_OECONF_virtclass-nativesdk += "foo", the "EXTRA_OECONF_virtclass-nativesdk +=" equals to "EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk. And change the "+=" to "=" to not confuse people. [YOCTO #2305] (From OE-Core rev: a69df1807af3e099685b766dac4d6c6919b01852) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-08foomatic: fix perl path for targetSaul Wold
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: 5290e82ecef08b5e573d7442627276d7b42c6b93) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07automake: Fix version reference in path substitutionsRichard Purdie
Without this the substitutions don't get made potentially resulting in a variety of different failures. (From OE-Core rev: 1e873271362b770381903098d46c4aec164d81de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels tooRichard Purdie
(From OE-Core rev: b033000900ef2082a2d2d2be3e36b6b813309902) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels tooRichard Purdie
(From OE-Core rev: 6b4ed64c04bbeb019192a7db1f77cfd002281be4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07binutils: Enable threaded linking with goldKhem Raj
This options will let gold spawn multiple threads for linking and speeding up linking on multicore build hosts. (From OE-Core rev: 210957a58260ec50416649aba799d0e96aeeff24) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07package-index: Remove the python hack, its not needed after the pythonnative ↵Richard Purdie
changes (From OE-Core rev: 247330b515a1f19189e97f3832242c1c965c2782) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07gcc: Disable use of sdt.h headerRichard Purdie
The target sysroot might contain sdt.h but we don't list this in DEPENDS and shouldn't be referencing it. Unfortunately there is no way to tell configure this since these tests are uncached and we can't force a particular value. The only option is therefore to patch this out. (From OE-Core rev: 1409d9b9690e39ecc63aacfdd5785586d83633ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07iputils: Break libsysfs dependencyAndy Ross
iputils drops a /bin/arping with a runtime linkage against libsysfs in /usr. Port Fedora 17 iputils-20071127-infiniband.patch, which inlines access previously done by libsysfs. (From OE-Core rev: 99c482124e9f476923f6d5cf0a9e5551507f9d14) Signed-off-by: Andy Ross <andy.ross@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINEDarren Hart
There has been some confusion over proper use of the linux-yocto-custom recipe. It is not intended to build as is from meta-skeleton. It should be modified via a bbappend file to provide a Linux kernel config at the very least. Update the commentary to make this requirement more explicit. Add some additional detail about how to create a bbappend file and how and when to modify the various variables. Clear COMPATIBLE_MACHINE so bitbake will not attempt to build the recipe unless the user explicitly adds there machine to the variable, which should encourage them to read the recipe comments before attempting to build it. (From OE-Core rev: 8ac3d0566e793777ec4f6629ef752d6db6231ca9) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07image-mklibs: pass correct libdir to mklibsJesse Zhang
libdir should be specified, or else mklibs won't work for 64bit targets. It wouldn't be able to find the libs. Traceback (most recent call last): File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 553, in <module> header = elf_header(find_lib(libraries.copy().pop())) File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 89, in elf_header raise Exception("Cannot find lib: " + obj) Exception: Cannot find lib: (From OE-Core rev: d2cd2ccea8bc4d110647ba3bd202772e5407000a) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07python: Fix RPATH QA issue on non-gplv3 buildsRichard Purdie
On non-gplv3 builds, gdbm gets built different due to the different version which triggers a different codepath in python's db support and then hence triggers an invalid RPATH QA issue. This change extends the appropriate patch to cover the code paths we need it to cover and avoid adding the problematic RPATH. (From OE-Core rev: 90540692c40719b757b80bdc6e78e679a3df83a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.4: Disable extra slang header search pathRichard Purdie
Add in a workaround to avoid host infection detection build failures from the slang include directory in perf. I'll defer to Bruce to fix this properly but we need a workaround now as this is breaking builds. (From OE-Core rev: 4fd4b2eafb5f4ff2ef85d7f5ff3238a41c34313b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-firmware: Ensure PR goes forward, not backwards after the revertRichard Purdie
(From OE-Core rev: 447819db343a93bcc1e079c2a33b592da20f6c1e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"Richard Purdie
This change breaks firmware loading on 64 bit platforms. This therefore reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07kernel.bbclass: Revert ${base_libdir} changeRichard Purdie
The base_libdir change in 5b8a4798ea2ea7df66bb53c26448251ea7da3dd9 breaks the kernel build for 64 bit machines. Revert this part of the change. (From OE-Core rev: 351bdc59f8af915ae203af7799eedc0ce42785f2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07kernelshark: Inherit pythonnativeRichard Purdie
(From OE-Core rev: 2b23cd1c8f81de989bce1ecab2d5b4328328de86) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07gdb-cross: Explicitly disable pythonRichard Purdie
Python isn't in DEPENDS but can be autodetected from the sysroot. Explicitly disable it to ensure deterministic builds. (From OE-Core rev: b8dd9592f844d15cdc8631b56ec42888a07826c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06subversion: Add missing build dependency on sqlite3Bogdan Marinescu
subversion needs an explicit dependency on sqlite3, otherwise it does not build. Tested by building core-image-minimal. (From OE-Core rev: 47aca0f0f79c30d1df1f89c710d3e354f436145d) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06findutils-4.4.2: add bison-native to DEPENDSXin Ouyang
[YOCTO #2858] (From OE-Core rev: 09a023e777b1e05b3edbec2bc49232042f6bf088) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06bison: updated to 2.5.1Bogdan Marinescu
The gets patch is not needed anymore in this version. The manpage patch was updated for this version. (From OE-Core rev: 2f11d409e20d90f2d619b4d92495c3fcd30584ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06buildhistory: reduce the numeric delta to 10%Ross Burton
(From OE-Core rev: f6effbf62351761430438cfcce285c982271239c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06buildhistory: correctly handle reductions of numeric fieldsRoss Burton
(From OE-Core rev: 94fffb92e6a7a8021fb1acb06b9c4218703e23b2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06libpam: disable NIS to not link with libtirpc when it is availableMarcin Juszkiewicz
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) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06gthumb: fix parallel build problemsRoss Burton
It's possible with a parallel build for make to spin waiting for a file change when it isn't going to. Fix the build rules so this doesn't happen. [YOCTO #2319] (From OE-Core rev: dea6a0eb2bf06b3dc47e276a046d8dd828e47228) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06babeltrace: Update to upstream stable versrion 0.12Radu Moisan
Latest version is 1.0.0 but in rc4 for now. (From OE-Core rev: 6172f1fed9850180a3a84ca62cc0741d132031e4) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06atk: package update 2.2 -> 2.4Radu Moisan
(From OE-Core rev: 9202bc255eb6867b4b6dd1c0850c70a4d0f1fb76) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/package: don't make locale pkgs depend on PN pkg if not in PACKAGESPaul Eggleton
If ${PN} is not in PACKAGES then don't add it as an RDEPENDS for each locale package. This fixes the installation of gcc-runtime locale packages, for example. (From OE-Core rev: d36c3235b3022c07f064929f55114f808a7634f6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/buildhistory: save metadata revisionsPaul Eggleton
Always write the metadata revisions for each layer into a machine- readable "metadata-revs" file so that you can potentially link changes in the output back to changes in the metadata. (Unlike the existing similar build-id file, this is not specific to image changes.) (From OE-Core rev: 45f38d167b523d769c072474b36b3d9b31b4e9d9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06buildhistory_analysis: ignore removal of self-dependenciesPaul Eggleton
The recent removal of self-dependencies for dbg/dev packages produced a fair amount of noise, so filter it out since we know this is a reasonable change. (From OE-Core rev: 3ec608462e4cb1eb77b6addbae1bda84fd76e4d2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06buildhistory_analysis: tidy up duplicate split_version functionPaul Eggleton
This function is now provided by bb.utils and since we have now bumped the minimum bitbake version, we can switch to that one instead. (From OE-Core rev: 67a4d15f0a8032190e92026677150162a492a053) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/buildhistory: record PKG/PKGE/PKGV/PKGRPaul Eggleton
Save PKG (the actual output package name, which is often different due to debian renaming), and PKGE/PKGV/PKGR (which may be manipulated in certain special cases e.g. gitpkgv.bbclass in meta-oe, the external-sourcery-toolchain recipe, etc.) Note that these are only written when they are different from the normal package name in the case of PKG, or PE/PV/PR for the other variables. Also, use PKGE/PKGV/PKGR instead of PE/PV/PR when comparing package versions since these actually represent the version that the package manager sees. Implements [YOCTO #2787]. (From OE-Core rev: 65d7e9b2d4d8115ac9fd513c04f39a2df9556a5a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/buildhistory: save preinst/postinst/prerm/postrmPaul Eggleton
Write the value of these package script variables into the packageinfo so that any changes to them can be tracked (in separate files since they are multi-line). Inspired by an earlier patch from Andreas Müller <schnitzeltony@googlemail.com> (From OE-Core rev: 988a417c857c01c87de6ba9602968059cf8d830f) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/buildhistory: remove unused functionsPaul Eggleton
getlastrecipeversion and readRecipeInfo weren't called anywhere. Remove them so we don't have to keep them up-to-date with future additions to the recipe info file. (From OE-Core rev: 22bf6284576ccee607d7bd197420a29242df11c0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/buildhistory: ensure old package info is removedPaul Eggleton
If a package is removed from PACKAGES, ensure that the package info file and directory are removed from buildhistory so that we don't have stale data lying around. (From OE-Core rev: 223b183197b363edef0c11a25bad33555fca5a15) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06classes/buildhistory: remove obsolete flat package history featurePaul Eggleton
Remove the ability to set BUILDHISTORY_KEEP_VERSIONS = "1" to save the package history as flat versioned files rather than relying on git to keep previous versions of the package information. git has proven to work quite well in this capacity. (From OE-Core rev: ccedfd250620fc562988ba730ad5717b107a9d3e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: 7.11 -> 8.0.4Richard Purdie
(From meta-yocto rev: 9d0367ac72bf924525b7e6587cc8f7041ec99d67) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06curl: disable ldap/ldaps explicitlyMartin Jansa
* openldap from meta-oe is autodetected and then libldap-2.4-2 runtime dependency added to curl and almost all meta-efl recipes (From OE-Core rev: 666b67179d4492e4d950b94457ebf8cac6454f7d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: Use 'require' instead of 'include'Damien Lespiau
These include files are really required, not optional. (From OE-Core rev: 1aa6c4a083e406de0119f92e9654068d6cc2e4de) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: Update to 8.0.4 (latest stable version)Damien Lespiau
- The license file has changed, but the project still has the same license - Patches have been rebased on top of the 8.0 branch. crossfix.patch and crossfix-mklib.patch have been merged as they address the same problem (From OE-Core rev: e4039eb74b20e96d4b8837cd58cf2d13d091e1ad) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: enable the Graphic Buffer Manager libraryRoss Burton
(From OE-Core rev: be882417cf432fe79a843cea4439503f286206cf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: add --enable-shared-glapi, and package it in libglapiRoss Burton
(From OE-Core rev: d856f4c18425b9e3e5a0898d7f29cffc1998ca12) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: move glu.pc to libglu-devRoss Burton
(From OE-Core rev: 98975edaff2cc4cc417dee2c7c530e602ff2e4cc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: format the packages list nicelyRoss Burton
(From OE-Core rev: ca9c3f57c72f443b9efe5f0bd5cb9a7bb169ed30) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06mesa: no need to depend on python-native, the class does thatRoss Burton
(From OE-Core rev: dd2a11fa262ced8e9f06413e69bbe1cb1b3e538b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06linux-firware: use ${base_libdir} instead of /lib for packagingJavier Martinez Canillas
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: ce2665b6ae77770d69ffbc4d45c96ce829d16738) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>