summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: cooker: Fix support for wildcards in bbappend filenamesNathan Rossi2013-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | The 'bbappend in f' incorrectly compares the current recipe with the avaliable bbappends recipes. This comparsion causes unrequested bbappend files to be appended, e.g. in the case of 'libgcc_4.8.bb', the bbappends for 'libgcc_4.8.bb' and 'gcc_4.8.bb' are added to the filelist (because 'gcc_4.8.bb' is contained in the 'libgcc_4.8.bb' string) which in turn causes the gcc_4.8.bbappend files to be appended to the libgcc_4.8 recipe. This should be a 'bbappend == f' to match the previous implementation of this function, such that if no wildcard is present the recipe names must match exactly. This issue was introduced by commit 31bc9af9cd56e7b318924869970e850993fafc5f, which it related to [YOCTO #5411]. (Bitbake rev: 991cbeedbde8bd25ce08c669b1bfac8b99e33149) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Set umask 022 also for do_unpack taskMartin Jansa2013-11-291-0/+1
| | | | | | | | | | | | | | | | * when git checkouts files from fetched clone it respects system umask and creates files with different permissions, if such files are copied to packages, resulting target images have also different permissions on them. * we need reproducible builds across different builders with different system umask, so set 022 umask [YOCTO #5590] (From OE-Core rev: c9289c506633ffe5c482000d8d225e45454c064d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinput-calibrator: add formfactor to RDEPENDSMartin Jansa2013-11-291-1/+1
| | | | | | | | | | * 30xinput_calibrate.sh is calling ". /etc/formfactor/config" breaking Xsession for images without formfactor (From OE-Core rev: 181a46da02d6ae74a8d1b5d06c547e0d213767ea) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* module-base: Fix misleading commentRichard Purdie2013-11-291-5/+2
| | | | | | | | | The comment was originally written for module.bbclass and is now slightly misleading. This updates it to match the current code. (From OE-Core rev: 434277ed156c1685283f6fd681062d265f4fa6d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kernel: restore scripts in the sysroot"Richard Purdie2013-11-291-11/+0
| | | | | | | | | | | | This reverts commit 6a6735cb98d529c8c5376aedb5c951339f54fe96. The module class already ensures the scripts are rebuilt correctly. Running this at sstate installation time is problematic since it can require the cross compiler. Adding such a dependency would cause issues of its own. (From OE-Core rev: b2c948d56241ff7cdea2e9e68b740f305c72f5ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Fix rpcbind restart failure when rpcbind is not runningZhangle Yang2013-11-291-1/+1
| | | | | | | | | | | "rpcbind restart" executes stop and then start function. However, if rpcbind is not started, "exit 0" shall be run in stop function, so start function will not be run at all. This patch changes "exit 0" to "return 0". (From OE-Core rev: ce17144b736b364175ab76e19e720292edfd2d81) Signed-off-by: Zhangle Yang <zhangle.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: fix the condition check before remove eu-objdumpRoy Li2013-11-291-1/+1
| | | | | | | | | | "grep -q" does not write anything to standard output, the result is same as a empty string, The second test becomes [!""] which is a fixed true value (From OE-Core rev: 79b0979ecd33ce15563354c90d8bcc857ddf95ad) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: install libraries to right directory when multilib is enabledNick D'Ademo2013-11-291-0/+2
| | | | | | | | | Explicitly set libdir and shlibdir to ${libdir} in EXTRA_OECONF. Otherwise, default library path of ${prefix}/lib is used which is incorrect in a multilib build. (From OE-Core rev: e16b6bab8d5286cdf58d808ef4c195127d69a8c8) Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: upgrade to 1.3.1Ross Burton2013-11-291-2/+2
| | | | | | | (From OE-Core rev: 4a9f855ecb209aebe37f9a26f3f4129a570a3af4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* chrpath: Improve crazy codeRichard Purdie2013-11-291-37/+17
| | | | | | | | | | | | | | | | | | | | | | | | | The current code is a little bit overcomplicated, deficient and also possibly broken. Issues include: a) Not maximally optisming rpaths (e.g. a lib in usr/lib might get an rpath of $ORIGIN/../../usr/lib) b) The return in the middle of the for loop look suspiciously like it might break on some binaries c) The depth function, loops of "../" prepending and so on can be replaced with a call to os.path.relpath This patch cleans up the above issues. Running binaries should result in less "../" resolutions which can't hurt performance either. [YOCTO #3989] (From OE-Core rev: feea54df6768036649ca6c57524e2a1f480ad249) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc: Disable icecc for allarch recipesMartin Jansa2013-11-291-0/+8
| | | | | | | | | | | | | * Fix icecc.bbclass failing with: ERROR: recipe-name NULL prefix when it's used with empty TARGET_PREFIX. * Allarch recipes cannot use compiler at all (even the local one) so there is no point of using icecc for them. (From OE-Core rev: a956f9d91c8128e43b55c6bc01337472e47fe43a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cronie: fix init.d/crond status return valueYue Tao2013-11-291-5/+2
| | | | | | | (From OE-Core rev: da9c74917804a823bcf122b778aef273c3b64ede) Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: add init.d/tcf-agent status commandLi Wang2013-11-292-1/+78
| | | | | | | (From OE-Core rev: 5b3c4863665eabf7750ff1bdd975ea1f4772006b) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: Add ptestTudor Florea2013-11-293-0/+58
| | | | | | | | | Install zlib tests and run them as ptest (From OE-Core rev: 2988cef2f0ad857b5bbf6a0189ffb0fb88795f8c) Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: fix version string and make recipe multilib build compatibleNick D'Ademo2013-11-291-4/+4
| | | | | | | | | | | Explicitly set libdir in EXTRA_OECONF so that the correct library folder is generated in a multilib build. The version string (VER) has been changed to 8.6.1 and the library paths have been updated accordingly so that the related tk recipe can correctly detect tcl (this search is done using the tclConfig.sh script which contains the tcl version number). (From OE-Core rev: e840f526e7223c9d393aab818c7a5a446b89c503) Signed-off-by: Nick D'Ademo <nickdademo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: remove useless patchesRoy Li2013-11-292-103/+0
| | | | | | | | | no user uses these two patches (From OE-Core rev: 47e7b47def5b06a1d825bf0883409510cb4da36f) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter-1.0: upgrade to 1.16.2Ross Burton2013-11-292-8/+8
| | | | | | | (From OE-Core rev: eba3c24036f69a84ec3f0bf4ab23b8e7db7b24f8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: upgrade to 2.40.1Ross Burton2013-11-292-41/+8
| | | | | | | (From OE-Core rev: 8f5f99a9c403d10e480d21f65147d9f67dfc60a0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontconfig: upgrade to 2.11.0Ross Burton2013-11-293-740/+37
| | | | | | | | | | | | Drop sysroot patch as a rewritten form has been accepted upstream. Update license checksums - Google added to COPYING, and the fccache license has moved. (From OE-Core rev: e24659fc039c9f54b841ed01c3d5ff407921398b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango: upgrade to 1.32.6Ross Burton2013-11-295-32/+12
| | | | | | | | | Drop automake macro patch, merged upstream. (From OE-Core rev: 22f1eb5165592b47baa35e28c5cb3d4faff36bae) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: upgrade to 2.4.49Laurentiu Palcu2013-11-292-8/+8
| | | | | | | (From OE-Core rev: 03f6f0ca01d83f633dcdcd692cc2df7bb0613d72) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: crumbs/builder.py: Fix typo for indefinite articleYi Zhao2013-11-271-1/+1
| | | | | | | (Bitbake rev: bc3c69e50d36ea5e43f55f7b3b1ff3b0ab3696ee) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: set reasonable SUMMARYPaul Eggleton2013-11-272-4/+2
| | | | | | | | | Also don't set DESCRIPTION to the same value, it's superfluous. (From OE-Core rev: f991d2d60b74f5ebd990f77aecd3324b1a4533e9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xproto: upgrade to 7.0.25Laurentiu Palcu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: 2509a9b8f1486fc3b7a16672d0c8618a168f7c6d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade to 1.8.4.4Upgrade Helper2013-11-271-2/+2
| | | | | | (From OE-Core rev: 0565b1906d59a05b43e8658d9776e7ffbd8fe4ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcb: upgrade to 1.9.3Laurentiu Palcu2013-11-2713-41/+15
| | | | | | | | | | | | | Added 2 new extensions: dri3 and present. Moved libxcb and xcb-util recipes to xorg-lib directory. Removed the following patch(es): * automake_1.14_fix.patch (backport) (From OE-Core rev: 657ffd8bd6115fa2d61a918a67d6b8f162d50c5a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcb-proto: upgrade to 1.9Laurentiu Palcu2013-11-273-2/+2
| | | | | | | | | Also move xcb-proto recipes from xcb directory to xorg-proto directory. (From OE-Core rev: 2c17403eb0cd3a966249a70327c9879375c6a7ee) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: upgrade to 2.5Laurentiu Palcu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: 879cb228e4ad4a8901caf8eda630bc9355fd8dfa) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade to 1.27.1Laurentiu Palcu2013-11-273-2/+2
| | | | | | | (From OE-Core rev: 58151b7e7ce651619e09fd8129f252332a342521) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-setuptools: upgrade to 1.4Laurentiu Palcu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: 0d47d440a3674b3eafb605f738e98f82f5698f05) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xtrans: upgrade to 1.3.2Laurentiu Palcu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: f279a1fc1b6b7e72d8eec782af81cb198ec07e76) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade to 2.4Cristiana Voicu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: fb8ccbd06929aa539c39e65fb8926a945db922ea) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libav: use CCLD as ldRobert Yang2013-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | The libav uses gcc as the ld, but it doesn't use CCLD, it may have problems when target arch is 64 bit since it doesn't use the "-m64", the poky's toolchain is fine since use "x86_64-poky-linux-gcc" without "-m64" is default to 64 bit, but external toolchain *may* default to 32 bit (for example, when multilib is enabled and both 64 and 32 bit use the same gcc, then the default arch can be either of them), then there would be errors, the error is just like we run this in poky: $ x86_64-poky-linux-gcc -m32 <file.c> ld: skipping incompatible /path/to/sysroot/usr/lib64/x86_64-poky-linux/4.8.2/libgcc.a when searching for -lgcc Use CCLD as the ld will fix the problem since CCLD has been set correctly. (From OE-Core rev: 7afbc62be0e4720fb7cd2e44ec9e438a7e4ff78f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: upgrade to 1.6.7Valentin Popa2013-11-272-12/+13
| | | | | | | | | License is the same. (From OE-Core rev: a1e8def7b335a69fb1ca412ad82cafa15350422e) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils 6.9: fix coreutils.texiRobert Yang2013-11-272-0/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used for fixing coreutils 6.9 (GPLv2+) do_installed failed: [snip] | coreutils.texi:2499: @itemx must follow @item | coreutils.texi:2636: @itemx must follow @item | coreutils.texi:2644: @itemx must follow @item | coreutils.texi:2654: @itemx must follow @item | coreutils.texi:2677: @itemx must follow @item | coreutils.texi:2689: @itemx must follow @item | coreutils.texi:2820: @itemx must follow @item | coreutils.texi:3058: @itemx must follow @item | coreutils.texi:3253: @itemx must follow @item [snip] Use '@item' instead of '@itemx' in several places, as Texinfo 5 refuses to process an '@itemx' that is not preceded by an '@item'. Ensure that node extended names in menus and sectioning are consistent, and that ordering and presence of nodes in menus and in the actual text are consistent as well. [YOCTO #5593] (From OE-Core rev: 04fab782f42b8f5047390042618f9c841b8c3a96) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Hob: force notebook refreshValentin Popa2013-11-261-0/+1
| | | | | | | | | | | | | | Redraw the entire notebook widget after number-of-issues drawable is incremented (because for this case, the notebook widget doesn't refresh it's children automatically). [YOCTO #5596] (Bitbake rev: 347b2ead091f00ee60703f6f3d17cfdd9075ac07) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data/codeparser: Improve handling of contains functionsRichard Purdie2013-11-263-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | One of the current frustrations with the sstate checksums is that code like base_contains('X', 'y',...) adds a full dependency on X and varies depend even on whitespace changes in X. This patch adds special handling of the contains functions to expand the first parameter and check for the flag specified by the second parameter (assuming its a string). The result is then appended to the value of the variable with a "Set" or "Unset" status. If the flag is added/removed, the stored variable value changes and hence the checksum changes. No dependency on X is added so it is free to change with regard to other flags or whitespace. This code is far from ideal, ideally we'd have properly typed variables however it fixes a major annoyance of the current checksums and is of enough value its worth adding in a stopgap solution. It shouldn't significantly restrict any propely typed variable implementation in future. (Bitbake rev: ed2d0a22a80299de0cfd377999950cf4b26c512e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: Share BB_TASKDEPDATA with tasksRichard Purdie2013-11-262-7/+30
| | | | | | | | | | | | | | | | | Currently tasks have no knowledge of which other tasks they depend upon. This makes it impossible to do at least two things which would be desirable/interesting: a) Have the ability to create per recipe sysroots b) Allow the aclocal files to be present only for the entries in DEPENDS (directly and indirectly) By exporting task data through this new variable, tasks can inspect their dependencies and then take actions based upon this. (Bitbake rev: 84f1dde717dac22435005b79d03ee0b80a3e8e62) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Optimise next_buildable_task()Richard Purdie2013-11-261-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This unlikely looking function was found to be eating a lot of CPU time since it gets called once per trip through the idle loop if we're not running a maximum number of processes. This was particularly true in world builds of 13,000 tasks. Calling the computation code is pretty pointless because until some other task finishes nothing is going to become available to build. We can know when things become available so this patch teaches the scheduler this knowledge. It also: * skips any coputation when nothing can be built * if there is only one available item to build, ignore the priority map * precomputes the stamp filenames, rather than doing it every time * saves the length of the array rather than calculating it each time (the extra function overhead is significant) Timing wise, initially, 5000 iterations through here was 20s, with the patch 200000 calls takes the same time. The end result is that builds get up and running faster. (Bitbake rev: 4841c1d37c503a366f99e3a134dca7440e3a08ea) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: codeparser: Drop unneeded variable separationRichard Purdie2013-11-261-3/+1
| | | | | | | | | There is no good reason to separately track var_references and references so merge them and remove the unneeded variable. (Bitbake rev: 64d4cbd6360c96574cece70205ea3aecc3f8bae6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/image: write image manifestPaul Eggleton2013-11-266-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | | Write a list of installed packages to a .manifest file next to the image, so we can find out what went into the image after it has been constructed without necessarily having to have buildhistory enabled (although that will provide more detail.) We can make use of this for example in the testimage class associated code that checks for installed packages for determining whether or not to run specific tests. Note: this replaces the previous ipk-specific manifest code with something that works for ipk, rpm and deb, and instead of a pruned status file, packages are listed one per line, in the following format: <packagename> <packagearch> <version> Tests for all three backends have shown that the performance impact of this change is negligible (about 1.5s max). Implements [YOCTO #5410] (From OE-Core rev: 2978d1f2617a33e2e3a77e249d73e998d79b4ec9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Add PACKAGECONFIG for icuRichard Purdie2013-11-261-2/+5
| | | | | | | | | | harfbuzz can be built without icu. We don't need harfbuzz-icu for any default OE-Core configuration so default to icu being disabled for performance improvements. (From OE-Core rev: d61230ac70158dd9a33fcfac4eea768d21ccc61d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beecrypt: Add PACKAGECONFIG for cplusplusRichard Purdie2013-11-261-2/+3
| | | | | | | | | | | | Add a PACKGECONFIG to control the building of the beecrypt C++ bindings. The only user of beecrypt in OE-Core is rpm and this doesn't need the C++ bindings so default the option to be off. This means we can lose the icu dependency by default which is a significant performance win. (From OE-Core rev: e6885069e2af833ebacfd33a04147b095af92d20) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: enable unknown-configure-option QA test as a warningRoss Burton2013-11-261-1/+2
| | | | | | | | | This QA test will warn if configure is passed options that it doesn't recongise. (From meta-yocto rev: a99826ac6c10ae9c56a0ece15e1485540d064107) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ngHongxu Jia2013-11-261-3/+13
| | | | | | | | | | | | Use PACKAGECONFIG to explicitly address vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng dependencies rather than tested by configure. It avoided potential errors while multiple builds shared a common state_cache. (From OE-Core rev: 4482af07df26644885bae49b98f5d765a5caa68c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: Remove stange copy line, automake does this for us anywayRichard Purdie2013-11-261-1/+0
| | | | | | (From OE-Core rev: 2ba32f7bd9deec0d977d7d2ff30275af54a41892) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add missing linux-firmware-iwlwifi-7260-7 packagePaul Eggleton2013-11-251-1/+1
| | | | | | | | | | The FILES / RDEPENDS lines were added for this package, but not the entry in PACKAGES, so it was never being created. (From OE-Core rev: 25a75e83550fab0f9d2486b13ec9ab6339b6a8b0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: Use random filename for maximum path length testMike Crowe2013-11-251-1/+2
| | | | | | | | | | | | | | | | check_create_long_filename used a fixed filename for its test files. This meant that os.remove(testfile) could fail with ENOENT if two instances were running at the same time against the same sstate directory. Using a randomly generated filename stops this from happening. (Although it might seem unlikely, this race did appear to occur multiple times with Jenkins - presumably because the matrix jobs were all kicked off at the same time.) (From OE-Core rev: bc28e3f26e7f85af82f403924c0ae29e1ad34a87) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: Don't hard code value of ENAMETOOLONGMike Crowe2013-11-251-2/+3
| | | | | | | | | | Although ENAMETOOLONG is 36 on Linux x86 and x86_64 it does isn't on other architectures so the value shouldn't be hard coded. (From OE-Core rev: 11a9cf5ee0daf82097fb2f36b58016f20a5968f3) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: added dependency on 'libsndfile1'Enrico Scholz2013-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | bluez4 detects and uses libsndfile1 and the compilation can fail with | sbc/sbctester.c:32:21: fatal error: sndfile.h: No such file or directory | ... | compilation terminated. | make[1]: *** [sbc/sbctester.o] Error 1 in rebuilds (image with libsndfile1 was built, then some change -> bluez4 do_configure runs with libsndfile1 -> libsndfile1 gets removed -> bluez4 do_compile fails). As there is no trivial way to disable its detection and to make it a PACKAGECONFIG option, 'libsndfile1' was put into static DEPENDS. (From OE-Core rev: b9571256f8996d1eb4b9a09b3b5b862a13f1b414) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>