summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2014-09-30deb_packaging: Added support for multilibAnibal Limon1
The Package Manager implementation for deb didn't take a look about multilib enabled variants. Changes are made for generate apt.conf, sources.list and debian repo index Release and Packages files. [YOCTO #1502] Signed-off-by: Anibal Limon <anibal.ezau.limon.belmares@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30ltp: Add additional m4 path to autoconf.Randy Witt1
The ltp code has some m4 macros that are deeper than the default depth that the directory depth the autotools.bbclass checks. This causes some macros to not be found and for supported features to not be enabled. This patch adds the extra m4 path to the autoconf arguments. Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30sstate: Add rpm allarch to overwrite whitelistRichard Purdie1
The packagegroup allarch rpm files for multilib can overwrite each other since they are in theory indentical (in contrast to the other backends). We therefore need to whitelist this to avoid build failures now this overwrite failure is fatal. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29ltp: add PACKAGECONFIG for numactrlRoy Li2
Signed-off-by: Roy Li <rongqing.li@windriver.com>
2014-09-29squashfs-tools_4.3: modify SPDX_S variableleimaohui1
Modify SPDX_S to the source tree of squashfs instead of ${S}. Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
2014-09-29icu.inc: modify SPDX_S variableleimaohui1
Modify SPDX_S to the source tree of icu instead of ${S}. Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
2014-09-29db_6.0.30: modify SPDX_S variableleimaohui1
Modify SPDX_S to the source tree of db-6.0.30 instead of ${S}. Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
2014-09-29db_5.3.28: modify SPDX_S variableleimaohui1
Because $S is set to sub-directory of db-5.3.28. So modify SPDX_S to the source tree of db-5.3.28 instead of ${S}. Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
2014-09-29spdx.bbclass: Add SPDX-specific source tree variable.leimaohui1
Add SPDX-specific source tree variable for recipes where $S is a subdirectory of the source tree. [ RB - add a comment for SPDX_S ] Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29oprofile: eliminate git recipeJoe Slater1
oprofile_git.bb does not unpack because it stills uses INC_PR, which is no longer expanded. If one fixes that, patching fails. Since there is another, later, version oprofile recipe, we might just as well get rid of this one. Signed-off-by: Joe Slater <jslater@windriver.com>
2014-09-29rootfs.py: catch inner warn messageHongxu Jia1
Package managements (smart/apt-get/opkg-cl) generate some warn messages to stdout, and we need to catch them and output by bb.warn. Here is an example, while invoking smart to attempt install doc packages, if install failed, it generates warn message to stdout. ... |warning: Can't install util-linux-doc-2.24.2-r1@i586: Can't install util-linux-doc-2.24.2-r1@i586: no package provides info ... The fix catches it and outputs: ... |WARNING: log_check: There is a warn message in the logfile |WARNING: log_check: Matched keyword: [warn] |WARNING: log_check: warning: Can't install util-linux-doc-2.24.2-r1@ i586: Can't install util-linux-doc-2.24.2-r1@i586: no package provides info ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2014-09-29alsa-utils: interrupt streaming via signalMuzaffar Mahmood2
aplay/arecord (alsa-utils v1.0.28) cannot interrupt streaming via CTRL-C. Fixed the issue by reverting buggy patches and properly handling 'in_aborting' flag in appropriate functions. Signed-off-by: Anant Agrawal <Anant_Agrawal@mentor.com> Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
2014-09-29kernel-yocto.bbclass: Fixup shell condition test syntax errorDarren Hart1
A warning is issued when run about an unexpected operator due to a syntax error with an extra if empedded in the shell conditional. Remove the extra if. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-29lttng-modules: fix build issues with the v3.17 kernelNitin A Kamble2
The lttng-modules recipe was failing for meta-intel BSPs with the v3.17 kernel. These BSP kernels were enabling some of the audio codec drivers, whose structures are changed recently, causing mismatch with lttng-modules code expectations. The qemu machines did not see this issue as they were not enabling these sound codec kernel configuration. Fix the build issue, by changing the lttng-modules code to match with the structures used by the v3.17 kernel. The code is conditional on the kernel version, that way it keeps working with the older kernel versions. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2014-09-29apt: fix for CVE-2014-0478Chong Lu2
APT before 1.0.4 does not properly validate source packages, which allows man-in-the-middle attackers to download and install Trojan horse packages by removing the Release signature. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0478 Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
2014-09-29base.bbclass: add SRCREV to do_fetch() hashRoss Burton1
Without this changing just the SRCREV won't re-fetch unless you embed the SRCREV into PV. The downside here is that every hash changes, so this causes a full rebuild. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29staging: Exclude MULTI_PROVIDER_WHISTLIST from do_populate_sysrootRichard Purdie1
If you switch between multilib and non-multilib builds, pretty much everything rebuilds due to the use of MULTI_PROVIDER_WHITELIST in do_populate_sysroot. It doesn't need to do this so exclude that variable for checksum purposes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29meta-environment: Two critical fixes to unbreak toolchainsRichard Purdie1
Firstly, when multilib builds were being used, the same output files were used in each case, being overwritten each time due to the fact that REAL_MULTIMACH_TARGET_SYS has been expanded. Instead of immediate expansion, just use assignment. This overrides the problematic define in toolchain-scripts.bbclass but allows the multilib code to work. Secondly, the target sysroot was being defined incorrectly which this patch fixes. This was breaking the toolchains. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29babeltrace: Add missing bison/flex depensencies.Noor1
* babeltrace do_configure failed due to missing flex/bison dependencies. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29tcmode-default: Define PREFERRED_VERSION for binutils-nativeKhem Raj1
When using other toolchain layers, it does not pick the OE-Core version eventhough not specified, its because we did not pin it. Change-Id: Ic47fd607a2a6535dd157d8afdd004197d2a6f60b Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29boost: fix atomics for armv6Peter A. Bigot2
meta-raspberrypi and some other systems are ARMv6k but tell OE that they're ARMv6 which doesn't fully support non-word atomics. armv6k does, but Boost didn't handle the recognition correctly in the 1.56 release. Backport the patch that fixes the build. See: https://svn.boost.org/trac/boost/ticket/10446 Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29bash: Fix CVE-2014-7169Khem Raj4
This is a followup patch to incomplete CVE-2014-6271 fix code execution via specially-crafted environment Change-Id: Ibb0a587ee6e09b8174e92d005356e822ad40d4ed Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-29nss.inc: Fix LICENSEElizabeth Flanagan1
From reading the COPYING and various license headers, the nss LICENSE was incorrect. It's actually MPL-2.0 (not 1.1) with a few different Or instances. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29bash: fix CVE-2014-6271Ross Burton4
CVE-2014-6271 aka ShellShock. "GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment." Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29curl: add a PACKAGECONFIG for librtmpRoss Burton1
Otherwise this is a non-deterministic build dependency. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29licenses.conf: remove link to deleted License_Audit wiki pageJonathan Liu1
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29meta-toolchain-qt: fix up old reference to Nokia and typoJonathan Liu1
The SDK is now called Qt SDK. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29qt4: fix bug tracker URLs for patchesJonathan Liu2
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29qt-mobility: fix source URLJonathan Liu1
The source is no longer available from the original URL. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29man/texinfo: conditionally add gzip/bzip2/xz to RDEPENDSHongxu Jia2
Conditionally add 'xz/bz2/gzip' to info/man's RDEPENDS according to DOC_COMPRESS. [YOCTO #6750] [YOCTO #6751] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29texinfo: fix QA Error while doc compress enabledHongxu Jia1
While doc compress enabled, ther is a QA issue: ... ERROR: QA Issue: texinfo: Files/directories were installed but not shipped /usr/share/info/info.info.bz2 /usr/share/info/info-stnd.info.bz2 [installed-vs-shipped] ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29git: add Git perl module to perltools packagePeter A. Bigot1
Git perl tools such as add--interactive load the Git module at runtime. A previous patch to eliminate a QA error by deleting it instead of packaging it was incorrect. beaglebone[62]$ git add -i Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: /usr/lib/perl/5.20.0 /prj/pab/Utils/lib/perl5/linux-arm/5.020000 /prj/pab/Utils/lib/perl5/ /prj/pab/Utils/lib/perl5/site_perl/linux-arm /prj/pab/Utils/lib/perl5/site_perl /etc/perl /usr/lib/perl/site_perl/5.20.0/ /usr/lib/perl/site_perl/5.20.0 /usr/lib/perl/vendor_perl/5.20.0/ /usr/lib/perl/vendor_perl/5.20.0 /usr/lib/perl/5.20.0/ /usr/local/lib/site_perl .) at /usr/lib/git/git-core/git-add--interactive line 7. BEGIN failed--compilation aborted at /usr/lib/git/git-core/git-add--interactive line 7. [YOCTO#3780] Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29oeqa/utils: Added filter to LogResults decorator to enforce custom log level.Lucian Musat1
Signed-off-by: Lucian Musat <georgex.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29sstate.bbclass: update the timestamps after installRobert Yang1
Update the sstate file's timestamps after it is installed, it will be very useful for removing the old sstate file, especially, it's not easy to remove when use the shared SSTATE_DIR, we can easily remove them with this change, for example: $ find state-cache -type f -ctime +10 -exec rm -f {} \; Will remove the sstate file which isn't used by recent 10 days. We can use the -atime, but it is not always available, for example, when mounted with "-o noatime". The touch is a very light weight action, and the scripts/sstate-cache-management.sh also requires this. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29gnupg: add pinentry into RRECOMMENDSRoy Li1
Pinentry is needed for most function of GnuPG, so add it into RRECOMMENDS Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29pinentry: add recipesRoy Li1
gnupg 2.x.x needs pinentry to work Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29dhcp: use ${PN} for SYSTEMD_SERVICESChen Qi1
We should use ${PN} instead of hardcoding 'dhcp' for SYSTEMD_SERVICES, otherwise we would have 'installed-not-shipped' QA error if we are building lib32-dhcp. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29volatile-binds: use ${PN} for SYSTEMD_SERVICEChen Qi1
As this recipe inherits allarch, it makes no real difference whether we are using ${PN} or 'volatile-binds'. But using ${PN} would keep the same style with the other recipes in OE. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29acpid: use ${PN} for SYSTEMD_SERVICEChen Qi1
We should use ${PN} instead of 'acpid' for SYSTEMD_SERVICE, otherwise we would have the 'installed-not-shipped' QA error if multilib is enabled and we run `bitbake lib32-acpid'. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29packagegroup-core-standalone-sdk-target: Add libgcov-dev to on device SDKNobuhiro Iwamatsu1
When a user takes coverage in gcc of SDK, it becomes the link error in SDK because there is not libgcov. ---- ld: cannot find -lgcov collect2: error: ld returned 1 exit status ---- Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29gnomebase: fix indentationRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29syslog: Change unused variable declaration LOCAL=0 to LOG_LOCAL=1Michael Gloff1
This fix allows the correct appending of -L to syslogd arguments when both file and remote logging are selected. Signed-off-by: Michael Gloff <mgloff@emacinc.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29qtdemo-init: Make qtdemo startup correctlyYi Zhao1
The qtdemo can't launch via qtdemo-init initscript. Fix it. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29perf: fix issue about package splittingChong Lu1
Currently, perf can't split to perf-archive, perf-tests, perf-python and perf-perl. All files are included in perf package. Change the perfexecdir variable to make split successfull. Add python to RDEPENDS_perf-tests. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29libpam / xtests: remove bash dependencyWenzong Fan2
There's not bash specific syntax in the xtests scripts: $ cd Linux-PAM-1.1.6/xtests # replace /bin/bash to /bin/sh and check the bashisms: $ checkbashisms *.sh No output So the runtime dependency to bash could be removed. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29gst-plugins-base: fix build failure for x86Jackie Huang2
On x86, EMMINTRIN is defined but not usable without SSE so check for __SSE__ and __SSE2__ as well. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29coreutils: selinux/flask.h should respect to with_selinuxRobert Yang2
Fixed when build with meta-selinux even with --without-selinux: runcon.c:49:28: fatal error: selinux/flask.h: No such file or directory # include <selinux/flask.h> ^ compilation terminated. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29systemd: disable resolv.conf symlink unless resolved is enabledPeter A. Bigot2
The tmpfiles configuration in systemd unconditionally creates a symlink from /etc/resolv.conf to the location where systemd's resolved service will place the real file. This link is only appropriate when resolved is enabled and running: its presence prevents connman or other systems from providing a working resolv.conf when systemd is not assigned that responsibility. OE has not yet enabled systemd's networkd or resolved by default. There is a TODO in the systemd source to fix this, but it has not been addressed upstream. This patch comments out the corresponding line when resolved is not enabled in the package configuration. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29sstate: Change overlapping files warning to a fatal errorRichard Purdie1
When files overlap in the sysroot, something bad usually happened. We've had two independent cases recently where a couple of months after one of these warnings was shown, builds failed due to corruption. This change moves the warning to become a fatal error. The complaint I've had about this is that we need to tell the user what happened and more importantly how to recover from it. If we could recover from it, great but the trouble is we simply don't know what happened. As a compromise, we can document several of the possible scenarios in the error message. We don't normally go to this level of detail however in this case, I'm lacking other viable alternatives. I do believe it is important to stop as corruption occurs rather than letting the build contunue into territory that is not deterministic amongst other things. The complex message is followed by a simpler one in case the long message is too much for the user. (From OE-Core rev: 179ac7de03977b6e440409eddb2166819e07286a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23build-appliance-image: Update to dizzy head revisionRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>