aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2012-05-30Revert "meta: replace os.popen with subprocess.Popen"Richard Purdie
This reverts commit e83d8e58a6b107eea87df0ec233a1bc932b2c6e as the conversion is not correct. Its replacing readlines() calls which generate an array with what are effectively strings. There are split("\n") calls missing in many cases so this needs to be reverted until it gets fixed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30classes/sanity: fix a couple of grammatical errors in messagesPaul Eggleton
(From OE-Core rev: 004ba67298e3e6e618df29597e9166c971a1941c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30ccache: Separate out into its own classRichard Purdie
Currently, ccache is used if it is present. When building from scratch it gives no performance improvement and creates a ton of empty directories even when its not in use. This change moves ccache support to a bbclass file which the user can choose to enable. This should make builds more determinstic and make it easier/clearer to the end user when its being used and when it is not. (From OE-Core rev: 2acf8da4f13c175ea818b9514677b7059de1e3e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30scripts/cp-noerror: Add a special copy function to fix autotools issuesRichard Purdie
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>
2012-05-30xz: updated to version 5.1.1alphaValentin Popa
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>
2012-05-30qemu: Add an option to remove host sdl/gl checkingZhai Edwin
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>
2012-05-30classes/sanity: send sanity check failure as a separate event for HobPaul Eggleton
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>
2012-05-30foomatic-filters: update to version 4.0.15Radu Moisan
(From OE-Core rev: 8bfec8bf80b111174e4a6cf01db019b38638b31a) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30mtd-utils: Update to version 1.5.0Radu Moisan
(From OE-Core rev: f53a8aed0db26c6464751f340a7e010c45f76ebb) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30man-pages: update to version 3.41Radu Moisan
(From OE-Core rev: b48cd36fd40d6784e203b3bac85b63643813a6db) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30classes/sanity: remove broken TARGET_ARCH checkPaul Eggleton
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>
2012-05-30libpciaccess: upgrade to 0.13.1Laurentiu Palcu
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>
2012-05-30fontsproto: upgrade to 2.1.2Laurentiu Palcu
(From OE-Core rev: c718f63b263f41e48b2293b2cd67371940b10804) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30fontconfig: upgrade to 2.9.0Laurentiu Palcu
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>
2012-05-30buildhistory_analysis: fix error when version specifier missingPaul Eggleton
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>
2012-05-30meta: replace os.popen with subprocess.PopenRobert Yang
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>
2012-05-30meta: replace os.system with subprocess.callRobert Yang
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>
2012-05-30shadow-utils-native: remove unnecessary alternativesMark Hatle
(From OE-Core rev: b1ea93143a473f006b31ab22f88baf41661971a7) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30kmod: use new update-alternativesMark Hatle
(From OE-Core rev: 5879e0d3a2b3a6d000e33cadf4407c38ae1eb1ab) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30sysklogd: use new update-alternativesMark Hatle
(From OE-Core rev: c32dca4013d851aeb9d661a25cab81daf213121f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30psmisc: use new update-alternativesMark Hatle
(From OE-Core rev: 867864451baa875f48d87f4b8dbce80a90038243) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30iputils: use new update-alternativesMark Hatle
(From OE-Core rev: dbd81c151305faf20f8e9e6f1a588d6ce4cfd49b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30grep: use new update-alternativesMark Hatle
(From OE-Core rev: ca478f563575ff2262741821ec35d4dfbf9f4487) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30cpio: use new update-alternativesMark Hatle
(From OE-Core rev: 6dee3050a4a0c4f3cc9fec23a0bc02155d680863) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30opkg: use new update-alternativesMark Hatle
(From OE-Core rev: fc9c2fd512e592806b10d0273ca490c90072ff3f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30tar: use new update-alternativesMark Hatle
(From OE-Core rev: ed48d4b382dae08ac47bccdcb98b1e87dc6449cc) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30binutils: use new update-alternativesMark Hatle
(From OE-Core rev: f0ad3c8ce298ca492938e4ded2263c54213786f6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30util-linux: use new update-alternativesMark Hatle
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>
2012-05-30psplash: use new update-alternativesMark Hatle
(From OE-Core rev: dc68ad07676833a2b8dba9540f35c0b70bf2fdfe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30ncurses: use new update-alternativesMark Hatle
(From OE-Core rev: 54a92bdd0555d776efe92f7cf57a75039562556a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30dropbear: use new update-alternativesMark Hatle
(From OE-Core rev: e7164da229d8ccccb043a790b25c995a46a83c88) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30coreutils: use new update-alternativesMark Hatle
(From OE-Core rev: 4bed7f31535f16dbe1f8bbab58921f12f1696f6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30busybox: use new update-alternativesMark Hatle
(From OE-Core rev: fbbc96aed5086f853a1179f1478ccd252af24094) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30openssh: use new update-alternativesMark Hatle
(From OE-Core rev: b417ced0573acde896332827bcc13b0f7c5bd9fe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30lrzsz: use new update-alternativesMark Hatle
(From OE-Core rev: df53826b5ee66bcafd7d091630b2d18477f3a672) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30sysvinit: use new update-alternativesMark Hatle
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>
2012-05-30tinylogin: use BPN for alternativesMark Hatle
(From OE-Core rev: 60884b6bee6be7250caca2f229eda174bcefd959) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30patch: use BPN for alternativesMark Hatle
(From OE-Core rev: aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30less: use BPN for alternativesMark Hatle
(From OE-Core rev: 3361ebfd61dc0d5914a506b1a06b92bd80734114) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30mktemp: use BPN for alternativesMark Hatle
(From OE-Core rev: c1285844b9a46221c8e0b24ef29642bec312035b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30sed: use BPN for alternativesMark Hatle
(From OE-Core rev: cd059cb57efa2aad332ef2fc7f1f411afce82b73) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30shadow: use BPN for alternativesMark Hatle
(From OE-Core rev: 87d43530b434e5be139b845d6b96bbf2d885867d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30time: use BPN for alternativesMark Hatle
(From OE-Core rev: 0a621679772d7996c6342ad1e99de484082d9987) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30wget: use BPN for alternativesMark Hatle
(From OE-Core rev: 7e5c325df40012cf21cbbf9a38f4d476f62d7100) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30which: use BPN for alternativesMark Hatle
(From OE-Core rev: 3ddf0dbfe5b0dae2baa2719aa96f0bdea1fe7b80) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30update-alternatives.bbclass: Change from using PN to BPNMark Hatle
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>
2012-05-30update-alternatives.bbclass: Refactor the implementationMark Hatle
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>
2012-05-25image.bbclass: Ensure ${S} is cleaned at the start of rootfs generationRichard Purdie
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>
2012-05-25glib-2.0: Clean up OECONF flags into one variableRichard Purdie
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>
2012-05-25libxml2/libxslt: Don't depend on ansidecl.h headerRichard Purdie
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>