summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* package.bbclass: Add additional debugging for dependenciesMark Hatle2012-05-251-2/+5
| | | | | | | | | | | | | | | | | | | | | When trying to understand why a QA wanring such as: ERROR: QA Issue: foo rdepends on bar-dev it is very difficult to figure out where the bar-dev dependency comes from, since many of them are added dynamically. This adds a debug statement that says which dependency adds an rdepends to the system. Also, while doing this work, it was noted that the same dependencies were being scanned for over and over. Instead we shorten the list by only added to the dep list if the dependency was not already there. (From OE-Core rev: 257b9e371143421b78a6991ef5401e564918c164) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Updated distro-tracking-fields.incBogdan Marinescu2012-05-251-4/+4
| | | | | | | | | Updated metadata for lttng-tools. (From OE-Core rev: fad8456ccfbc7b182465fc7f6508c004d106bfdb) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: updated to 2.0.1Bogdan Marinescu2012-05-252-32/+7
| | | | | | | | | | | Removed patch for ARM compilation, as it seems that the upstream fixed the ARM compilation problem in a slightly different way (tested by compiling lttng-tools for MACHINE=qemuarm) (From OE-Core rev: aa43a37da4f14b5a184f79b2ff43b0cd491e49af) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng2-ust: updated to version 2.0.2Bogdan Marinescu2012-05-251-4/+4
| | | | | | | | | Tested with 'lttv' on core-image-lsb. (From OE-Core rev: 871353ca368ef668750251b1d6a4d9de327f3131) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix install issueNitin A Kamble2012-05-252-2/+36
| | | | | | | (From OE-Core rev: eb69c7f1063174e95a42cac7c83384ea9e4bec90) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* make-3.81: fix build with automake 1.12Nitin A Kamble2012-05-252-1/+46
| | | | | | | (From OE-Core rev: 8dbb71a8bf33c6d2494dbbb74d3e944d788eca50) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* findutils-4.2.31: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+27
| | | | | | | (From OE-Core rev: d91b315f602d60705e79381807810e20dd9bdc8d) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gawk-3.1.5: fix build with automake 1.12Nitin A Kamble2012-05-252-0/+43
| | | | | | | (From OE-Core rev: 013e837f96ea9d9daf53c497a965a021e686ba37) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grep-2.5.1a: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+57
| | | | | | | (From OE-Core rev: addd517f17c4595fe03d9d5f0ad1d7daf86a3f39) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffutils-2.8.1: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+31
| | | | | | | (From OE-Core rev: 60095f21a401aa2e9cf9841134680e1c427b4df6) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-0.97: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+52
| | | | | | | (From OE-Core rev: e5a7b3af75fdc2dc2335d859faf5be2eb7f31f2e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils-native-6.9: fix build with automake 1.12Nitin A Kamble2012-05-252-2/+36
| | | | | | | (From OE-Core rev: bc92089f82cae8ac5fb0ca4cd6b531e1ce5dcf5e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>