summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-08gettext/shared-mime-info: Add missing patch upstream status fieldRichard Purdie2-0/+4
(From OE-Core rev: d87ffe7bf7812c8732e792ee8720fe1626813a1d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08rootfs_rpm.bbclass: save rpmlib rather than remove itRobert Yang2-1/+11
The rpmlib was removed when images that add "remove_packaging_data_files" to ROOTFS_POSTPROCESS_COMMAND, which would make the increment rpm image generation doesn't work in the second build, since list_installed_packages would get incorrect value in the second build, move the rpmlib to ${T} rather than remove it, and move it back when INC_RPM_IMAGE_GEN =1. [YOCTO #2440] (From OE-Core rev: c30e79510c06701f10f659eedaa0fe785538ac17) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08apt 0.7.14: do_compile failed with gcc 4.7Robert Yang4-2/+66
apt do_compile failed with gcc 4.7: deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()': deb/deblistparser.cc:212:13: error: redeclaration of 'char* I' deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here Backport the patch from the upstream would fix the problem, both target and native apt need it. [YOCTO #2488] (From OE-Core rev: fae7fc49052720f037bac128084851c09d420381) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08apt-get 0.7.14: hangs at runtimeRobert Yang2-61/+2
This patch had a little problem, it made a infinite loop: for (K = CmdL.FileList + 1; *K != 0; J++) But the value of "K" will nerver change, so the apt-get hangs, revert this patch first, and will fix the problem in another patch. Note: Increment the PR from 11 to 12 Revert "apt: Fix a latent bug exposed by gcc 4.7" This reverts commit 9d526462fe97564652771812ad1d363e9962b1e3. [YOCTO #2488] (From OE-Core rev: 1e381c83396a65c6c93b8fc1f4e35564c52bd042) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08archiver.bbclass: Reduce some duplication for function get_licensesXiaofeng Yan1-11/+12
The content to modify this bbclass is as follow: - Use the existing functions to get license as a directory instead of rewriting it for avoiding code duplication. - Use SPDXLICENSEMAP to map licenses [YOCTO #2473] (From OE-Core rev: 31bee6e7b0a23efc1555ab739ef10041803d5bb1) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08connman: Document the ACL-breaking sedRoss Burton1-0/+3
(From OE-Core rev: 497234875b3a93def8ada2cff99d064f3a11d711) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08connman: respect the 3g feature and enable/disable ofono supportRoss Burton2-3/+3
[YOCTO #2357] (From OE-Core rev: e510f6947f9e14c408b0e5e4f10cea3353b271c2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08insane.bbclass: Make ldd exec_prefix error reporting easier to readMark Hatle1-4/+16
Remove the long obtuse sysroot path from the ldd output. Make the error message significantly easier to read and understand. Old Style: WARNING: QA Issue: keyutils: /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/work/i586-oe-linux/keyutils-1.5.5-r1/packages-split/keyutils/sbin/request-key links to something under exec_prefix WARNING: QA Issue: ldd reports: libkeyutils.so.1 => /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/sysroots/qemux86/usr/lib/libkeyutils.so.1 (0xdead1000) libc.so.6 => /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/sysroots/qemux86/lib/libc.so.6 (0xdead2000) /lib/ld-linux.so.2 => /home/mhatle/git/oss/oe-core/build-i386/tmp-eglibc/sysroots/qemux86/lib/ld-linux.so.2 (0xdead3000) New style: WARNING: QA Issue: keyutils: /sbin/request-key, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0xdead1000) (From OE-Core rev: 1583a8e2db6dd4843ff45acee458d4924f7d6ced) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08gettext: install libgettextlib.a before removing itJoe Slater2-1/+36
In a multiple job build, Makefile can simultaneously be installing and removing libgettextlib.a. We serialize the operations. (From OE-Core rev: 2750546b2152eecdbb37e963a2495383f6944184) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08shared-mime-info: fix build race conditionJoe Slater2-2/+24
The definition of install-data-hook in Makefile.am leads to multiple, overlapping, executions of the install-binPROGRAMS target. We modify the definition to avoid that. (From OE-Core rev: 6fef8f73143fdeed6da15444c11bce9a8b35668b) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08shadow-native: Disable nscd supportMark Hatle1-2/+3
Disabling nscd support prevents error messages when shadow utilities attempt to trigger nscd to reload. This does nothing unless the user is root, and even if they are root, it's the wrong action to perform when creating a target fs. (From OE-Core rev: eb6fb917b7a6745b296c8ae0a5bf66f498bf3576) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08groff: Fix build on Fedora 17Song.Li1-1/+23
Generally distros keep perl at /usr/bin/perl But Fedora 17 also has /bin/perl, this causes groff_1.20.1 build to put perl interpreter path as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creation like this: | error: Failed dependencies: | bin/perl is needed by groff-1.20.1-r1.ppc603e (From OE-Core rev: 79fc557683d4eeadaebeb00dfba53762956e4910) Signed-off-by: Song.Li <song.li@windriver.com> Sync up with the do_install_append_virtclass-native chunk. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08beecrypt: disable javaJesse Zhang1-2/+2
If java is installed on host, beecrypt will attempt to use it. (From OE-Core rev: aa6e085b6b5114729f0aacd693d028d21858146f) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08runqemu-ifup: enable arp proxyingScott Garman1-0/+1
This allows core-image-sato to access the WAN. Thanks to Dexuan Cui for proposing this fix. Fixes [YOCTO #2329] (From OE-Core rev: d294b1bddece429f2639676ddc97d2896fc58916) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08gnupg: disable CCID driverTom Zanussi1-2/+3
The CCID driver driver is apparently unnecessary, so disable it. Also remove the associated libusb dependency, since that won't be needed either. According to Scott Garman <scott.a.garman@intel.com>: I'd just note that the CCID smartcard reader is a specific piece of hardware that is unlikely to be used in a majority of our use cases. (From OE-Core rev: 18be6fbde8fc9a6546ee865a4c43bd1eafa81a3c) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08gnupg: add libusb to DEPENDSTom Zanussi1-2/+2
gnupg apparently depends on libusb: | error: Failed dependencies: | libusb-0.1-4 >= 0.1.3 is needed by gnupg-2.0.18-r1.core2 So add libusb to gnupg DEPENDS. (From OE-Core rev: fd79e09c90e51a8f454f0fdd837c5141b9eadbde) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08telepathy-glib: update to 0.19.0Cristian Iorga1-2/+2
(From OE-Core rev: 55bbd54630d7213bb7a2927fedef9dbcff23f250) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08task-core-basic: drop portmapChristopher Larson1-1/+0
Both rpcbind and portmap are RPC port mappers. Having both is redundant. Chose rpcbind over portmap as rpcbind supports ipv6, nfs4, and builds without the glibc rpc headers, which have been obsoleted in glibc 2.14. (From OE-Core rev: f63add40c6bdfb3a19e59ac28f7d2ae5597f5bfd) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08rpcbind: add and use startup script, move binariesChristopher Larson2-2/+101
- Add init script from debian, tweaked for us - Move binaries from bindir to sbindir, as debian does (From OE-Core rev: 8576575ce9a1be8f7bec4e7c018d9be5c3b247df) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08systemtap: Unbreak build for systems with nss headers installedAndreas Müller3-7/+54
* discussed on [1] * patch sent to systemtap [2] [1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/023377.html [2] http://sourceware.org/ml/systemtap/2012-q2/msg00202.html (From OE-Core rev: bd17907884e3a1e1d711125a4b8def5263e97edb) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05ltp: Add patch to correct failing buildCristian Iorga2-2/+15
ltp makefile does not interpret correctly the result of git describe command and assumes that it is working with a git repo, while in fact working with a source code archive. Added a patch to corect makefile system. (From OE-Core rev: 13e52fafae0fb06b26d179a5cac6898babbadc51) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05pulseaudio: fix typo in the patch name, pulseaudo -> pulseaudioDenys Dmytriyenko2-1/+1
No PR bump is needed. (From OE-Core rev: f7a1fdfd82be60b92f4aa4a53fdae3192d1cec8b) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05lsbinitscripts: Missing popt DEPENDSElizabeth Flanagan1-0/+1
Missing DEPENDS causes build to fail. (From OE-Core rev: 44634755289ef6f10da5bdd46d45a2ef18626f20) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05license.bbclass: optimize pkg runtime dataElizabeth Flanagan1-23/+21
This fixes an ugly way I was trying to find pkg runtime data for package and license manifest creation. rootfs generation times for core-image-minimal: Prior to patch real 0m41.570s user 1m40.466s sys 0m6.768s With patch real 0m27.527s user 0m9.833s sys 0m3.496s (From OE-Core rev: 664bbf3207c229eef5ef94a08713a652f33a8466) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Conflicts: meta/classes/license.bbclass Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05license.bbclass: Adding PV to package.manifestElizabeth Flanagan1-0/+2
Per request, adding the package version to the package manifest file. (From OE-Core rev: bf216369f3131ad38c0b2b92620e4805ca9eecb9) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05dbus: update to version 1.4.20Radu Moisan7-7/+180
Unstable version 1.5.12 also supported (From OE-Core rev: 1a5ae9b47c6294f1969a6a36f9ffddc39a707849) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05connman: just give xuser the extra rights it needsRoss Burton1-9/+5
2012-06-05archiver.bbclass: Improve the usability for the archiver classesXiaofeng Yan1-2/+4
The usability of the archiver classes can be improved, beyond the simple addition of default values for the variables. A user could well inherit just archiver rather than the individual useful classes, and not realize it will do nothing. [YOCTO #2472] (From OE-Core rev: ce91f495e0c4ef3bf53ee8b2ea570061da38e14f) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05generate-manifest-2.7.py: replace os.popen with os.unlinkRobert Yang1-1/+4
The os.popen function would fail (more or less) silently if the executed program cannot be found, and here what we need is os.system not os.popen since it doesn't use the return value, use os.unlink() and ignore exceptions from it would be better as Chris suggested. [YOCTO #2454] (From OE-Core rev: bc9f7d7b7eda1c45ad1aaee469ebe28ee1c0c96b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05external-sourcery-toolchain: forcibly create usr/libChristopher Larson1-1/+5
If the usr/lib directory doesn't exist, the toolchain can fail to even try to find crti.o in a completely different directory. This causes a failure for the case where baselib is lib64. (From OE-Core rev: 3c368f4c989bee68953b6d0fbf2adc44f97cc100) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05tcmode-external-sourcery: pass -msgxx-glibc for x86Christopher Larson1-5/+2
This is needed to work around an issue with the toolchain search paths. It can pick up the wrong features.h without it, it seems, even with the system32 symlink in the oe sysroot. Investigate this further in the future. (From OE-Core rev: fb94ed0eb11b2efc1d814b80a2a7c99b29e746b3) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05external-sourcery: extract src and dest sysroot paths from gccChristopher Larson2-32/+40
Rather than hardcoding the multilib path in a map, and hardcoding dest sysroot symlink creation in a hook, now we just use -print-sysroot for both, and pass the appropriate multilib args to the toolchain for particular tunes. (From OE-Core rev: b9a9c28f7052884b2a6a33cf73cb6d7e2e3d11ff) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05task-core-lsb: Add another initscripts to an lsb imageXiaofeng Yan1-1/+2
Initscripts with stronger functions will replace the simple one, which will avoid error when some packages need functions which could be absent in the simple initscripts. [YOCTO #2133] (From OE-Core rev: b0d45a7bca3e448ceb4802540d42972a625997f8) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05lsbinitscripts: Patch file functions for confirming to an lsb imageXiaofeng Yan1-0/+11
Add the condition judgment to functions for avoiding to print error information when system start up at first. [YOCTO #2133] (From OE-Core rev: 4b829c42ffaa878537fa2005e4d80324515a5ba8) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05lsbinitscripts: Add initscripts to enhance init functions in an lsb imageXiaofeng Yan1-0/+26
The version of initscripts has more functions than the simple. There could be some errors for current initscripts when running some programe because of absent some functions provided by initscripts. [YOCTO #2133] (From OE-Core rev: ca60a9092e4131d7029c77f2ed7842eea928abe5) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05directfb-examples: upgrade to 1.5.3Laurentiu Palcu1-2/+2
(From OE-Core rev: b7f4a43e96ccf8982bab0b7df2eff0f170486e2a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05directfb: upgrade to 1.5.3Laurentiu Palcu5-21/+78
Also, backported a couple of patches from upstream that fix some compilations issues for ARM and PPC. (From OE-Core rev: 8acb86dfdae782c7627e36e23e1bcb703f8c79db) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05cpan.bbclass: Fix config error while patches to Makefile.PLXin Ouyang1-0/+1
If there is a patch to Makefile.PL, a Makefile.PL but no Makefile will be placed in ${B}/.pc/xxx.patch/ after do_patch. And no Makefile will be generated for *this* Makefile.PL. While do_configure, the original code tries to sed Makefiles matching with each Makefile.PL in {B}, so this would fail. (From OE-Core rev: 7c99105d70a16aa9e42429224abed28743e627b2) Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05kernel.py: replace os.popen with subprocess.PopenRobert Yang1-2/+3
Replace os.popen with subprocess.Popen 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] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-05-30webkit-gtk: Use glib as unicode backend to avoid browser crashZhai Edwin1-1/+9
webkit-gtk depends on ICU for the unicode, but ICU is not safe when build and target system owns different endian. ICU's community is not responsive to make a patch for this, so glib is used as work around here. [YOCTO #1570] got fixed (From OE-Core rev: e3113827810e98eb1b012f0b280fb917199704c1) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bitbake.conf: set an exclusion list for varflags in checksumsPaul Eggleton1-0/+4
Set BB_SIGNATURE_EXCLUDE_FLAGS, which is used by the new varflag checksum code in BitBake. The list is intended to cut out most of the varflags that are generated internally, don't influence the output or are already included in the checksum in some way. If need be this list can be extended in the future. The existing vardepsexclude mechanism can also be used to exclude undesired varflags, but they must be fully specified, e.g.: do_patch[vardepsexclude] += "do_patch[someflag]" Implements [YOCTO #2517]. (From OE-Core rev: 2bed83c6237669b6fc6fa25b2a554efb73395ca6) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bash: Update to new update-alternatives syntaxRichard Purdie1-3/+3
(From OE-Core rev: 6176dbd6ee770c0c2849f53b213866b61ac29ff1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bzip2: Update to new update-alternatives syntaxRichard Purdie1-1/+1
(From OE-Core rev: 75cd7692c97b07e05f304893995231e2d3390f8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30kmod: Remove bashism from recipeRichard Purdie1-1/+1
Without this, the installed files get mangled when a dash shell is used. (From OE-Core rev: 59db7976fa870084af19d880e594b0e94678cf19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30update-alternatives: Fix absolute symlink handlingRichard Purdie1-1/+5
After the class changes, absolute symlinks are not being handled correctly by the class file. This adds handling for absolute symlinks to account for the pkgdest directory, removing dangling symlink messages from recipes like bzip2. (From OE-Core rev: ecea2fab2063a3c478a63e62ba0e80305674c5e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30package.bbclass: Add warning about FILES containing '//'Richard Purdie1-0/+3
'//' in a FILES variable causes hard to track down issues with packaging. This adds a warning and attempts to auto-correct the issue to try and make the problem more user friendly. [YOCTO #2448] (From OE-Core rev: 0e33e314b1d2d3779658696f13a274b20d698667) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30layer.conf/bitbake.conf: Tweak PATHRichard Purdie2-5/+1
We want the help2man script in scripts/ to be found in preference to any from the host system and from the native sysroot. It turns out to be tricky to get the order right from layer.conf so we move the addition of the scripts directory to bitbake.conf. Without this, "bitbake libtasn1 -c cleansstate; bitbake help2man-native; bitbake libtasn1" will fail due to finding the host system help2man before ours. (From OE-Core rev: 859255dd30958db018d40ede94a76db36a98da7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bitbake: include varflags in checksumsPaul Eggleton2-1/+23
Add a dependency to each variable on a filtered list of its varflags. This is intended to catch things such as SRC_URI checksums, varflags controlling extra functionality from classes (e.g. the recently updated update-alternatives class in OE-Core), etc. and ensure their values influence the sstate checksums. There is an exclusion list which needs to be set via bitbake.conf (BB_SIGNATURE_EXCLUDE_FLAGS), if this is not set then the functionality is disabled. The existing vardepsexclude mechanism can also be used to exclude undesired varflags, but they must be fully specified, e.g.: do_patch[vardepsexclude] += "do_patch[someflag]" Implements [YOCTO #2517]. (Bitbake rev: 56c1ab18fcaf4ac245dcb412ed55e8e0af07883b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30lib/bb/fetch2: ignore remote URIs when doing file checksumsPaul Eggleton1-6/+20
Skip evaluating remote URIs when doing local file checksums, because we don't need to process them and doing so will trigger a parse failure if SRCREV is not fully specified. Whilst this is just delaying a check until runtime (when do_fetch runs for the recipe) we're only validating this here accidentally and if we did wish to check it during parsing it ought to be done explicitly. Fixes [YOCTO #2512] (Bitbake rev: 99feb77c2de707f2d825566cf48371c48f450e3e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30cooker: report recipe being parsed when ExpansionError occursPaul Eggleton1-1/+5
When an ExpansionError occurs during parsing it is useful to know which recipe was being parsed when it occurred. (Bitbake rev: a2a8e8c9f5a1a30aacab696fd2b434939ee2c4e2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>