summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* scripts/cp-noerror: Add a special copy function to fix autotools issuesRichard Purdie2012-05-301-2/+1
| | | | | | | | | | | | | | | | | | | Currently we copy the aclocal directory to the build so that autotools doesn't see .m4 files disappear when its processing them. This can happen if for example, package X is being rebuilt at the same time as Y and it gets uninstalled from sstate (assuming there are no dependencies between X and Y). This code making the copy was added to avoid races but introduces a race of its own, namely that the files can disappear during the copy. This patch adds a cp-noerror script which silently ignores such errors and gives the behaviour we need in this case. It hence fixes issues which crop up for users and the autobuilder occasionally. [YOCTO #2485] (From OE-Core rev: 0f81fbc0df73675aeb79c724858799a3b6a02f85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xz: updated to version 5.1.1alphaValentin Popa2012-05-301-5/+5
| | | | | | | | | The licenses are the same, only some white spaces added/removed. (From OE-Core rev: da98266f3a228cf65f279db9810a5326c8bd5422) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add an option to remove host sdl/gl checkingZhai Edwin2012-05-305-32/+203
| | | | | | | | | | | | | | | Add an PACKAGECONFIG in qemu to disable GL acceleration: * By default configure try best to enable GL acceleration and fail when missing host dependency(libSDL and libGL). * End user can also choose to turn off GL capability, thus remove the host dependence in building. [YOCTO #2407] got fixed. (From OE-Core rev: cfa93553e17057a1ea9d81e3a415fc8260c54067) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: send sanity check failure as a separate event for HobPaul Eggleton2012-05-301-3/+13
| | | | | | | | | | | | | | | | | | In order to show a friendlier error message within Hob that does not bury the actual sanity error in our typical preamble about disabling sanity checks, use a separate event to indicate that sanity checks failed. This change is intended to work together with the related change to BitBake, however it has a check to ensure that it does not fail with older versions that do not include that change. Fixes [YOCTO #2336]. (From OE-Core rev: 49d8b7b8c3b18da64583637db207f1f064a5bdb2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* foomatic-filters: update to version 4.0.15Radu Moisan2012-05-301-3/+3
| | | | | | | (From OE-Core rev: 8bfec8bf80b111174e4a6cf01db019b38638b31a) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtd-utils: Update to version 1.5.0Radu Moisan2012-05-302-2/+2
| | | | | | | (From OE-Core rev: f53a8aed0db26c6464751f340a7e010c45f76ebb) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-pages: update to version 3.41Radu Moisan2012-05-301-4/+4
| | | | | | | (From OE-Core rev: b48cd36fd40d6784e203b3bac85b63643813a6db) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: remove broken TARGET_ARCH checkPaul Eggleton2012-05-301-4/+0
| | | | | | | | | | | | | The variable name has been typo'd as TARGE_ARCH since it was introduced some time ago, so the check has never worked. Fixing the typo shows that the test is not quite functional, so let's just remove it: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010613.html (From OE-Core rev: 897a9b1dddef385253b16ea7c193483e0ea679b6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpciaccess: upgrade to 0.13.1Laurentiu Palcu2012-05-302-55/+2
| | | | | | | | | | Removed also the fix_deletion_of_last_handle.patch because the new version includes it. (From OE-Core rev: b5753796e7f8b52e40aed51f4d5c8d329a31265e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontsproto: upgrade to 2.1.2Laurentiu Palcu2012-05-301-2/+2
| | | | | | | (From OE-Core rev: c718f63b263f41e48b2293b2cd67371940b10804) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: upgrade to 2.9.0Laurentiu Palcu2012-05-304-12/+8
| | | | | | | | | | | | | | | | Other changes: - licence checksums because the licence headers changed slightly: several other authors were added and Keith Packard's name has been replaced with "author(s)". That's it. - rebased the fix-pkgconfig.patch to apply on 2.9.0 - removed all sed instructions in do_configure_append() that were changing fc-arch/Makefile. In the new version the fc-arch/ directory has been removed in order to make the package cross-compiling safe (From OE-Core rev: 8e219dea0373dc3a37d51f63c41f1a8449029dd5) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory_analysis: fix error when version specifier missingPaul Eggleton2012-05-301-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: 90caa605bd24279e4a9204e279492754119a8a55) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: replace os.popen with subprocess.PopenRobert Yang2012-05-307-38/+53
| | | | | | | | | | | | | | | | | | | | | | Replace os.popen with subprocess.Popen since the older function would fail (more or less) silently if the executed program cannot be found There are both bb.process.run() and bb.process.Popen() which wraps the subprocess module, use it for simplifying the code. Note: We don't need the "2>/dev/null" or "2>&1" since bb.process.run() can handle it, it will raise exception when error occurs, we should handle the exception ourselves if we want to ignore the error. More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] (From OE-Core rev: e83d8e58a6b107eea87df0ec233a1bc932b2c6ea) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: replace os.system with subprocess.callRobert Yang2012-05-3014-52/+74
| | | | | | | | | | | | | | | Replace os.system with subprocess.call since the older function would fail (more or less) silently if the executed program cannot be found More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2454] (From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow-utils-native: remove unnecessary alternativesMark Hatle2012-05-301-21/+0
| | | | | | | (From OE-Core rev: b1ea93143a473f006b31ab22f88baf41661971a7) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: use new update-alternativesMark Hatle2012-05-301-21/+18
| | | | | | | (From OE-Core rev: 5879e0d3a2b3a6d000e33cadf4407c38ae1eb1ab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: use new update-alternativesMark Hatle2012-05-302-16/+15
| | | | | | | (From OE-Core rev: c32dca4013d851aeb9d661a25cab81daf213121f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psmisc: use new update-alternativesMark Hatle2012-05-302-21/+7
| | | | | | | (From OE-Core rev: 867864451baa875f48d87f4b8dbce80a90038243) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iputils: use new update-alternativesMark Hatle2012-05-301-17/+17
| | | | | | | (From OE-Core rev: dbd81c151305faf20f8e9e6f1a588d6ce4cfd49b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep: use new update-alternativesMark Hatle2012-05-302-27/+22
| | | | | | | (From OE-Core rev: ca478f563575ff2262741821ec35d4dfbf9f4487) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: use new update-alternativesMark Hatle2012-05-303-21/+12
| | | | | | | (From OE-Core rev: 6dee3050a4a0c4f3cc9fec23a0bc02155d680863) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: use new update-alternativesMark Hatle2012-05-301-7/+6
| | | | | | | (From OE-Core rev: fc9c2fd512e592806b10d0273ca490c90072ff3f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: use new update-alternativesMark Hatle2012-05-303-12/+10
| | | | | | | (From OE-Core rev: ed48d4b382dae08ac47bccdcb98b1e87dc6449cc) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: use new update-alternativesMark Hatle2012-05-302-9/+11
| | | | | | | (From OE-Core rev: f0ad3c8ce298ca492938e4ded2263c54213786f6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use new update-alternativesMark Hatle2012-05-302-169/+45
| | | | | | | | | | | | In addition to switching to the new update-alternatives, it was discovered that the sln, shutdown, halt, reboot and related commands were never generated. Remove these from the list. (These appear to have been removed from util-linux some time ago.) (From OE-Core rev: 55c01de28a28a4cfe16d36663c190a874ef2e85d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: use new update-alternativesMark Hatle2012-05-301-16/+7
| | | | | | | (From OE-Core rev: dc68ad07676833a2b8dba9540f35c0b70bf2fdfe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: use new update-alternativesMark Hatle2012-05-301-18/+4
| | | | | | | (From OE-Core rev: 54a92bdd0555d776efe92f7cf57a75039562556a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: use new update-alternativesMark Hatle2012-05-302-7/+8
| | | | | | | (From OE-Core rev: e7164da229d8ccccb043a790b25c995a46a83c88) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: use new update-alternativesMark Hatle2012-05-302-57/+38
| | | | | | | (From OE-Core rev: 4bed7f31535f16dbe1f8bbab58921f12f1696f6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: use new update-alternativesMark Hatle2012-05-302-45/+23
| | | | | | | (From OE-Core rev: fbbc96aed5086f853a1179f1478ccd252af24094) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: use new update-alternativesMark Hatle2012-05-301-20/+11
| | | | | | | (From OE-Core rev: b417ced0573acde896332827bcc13b0f7c5bd9fe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lrzsz: use new update-alternativesMark Hatle2012-05-301-16/+12
| | | | | | | (From OE-Core rev: df53826b5ee66bcafd7d091630b2d18477f3a672) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: use new update-alternativesMark Hatle2012-05-303-74/+17
| | | | | | | | | Also remove postinst and prerm which were not being used. (From OE-Core rev: 60fd9974e5c9a0576059ebded6de7b599f9574e5) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tinylogin: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 60884b6bee6be7250caca2f229eda174bcefd959) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 3361ebfd61dc0d5914a506b1a06b92bd80734114) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mktemp: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: c1285844b9a46221c8e0b24ef29642bec312035b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sed: use BPN for alternativesMark Hatle2012-05-302-4/+4
| | | | | | | (From OE-Core rev: cd059cb57efa2aad332ef2fc7f1f411afce82b73) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 87d43530b434e5be139b845d6b96bbf2d885867d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* time: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 0a621679772d7996c6342ad1e99de484082d9987) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: use BPN for alternativesMark Hatle2012-05-301-2/+2
| | | | | | | (From OE-Core rev: 7e5c325df40012cf21cbbf9a38f4d476f62d7100) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* which: use BPN for alternativesMark Hatle2012-05-302-4/+4
| | | | | | | (From OE-Core rev: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bbclass: Change from using PN to BPNMark Hatle2012-05-301-8/+8
| | | | | | | | | | In order to better support multilib processing, switch from PN to BPN. (From OE-Core rev: 75f70ab534f6dfef961906fb5c252f9e5310d38f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bbclass: Refactor the implementationMark Hatle2012-05-303-71/+293
| | | | | | | | | | | | | | | Refactor in order to: * Deprecate the old interfaces, but keep them for compatibility * Provide a new, interface -- capable of working with split packages * Each update-alternative will now set proper "per-file" provides Note: this adds a warning message when the older deprecated behavior is used. The older behavior has been fully tested using oe-core. (From OE-Core rev: 309117d26de6a87b16406a44a0cefcbaaf7b5d7a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Ensure ${S} is cleaned at the start of rootfs generationRichard Purdie2012-05-251-0/+1
| | | | | | | | | | | | | Some image classes such as bootimg save files into ${S} as part of rootfs generation. For correctness we should therefore clean this at the start of image generation to ensure reproducibility. I found this issue when some files I thought should disappear from my rootfs would not disappear. (From OE-Core rev: 363424cdc78cafa278008f973c2b4288297ebf8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Clean up OECONF flags into one variableRichard Purdie2012-05-252-5/+6
| | | | | | | | | | Without this change, libelf was "floating" for linuxstdbase for example, leading to build failures. This patch moves all the common options into a common variable. (From OE-Core rev: 382bd564d0675bded38459943ab1fe5dbc1e9ee7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2/libxslt: Don't depend on ansidecl.h headerRichard Purdie2012-05-252-1/+11
| | | | | | | | | | | | | | | | We don't DEPEND on binutils for ansidecl.h so ensure we should never use the header. This makes builds determinstic and means something like: bitbake binutils bitbake libxml2 -c configure bitbake binutils -c clean bitbake libxml2 doen't fail to build. (From OE-Core rev: fe6cabfb0c6f382ef6131e07437b90c2afbf5488) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Add attr to DEPENDS listSaul Wold2012-05-251-1/+3
| | | | | | | (From OE-Core rev: a6d6432b508451d0847336dc980bc0541396e310) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Drop old/stale/broken csl recipeRichard Purdie2012-05-252-28/+0
| | | | | | | | | The patches this recipe refers to don't exist so nobody can have been using this so lets just remove it. (From OE-Core rev: 29916bfbbea3bb785e8e4d332848b19ebc0a3ea9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: don't let postinst fail when dbus-1 reload failsMartin Jansa2012-05-252-2/+2
| | | | | | | | | | | | * e.g. when upgrading in chroot Configuring wpa-supplicant. Reloading system message bus config: Failed to open connection to system message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused but that shouldn't be fatal (From OE-Core rev: 96a1b26c62ef33f6d10fe7ac9dcf5f93c683d6e8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>