summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* m4-native: explicitly set an empty BBCLASSEXTENDJoshua Lock2012-03-041-0/+1
| | | | | | | | | | | The BBCLASSEXTEND from the included target results in an m4-native-nativesdk which causes problems when running a universe fetch. (From OE-Core rev: 8bd88113ec7b962b570cdc90efa9f8b405730677) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eds-tools: Convert from BZR to GIT RepoSaul Wold2012-03-041-3/+3
| | | | | | | | | (From OE-Core rev: b83e4e1aeed115a2b495e54b0122ccf76b4d2eed) (From OE-Core rev: b6b0fe6747453b57fe8cab666727a650639c3a6e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: add BBCLASSEXTEND native for libgcrypts and gnutls-nativeSaul Wold2012-03-041-0/+2
| | | | | | | | | (From OE-Core rev: 3094a844f1ceb77153ac1a733623e6aca770b64b) (From OE-Core rev: df48313f74e36c190cc2c25b6bdd98544acd2a28) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcrypt: add BBCLASSEXTEND native for gnutls-nativeSaul Wold2012-03-041-0/+2
| | | | | | | | | (From OE-Core rev: 796b06e7bd4c336a5d256d54d1d16a1a9058144c) (From OE-Core rev: d4803a9e6e661fe50da03ac04ab024cbe84a5541) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Clear BBCLASSEXTEND as a native version of this ↵Richard Purdie2012-03-041-0/+2
| | | | | | | | | | recipe makes no sense (From OE-Core rev: 5980cd6af7b5260558cb234288a426c091b5de2a) (From OE-Core rev: 3611bbe4eb7b851c4d2275e9507785d734651777) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: backport patch to address CVE 2012-0809Joshua Lock2012-03-012-2/+36
| | | | | | | | | | This is a format string vulnerability "that can be used to crash sudo or potentially allow an unauthorized user to elevate privileges." (From OE-Core rev: 286cdd5db60b4f668e75cd9e05efb97acb08b7a6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-sdk-host-nativesdk: add autotools nativesdk to meta-toolchainWenzong Fan2012-02-281-1/+3
| | | | | | | | | | | | | | | | | | | | Add automake-nativesdk and autoconf-nativesdk to meta-toolchain for fixing the configure issue: WARNING: unrecognized options: --with-libtool-sysroot This will allow user to run 'autoreconf' under their projects and process the libtool m4 macros correctly. [YOCTO #1603] (From OE-Core rev: d1aabea25aa7ac46a7693acb52ccfe465c63f9bf) (From OE-Core rev: 660f7ea484d503a49fc8bdf870398ae346304b05) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: fix nativesdk rdependsNitin A Kamble2012-02-282-1/+3
| | | | | | | | | | | | | | | | | | | | Fixes this build error: | error: Failed dependencies: | m4 is needed by autoconf-nativesdk-2.68-r4.x86_64 | gnu-config is needed by autoconf-nativesdk-2.68-r4.x86_64 NOTE: package meta-toolchain-1.0-r6: task do_populate_sdk: Failed ERROR: Task 8 (.../meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' (From OE-Core rev: df8d88e864fb6bdecf5c82b25c0252c3d54157ad) (From OE-Core rev: ) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Extend to provide nativesdk recipeWenzong Fan2012-02-281-3/+9
| | | | | | | | | | | | | | | | | | | | As the same reason with automake, extend autoconf to provide nativesdk recipe too. This patch was only used for autoconf that running on target: * path_prog_fixes.patch: replace '@PERL@' with '@bindir@/env perl' It's unavailable for autoconf-native and autoconf-nativesdk, so exclude it for those two recipes. (From OE-Core rev: a16cf1b67f6559b182e6bb31abc1371162b04428) (From OE-Core rev: 0b30e122e40472f5f1609cd9a513e6c4d198ac35) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: Extend to provide nativesdk recipeWenzong Fan2012-02-282-2/+3
| | | | | | | | | | | | | | | We will provide autotools nativesdk in meta-tookchain for reconfigure any autotools supported projects, as a part of the plan we should extend their recipes first. (From OE-Core rev: 2074285e84267f9f929ed6424f35cc4b2a00c335) (From OE-Core rev: 4450aa5f0f757a3694db6123f6afe57a833ae986) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4: Extend to provide nativesdk recipeWenzong Fan2012-02-282-2/+6
| | | | | | | | | | | | | | | | We need to provide autoconf-natviesdk in meta-toolchain, the m4-nativesdk is required by it. Both extend the m4 recipes for GPLv2 and GPLv3. (From OE-Core rev: 3e0a0db3559ee9b15a99a95dd3b0c343dca4b2ec) (From OE-Core rev: 139f0171432eddf67039dde3bfad402cba3cc1a6) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: Extend to provide nativesdk recipeWenzong Fan2012-02-281-2/+2
| | | | | | | | | | | | | | We need to provide autoconf-natviesdk in meta-toolchain, the gnu-config-nativesdk is required by it. (From OE-Core rev: 5e134b60773fa948c586dae777a6e75dce29d27d) (From OE-Core rev: 378b9b5a9c8cda30c13bb1681fa9f0b02ef95655) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-tools: don't build perf when GPLv3 in INCOMPATIBLE_LICENSEJoshua Lock2012-02-242-8/+19
| | | | | | | | | | | | | | | | | | | As binutils is required by perf to build and is GPLv3 licensed adding GPLv3 to INCOMPATIBLE_LICENSE will cause linux-yocto to be skipped. Long term we should look at moving perf to a separate recipe but as a short term solution this patch will ensure that when GPLv3 is in INCOMPATIBLE_LICENSE perf is not built and it's dependencies are not added to build. Fixes [YOCTO #1879] (From OE-Core rev: ce61f9031b54067bffa304dab90c31278631dcdf) (From OE-Core rev: 8c1a2fa) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ed: Fix EXTRA_OECONF to ensure right compiler is foundSaul Wold2012-02-241-1/+4
| | | | | | | | | (From OE-Core rev: b23ab297906d7241d737f7c5e81c674deca45e32) (From OE-Core rev: f46d9423499c2474f935728df8906d8d7346dad7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ed: remove unsupported optionSaul Wold2012-02-241-0/+2
| | | | | | | | | (From OE-Core rev: 65fa6a9039043a59a236d28aacce3c424a734158) (From OE-Core rev: 05349e9323df0094904b6f4aa159e79124301d6e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ed: Add SRC_URI Checksums for GPLv2Saul Wold2012-02-231-0/+3
| | | | | | | | | (From OE-Core rev: c30c89c8dc449cf7642565f2e35c7b1a922fcc33) (From OE-Core rev: 7ad2af875e1d1c2d17d66c9e59d6bb85471ad2eb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/ix86-common: fix an errorNitin A Kamble2012-02-231-1/+1
| | | | | | | | | | | | | | | | | Fixed this line ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_int=1} as this line ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} This issue was causing guile recipe to compile-fail for x86 target. (From OE-Core rev: d71df3cc2ff2504d61078c578c0e73bbf53b6651) (From OE-Core rev: 69ac1ad415634e125d9c366efc91353624225ad2) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils.bbclass: override LDSHARED so we use the linker for this build and ↵Matthew McClintock2012-02-101-0/+2
| | | | | | | | | | | | | | | | not the one used in sstate-cache Without this fix, when packages are being built using distutils and the python packages were deployed from sstate-cache is it possible that the LD command will contain an invalid sysroot override. We can fix this by always exported LDSHARED, which is the env var that distutil looks for to override creating shared libraries. (From OE-Core rev: 3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the issue that adt-installer tar ball is not regenerated if sstate is ↵Jessica Zhang2012-02-102-9/+7
| | | | | | | | | | | | | on, and other minor bug fixes (From OE-Core rev: 61da952fdc2996c27c56234c36116a69a23a378d) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-devtools/installer/adt-installer_1.0.bb
* adt-installer: install autoconf(/automake)-nativesdkLianhao Lu2012-02-102-13/+7
| | | | | | | | | | [YOCTO #1909] Install autoconf-nativesdk and automake-nativesdk to host. (From OE-Core rev: 0b3842f5c3c1587d25e70bc8223e2b144b9043cb) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fetch2/git: Add workaround for clone using alternates problemRichard Purdie2012-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To quote my report of this to the git mailing list: """ I have a problem with git clone commands using alternates failing by mixing up different repositories. I have a situation where I could end up with both: /srv/mirrors/repo /srv/mirrors/repo.git as bare clones. I then try cloning "repo" with alternates with the command: $ git clone -s -n /srv/mirrors/repo /tmp/foo Cloning into /tmp/foo... done. $ cat /tmp/foo/.git/objects/info/alternates /srv/mirrors/repo.git/objects Note how I'm now referencing repo.git, not repo. This doesn't work as expected giving some very bizarre results when actually using the repository. I appreciate this is a rather bizarre corner case but its one that is breaking the build system I work with. Ideally people would use a consistent URL for the same repository but we have an example where they haven't and this really shouldn't break like this. Looking at the code, the cause seems to be clone.c:get_repo_path(): static char *suffix[] = { "/.git", ".git", "" }; since its looking in order for: repo/.git (fails) repo.git (suceeds, incorrect) repo (never looked at) I'm not sure what would break if that order were to change, swapping the last two options. I can "force" the issue by running: git clone -s -n /srv/mirrors/repo/ /tmp/foo but this results in the slightly odd looking: $ cat /tmp/foo/.git/objects/info/alternates /srv/mirrors/repo//objects which does at least work. """ This patch adds the trailing slash to ensure the correct repository is referenced at the expense of some ugliness in the alternates file. (Bitbake rev: d978e7b35550e3785c7c567ffe4c40a3c3947450) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: bump kver to v3.0.18Bruce Ashfield2012-01-302-11/+11
| | | | | | | | | Updating the kernel SRCREVs to pickup the stable 3.0.18 release. (From OE-Core rev: b1a4d1a912af39dc3be7433a1e2ed4c48d5ffb93) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: add missing entry for shadow-sysrootJoshua Lock2012-01-301-0/+1
| | | | | | | (From OE-Core rev: 31aff4c3db9ce985313ff9b4fc7fbe8015973749) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildstats: tolerate absence of /proc/diskstatsJean-François Dagenais2012-01-301-11/+16
| | | | | | | | | | | | | | | In OpenVZ containers (and probably lx containers as well), the diskstats entry is not even present. Use the "NoLogicalDrive" introduced by Elizabeth Flanagan in such case. This allows the bitbaking to occure within such containers. (From OE-Core rev: 16e09b850dcb44cb1afe411439e40a4bae7e8002) (From OE-Core rev: 84bd443d82d8022027180b6ef1f7b7cfc7d06420) Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl-0.9.8: Update to 0.9.8sSaul Wold2012-01-3024-4/+4
| | | | | | | | | | | | | | | | | | | | | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4108 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4109 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4576 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4577 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4619 [YOCTO #1904] (From OE-Core rev: 980ba5e77438c3a22c295f56ffb71f1d290db50a) (From OE-Core rev: 3e93af369d70d20a53bd7849a62b177b910e6a36) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-1.6: make build for armv4tWolfgang Denk2012-01-302-2/+15
| | | | | | | | | | | | GCC will define __ARM_ARCH_4T__ when building with "-march=armv4t" so we can check this to turn off the use of 'clz' instructions, which otherwise would cause compile errors like "selected processor does not support ARM mode `clz r3,r0'". (From OE-Core rev: 6859e3fc34269620146d26eeecc9b93c3a9d7055) Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-tools: add binutils to perf DEPENDSJoshua Lock2012-01-301-1/+1
| | | | | | | | | | | | We have witnessed non-deterministic failures of perf for some platforms whilst looking for bfd.h, a header provided by binutils. (From OE-Core rev: ab56f27d96cbd2c79ca16d12333687ca9720934c) (From OE-Core rev: eb014a992e0f3e6ddb4eee8e1287d28ac2f09e00) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* intltool: remove XML::Parser checkSaul Wold2012-01-302-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add Patch to disable the XML::Parser check in the target intltool.m4, this check will find the host (not native) XML::Parser if it's installed possibly causing Host contamination, but will also fail configuration if XML::Parser is not installed on the host. Since we know that XML::Parser is installed on the image, we don't really need this check, so comment it out. From RP in mail thread: > If the recipe needs perl for > some other reason than intltool, it needs perlnative but it if only > needs perl for intltool, we shouldn't need the dependency. The .m4 macro > checks are well intended but don't fit the way we use perl. I really > don't want to end up in a position where intltool automatically means we > have to add perlnative as a dependency and we've previously seen many > problems related to that. (From OE-Core rev: 264fb6c5a4875cd8969a24a9f0301ed916ab827b) (From OE-Core rev: 085c76298891dc0b0e2207ef929569672c9cb254) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4.0.bb: Build rpm without xzMatthew McClintock2012-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following issue: Log data follows: | NOTE: Creating RPM package for perf-dbg | NOTE: Creating RPM package for perf | NOTE: Creating EMPTY RPM Package for kernel | NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-dev | NOTE: Creating RPM package for kernel-vmlinux | NOTE: Not creating empty RPM package for kernel-misc | NOTE: Creating RPM package for kernel-devicetree | NOTE: Creating RPM package for kernel-module-libcrc32c | NOTE: Creating RPM package for kernel-module-crc-itu-t | NOTE: Creating RPM package for kernel-module-sctp | NOTE: Creating RPM package for kernel-module-pcbc | NOTE: Creating RPM package for kernel-module-crc32c | NOTE: Creating RPM package for kernel-module-binfmt-misc | NOTE: Creating RPM package for kernel-module-nfsd | NOTE: Creating RPM package for kernel-module-exportfs | NOTE: Creating RPM package for kernel-module-msdos | NOTE: Creating RPM package for kernel-module-nls-utf8 | NOTE: Creating RPM package for kernel-module-udf | NOTE: Creating RPM package for kernel-module-isofs | NOTE: Creating RPM package for kernel-module-usbhid | NOTE: Creating RPM package for kernel-module-scsi-wait-scan | NOTE: Creating EMPTY RPM Package for kernel-modules | /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory | ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information) (From OE-Core rev: 1f55b31bdc8cf1da04ef29f4e44c1be6c0286ee2) (From OE-Core rev: 3b0239ab2c36d7227ec4e81d2aaf93c273cdc292) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: ensure --color works so DEPEND on libcapSaul Wold2012-01-301-2/+2
| | | | | | | | | [YOCTO #1860] (From OE-Core rev: 6abf6054ac5a464cfa6f1040bb166765558a1eb8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* which: Disable iberty since its not listed in DEPENDSRichard Purdie2012-01-301-1/+3
| | | | | | | | (From OE-Core rev: 4d6420d0aa1d6e8aecc8ec0526144f9c4396a822) (From OE-Core rev: 778330071bcab83baff8ec8f22367f5dd0a71d35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/x86_64-linux: add cvs config variablesNitin A Kamble2012-01-301-0/+3
| | | | | | | | | | | | | | | | configure of cvs packages was failing on the meta-toolchain for a x86_64 target. Configure error reported: checking whether printf supports %p... configure: error: cannot run test program while cross compiling This fixes [YOCTO #1781] (From OE-Core rev: 061818adbea1af9e98fe0fdf81b21f1e7f210c00) (From OE-Core rev: 5e0e0cf5b9d380120187d368683e9f95c1b8f6d1) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Nothing uses USERNAME, remove it - can cause sstate-cache conflictsMatthew McClintock2012-01-301-1/+1
| | | | | | | | | | USER is the correct variable to use, also this can affect sstate cache as well. (From OE-Core rev: 898bf0294d01172b0990d218ecc5fecdba962711) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove EGLIBPARALLELISM from deps for EXTRA_OEMAKEMatthew McClintock2012-01-301-0/+1
| | | | | | | | | | Without this simply changing the number of threads via PARALLEL_MAKE can invalidate sstate-cache (From OE-Core rev: b2411e12f9ea32012af20ecee1e09d95db129b75) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf Exclude MACHINE from MACHINEOVERRIDE variable dependenciesRichard Purdie2012-01-301-0/+1
| | | | | | | | (From OE-Core rev: 362512b83775ad7020e5870a594f0e7ca9ef83ba) (From OE-Core rev: 3ef7e82a8b0121e2b7200179176e39ef4315971d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-aKhem Raj2012-01-302-4/+68
| | | | | | | | | | | | Backport fix for PR 47551 fixes the ICE seen on armv7-a/qt4-x11-free Bump up SRCREV past gcc 4.6.2 release (From OE-Core rev: dd2fdf9f5a3923c37e4ea2e46e347bb0657c2f5b) (From OE-Core rev: 320f6b71e502d65421a01a2f280c9e2c8f046619) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Fix installation order in feeds with mutiple providers of packagesRichard Purdie2012-01-302-2/+2
| | | | | | | | | | | | | If two packages were available of differing priority, this would confuse opkg and it was ignoring the dependency in the new dependency ordering code. This changes it not to ignore these cases by setting the badly named 'quiet' parameter accordingly. (From OE-Core rev: c38693f78c968ab5f4bb557c20d1c8c55393ed6b) (From OE-Core rev: 4c75318b75c4776cc469cc2c6511596bc7befbb4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_*.bbclass: Correct INSTALL variable name after recent multilib changesRichard Purdie2012-01-303-6/+6
| | | | | | | | (From OE-Core rev: 379c77d1516fe8fdbd1cd7063f709b5266872b03) (From OE-Core rev: a300e9e45f4570f0aa47fb3fabcee95433ffad99) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_*.bbclass: Drop pointless fakeroot attribute (fakeroot is at the ↵Richard Purdie2012-01-303-3/+3
| | | | | | | | | | task level) (From OE-Core rev: 2cac20439d4eb0b3a21ce37e2fa670941e6356c4) (From OE-Core rev: f070a2bf7e689345ea6d9386f7298bf5d36d576f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/runqemu-ifup: Ensure netmask is set correctlyRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | | Without this the command will add a route for the subnet 192.168.7.0 which means multiple qemu instances can't operate correctly since all but the last one will be masked out. (From OE-Core rev: 9e00d6b343120496ec0dd72240c7b04e0a8b7eaa) (From OE-Core rev: f5bcd56dcca7daad6aa6b4371d4e331d8ffd11eb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Drop the offlineroot_varname patchRichard Purdie2012-01-302-22/+1
| | | | | | | | | | | This break things for on target opkg usage since $D must remain unset there. (From OE-Core rev: 746ae269a475857ae57095b1fd164fe195b3d051) (From OE-Core rev: aa632292cc55b997a5b808b6c4a70ce33a3b9e7e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Add logic to detect and creak circular dependenciesRichard Purdie2012-01-302-1/+101
| | | | | | | | | | | | This addresses some of the concerns about the previous opkg changes allowing it to break out of circular dependency loops with just a notice in the logs rather than effectively going OOM. (From OE-Core rev: 5a2b67b8faad3dd5417ba89d8e82ca564753ccc9) (From OE-Core rev: 29f77f865434cc956e6bbccaee81ff458492ec46) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Update svn 625 -> 633 and fix preinst issuesRichard Purdie2012-01-306-26/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a major issue with opkg images at the moment as preinst functions are not being executed before their dependencies are installed and this is leading to corruption of images containing avahi/dbus in particular. There are various changes in upstream opkg in the last 8 revisions which make changes in this area but sadly these aren't enough to get things working for us. I've updated to the latest svn revision with this patch since it makes sense to pull in those changes first and then supplement them with the attached patches. There is a full description of the patches in the patch headers but in summary they: a) Ensure preinst functions execute with their dependencies installed. This is a pretty invasive change as it changes the package install ordering in general. b) Ensure opkg sets $D, not $PKG_ROOT which we don't use c) Change opkg to allow execution of postinstall functions which fail resulting in execution on the target device as rootfs_ipk.bbclass currently does manually. The remaining changes interface this with the rest of the OE build infrastructure, adding in the option to tell opkg to run the preinst and postinst functions, ensure the correct environment is present for the postinst scripts and removing the now unneeded rootfs_ipk class code which opkg now does itself. [YOCTO #1711] (From OE-Core rev: 2feba313c991170747381c7cf821a45c2cd04632) (From OE-Core rev: b7e2eff8c18bc59605fb711ac4540985c71f155a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives: Various fixesRichard Purdie2012-01-304-5/+13
| | | | | | | | | | | | | | | dpkg-native's update-alternatives is broken for offline work so don't install it. Also list update-alternatives in the multiprovider whitelist to avoid unwanted multiple provider warnings when multiple package backends are enabled. (From OE-Core rev: 300336fc4a310ed16a14ad041744708d54aae189) (From OE-Core rev: c90b1faa34e908c7f63e1a64027873858e6d7e8a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: Set _tmppath to avoid races over tmp filesRichard Purdie2012-01-301-0/+1
| | | | | | | | | | | | | | | Occasionally we keep seeing "unable to open temp file" messages during do_package_write_rpm tasks. This appears to happen when multiple processes are writing rpm files and is likely due to using the shared system temp directory. This patch changes the tmp path to the package work directory meaning conflicts should become a non-issue. (From OE-Core rev: b2ef543284c8c8d0d3badb2e1bcadad1106982d2) (From OE-Core rev: 018442ed2cd251f85212dfa1d03c0b24a0750bfa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpmJiajun Xu2012-01-301-1/+24
| | | | | | | | | | | | | | | If PACKAGE_CLASSES does not set package_rpm as the first item, the root filesystem will not be generated based on rpm. We need remove rpm/zypper tests against non-rpm filesystem. [YOCTO #1757] (From OE-Core rev: 43adb8dcf4461b68a7ce0ba9d8acdb2012a70416) (From OE-Core rev: f541517be97e27951157e1dd10256e132c31ab1f) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Ensure paths to rpmmarcos and rpmpopt are setRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | | | | If rpm-native was built in an alternative location, it may not relocate correctly unless the rpmpopt and macros paths are explicitly specified. This fixes errors seen on the Yocto autobuilder where pkgconfig "provides" entries could disappear leading to image dependency failures. (From OE-Core rev: fb01bd81197057e62106aac966f9ebc4c5054f97) (From OE-Core rev: 15f50ab3ee454dc3510801d61bb09bf37d78d1af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk.bbclass: remap packages when generating sdk tarballMatthew McClintock2012-01-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the issue below: | Generating solve db for /local/home/mattsm/git/poky/build_p4080ds_release/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.093784 secs | fingerprint: 9 0.000012 MB 0.000252 secs | install: 3 0.000000 MB 0.039092 secs | dbadd: 3 0.000000 MB 0.034837 secs | dbget: 12 0.000000 MB 0.000062 secs | dbput: 3 0.009532 MB 0.002731 secs | readhdr: 31 0.019160 MB 0.000084 secs | hdrload: 15 0.027924 MB 0.000116 secs | hdrget: 494 0.000000 MB 0.000691 secs | Processing task-core-standalone-sdk-target... | Processing glib-2.0... | Unable to find package glib-2.0 (glib-2.0)! | ERROR: Function 'do_populate_sdk' failed (see /local/home/mattsm/git/poky/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/fsl-toolchain-1.0-r6/temp/log.do_populate_sdk.16975 for further information) If you have: TOOLCHAIN_TARGET_TASK += "glib-2.0" The package name was not getting remapped correctly for the do_populate_sdk case. (From OE-Core rev: 0b803ac3627c238aa7d19a23b7621f55779f2557) (From OE-Core rev: e1a07a5fcba93b3ab127c7c6588cab5799a5df45) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: remove texinfo-native from ASSUME_PROVIDEDSaul Wold2012-01-301-1/+0
| | | | | | | | | | | | | We need to build texinfo-native to get and install the makedoc tool [YOCTO #1664] (From OE-Core rev: 8899f4840787ef043d952f8ea2ce5d78e5cc41ab) (From OE-Core rev: 8e802c0ed491967cd254dce1555a960382a79247) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* texinfo: fix compile failure due target makedoc binary being usedSaul Wold2012-01-302-2/+46
| | | | | | | | | | | | | | | | Need to have the texinfo-native build and install a host sysroot makedoc binary and then patch the target build to use this binary. This requires that we don't ASSUME_PROVIDED texinfo-native any longer since we need to install this makedoc tool which is not part of the normal distrubtion. [YOCTO #1664] (From OE-Core rev: 9fa98de54a73465f06484ba863eccf1e07cc1e2a) (From OE-Core rev: 007bbb23808cc5b036829915e3dfa04f590a05d8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>