aboutsummaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2014-11-24python3: Add ptest supportpbarker/python3-ptestPaul Barker
A run-ptest script written in python is added which defines a new TestRunner subclass which prints test results in the required ptest format and then executes python's built-in testsuite using this new TestRunner subclass. The built-in testsuite is included in the python standard library and we ensure we have the complete library by adding ${PN}-modules and ${PN}-misc to the RDEPENDS for the ptest package. We also require libgcc for pthread support. Tested on qemux86. Several tests fail and many skip; further investigation should be done to check that the current status is acceptable. In addition, the testsuite causes an out-of-memory crash when qemu is configured with 256 MB of RAM. The testsuite completes without crashing with 1 GB RAM. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2014-11-21toaster: add toaster layer configuration filesAlexandru DAMIAN
In managed mode, Toaster creates project configurations based on the layers that are being checked-out on disk. The defaults are set through a JSON configuration file that contains layer-specific specific information. This patch adds toasterconf.json files for the oe core layer, that make Toaster work with a standalone OpenEmbedded-Core checkout. The toasterconf.json files describe basic configuration for Toaster projects, including default layers, default configuration variable values, toaster-compatible branches, and the layerindex URL where the base layer and compatible layers. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20gtk+: drop part of patch adding useless filePaul Eggleton
This patch shouldn't be adding a .orig file. Aside from not being necessary, attempting to apply the patch with patch rather than quilt results in failure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20xmodmap: drop already applied patchPaul Eggleton
This patch was part of the 1.0.8 release. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20cmake: drop already applied patchesPaul Eggleton
These patches were part of the 2.8.11 release. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20openssh: drop already applied patchPaul Eggleton
This patch was part of the 6.6p1 release. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20cups: remove unrecognised optionRoss Burton
--disable-openssl was removed in 2.0, so don't pass it to configure. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20spdx.bbclass: improved error handling and code cleanupTobias Olausson
The spdx task now writes a meaningful error message in case of error in communication with the FOSSology server. Also the coding style is now more consistent and some unneccessary calls/functions are removed. Signed-off-by: Tobias Olausson <tobias.olausson@pelagicore.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20postinst-intercept: rename recipe for nativesdk onlyHongxu Jia
The recipe postinst-intercept is only used for nativesdk, so we rename it from postinst-intercept to nativesdk-postinst-intercept. It avoids unnecessary build of postinst-intercept. [YOCTO #6937] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20toolchain-shar-template.sh: fix the text files in the top dirRobert Yang
It only fixed the text files in native_sysroot, but there might be some files in the top installed dir (whose var name is target_sdk_dir in the code) which are also needed to be fixed. It used "find $native_sysroot", now also "find $target_sdk_dir -maxdepth 1", and split the long line into small ones. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20shadow-securetty: add ttyAM[0-3] serial portsJavier Viguera
Old version of the ARM AMBA serial port driver creates those device nodes. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20bind: use PACKAGE_BEFORE_PN instead of PACKAGES_prependRoss Burton
Appending or prepending to PACKAGES breaks when the package is built natively, so use PACKAGE_BEFORE_PN instead. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20gcc-4.9: fix the compile failure of 'defaults.h' not foundHongxu Jia
While compiling gcc-crosssdk-initial-x86_64 on some host, there is occasionally failure that test the existance of default.h doesn't work. ... | tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/calls.c:1240: error: 'STACK_CHECK_MAX_VAR_SIZE' was not declared in this scope ... The reason is tm_include_list='** defaults.h' rather than tm_include_list='** ./defaults.h' So we add the test condition for this situation. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20ethtool: Upgrade to 3.16Changhyeok Bae
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20parted: upgrade to 3.2Hongxu Jia
Drop fix-git-version-gen.patch, fix-dvh-overflows.patch and fix-deprecated-readline.patch, because the parted 3.2 have merged them. Add fix-compile-failure-while-dis.patch to fix compile failure Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20byacc: Upgrade to 20141006Chong Lu
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20tcl: Upgrade to 8.6.3Chong Lu
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20lsb: update RDEPENDS for broken-out util-linux-getoptRichard Tollerton
lsb currently depends on util-linux solely for getopt, but that has now been broken out into util-linux-getopt. Update RDEPENDS accordingly. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Acked-by: Ken Sharp <ken.sharp@ni.com> Acked-by: Ben Shelton <ben.shelton@ni.com Acked-by: Brad Mouring <brad.mouring@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20default-providers.inc: define VIRTUAL-RUNTIME_getoptRichard Tollerton
getopt can be provided by either util-linux or busybox. Allow the distro to control which implementation is used, and default it to util-linux. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Acked-by: Ken Sharp <ken.sharp@ni.com> Acked-by: Ben Shelton <ben.shelton@ni.com Acked-by: Brad Mouring <brad.mouring@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20util-linux: break out util-linux-getoptRichard Tollerton
The getopt binary itself is only a few kb, while the util-linux package is much larger. The lsb package is very small and depends only on getopt. Break it out into util-linux-getopt in order to reduce the disk requirements of lsb on systems that don't otherwise bring in util-linux. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Acked-by: Ken Sharp <ken.sharp@ni.com> Acked-by: Ben Shelton <ben.shelton@ni.com Acked-by: Brad Mouring <brad.mouring@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20rpm: fix the rpm addsign functionRoy.Li
Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20python: Fix CVE-2014-7185Wenzong Fan
Integer overflow in bufferobject.c in Python before 2.7.8 allows context-dependent attackers to obtain sensitive information from process memory via a large size and offset in a "buffer" function. This back-ported patch fixes CVE-2014-7185 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20ghostscript: upgrade to 9.15Hongxu Jia
Rebase cups-no-gcrypt.patch and ghostscript-9.02-parallel-make.patch to 9.15 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20systemd-serialgetty: Disable the carrier detect requirement for serial consolesOtavio Salvador
This aligns the params of getty with the ones used in Debian. From the getty(8) manpage: ,----[ getty(8) manpage ] | -L, --local-line | | Force the line to be a local line with no need for carrier | detect. This can be useful when you have a locally attached | terminal where the serial line does not set the carrier detect | signal. `---- Reported-by: Craig McQueen <craig.mcqueen@beamcommunications.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20sysvinit-inittab: Disable the carrier detect requirement for serial consolesOtavio Salvador
This aligns the params of getty with the ones used in Debian. From the getty(8) manpage: ,----[ getty(8) manpage ] | -L, --local-line | | Force the line to be a local line with no need for carrier | detect. This can be useful when you have a locally attached | terminal where the serial line does not set the carrier detect | signal. `---- Reported-by: Craig McQueen <craig.mcqueen@beamcommunications.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Craig McQueen <craig.mcqueen@beamcommunications.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20toolchain-scripts.bbclass: Export KCFLAGS to ensure sysroot is providedOtavio Salvador
When building the U-Boot the lack of a proper sysroot can trigger following error: ,---- | arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc | make[2]: *** [examples/standalone/hello_world] Error 1 | make[1]: *** [examples/standalone] Error 2 | make: *** [examples] Error 2 `---- Guillaume Fournier has posted a very complete analysis of the problem[1]. 1. https://lists.yoctoproject.org/pipermail/meta-freescale/2014-November/011270.html The use of KCFLAGS makes the build of U-Boot work out of box, now that it uses the Linux kernel build system. Reported-by: Guillaume Fournier <gfournier@brioconcept.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20xkeyboard-config: Inherit gettextAndrei Gherzan
In a GPLv3-free build we have two different versions of gettext in sysroot due to GPLv3 restrictions. In this case we need gettext-native too so we can have the needed macros and avoid errors like: "error: possibly undefined macro: AM_GNU_GETTEXT" The needed dependency is added by gettext class which is prefered because it takes care of NLS flags too. Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12bluez5: fix QA error from configure optionPeter A. Bigot
The systemdunitdir option was split into systemdsystemunitdir and systemduserunitdir before bluez5 was ever released, so this produced a QA error and was ignored. There appears to be no reason to override the inferred default, so replace it with an explicit --enable-systemd. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12linux-firmware: upgrade to git rev 0e5f637Cristian Iorga
- Intel iwlwifi firmware copyright years changed. - Cleanup and updates for Intel wireless firmware. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12bluez5: upgrade to 5.25Cristian Iorga
- Cleanups and minor fixes; - Phonebook Access Profile 1.2 and Message Access Profile 1.2 features and improvements; - Various GATT related fixes; - Fix for a race condition which could occasionally cause LE connection/pairing failures. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12sbc: upgrade to 1.3Cristian Iorga
- Frame length calculation for dual-channel mode operation bug fixed; - Prevents overflow of an internal frame length variable. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12wpa-supplicant: upgrade to 2.3Cristian Iorga
- P2P WiFi improvements; - Bug fixes. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-12docbook-xsl-stylesheets: fix do_configure typoRoss Burton
do_configure was incorrectly spelt do_configre, which with recent changes to base.bbclass mean make clean was invoked, which doesn't exist. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12tzdata: update to 2014jArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12tzcode: update to 2014jArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12strace: add libunwind dependencyChong Lu
Add libunwind package dependency to solve following error: configure: error: failed to find libunwind-ptrace.h Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12meta-environment: Fix config-site with a multilib configMark Hatle
[YOCTO #6951] The TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value was defaulting to the nativesdk path and not the associated target path. Set the value in toolchain-scripts to the target path. Be sure to set the MLPREFIX within the meta-environment script as multilibs are processed. Update the config_site file name to use -BPN- not PN. Otherwise the environment processing can't find the correct filename. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12vala: upgrade to 0.26.1Ross Burton
vapigen can't be disabled anymore, so remove --disable-vapigen. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12opkg-utils: Update SRCREVPaul Barker
update-alternatives now escapes '[' in expressions passed to sed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12nss: Upgrade to 3.17.2Chong Lu
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12documentation.conf: add missing tasks / variablesPaul Eggleton
Document some recently added tasks and variables. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12classextend: Do not extend for that already have multilib prefixJackie Huang
If a BSP supports two or more multilibs, for example: MULTILIBS = "multilib:lib32 multilib:lib64" and a variable is already extended to include multilib variants, for example in populate_sdk_base: commit 396371588c7fd2d691ca9c39cd02287e43cb665b Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Thu Jul 24 22:09:09 2014 +0100 populate_sdk_base: Extend TOOLCHAIN_TARGET_TASK to include multilib variants Most people expect the toolchain from a multilib build to contain multilib components. This change makes that happen and is easy for users to override should they want something different. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> The mapping clsextend.map_depends_variable("TOOLCHAIN_TARGET_TASK") ends up with a wrong double extended package name like: lib32-lib64-packagegroup-core-standalone-sdk-target This patch avoid such issues. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12systemd: add PACKAGECONFIG for 'audit'Chen Qi
Add PACKAGECONFIG for 'audit', otherwise there would be warnings like below which would possibly lead to do_rootfs failure. WARNING: QA Issue: systemd-analyze rdepends on audit, but it isn't a build dependency? [build-deps] WARNING: QA Issue: systemd rdepends on audit, but it isn't a build dependency? [build-deps] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12apr-native: Set CONFIG_SHELL to /bin/bashRobert Yang
The apr-native provides usr/share/build-1/libtool which is required by the recipe such as apache2-native. If we don't set the CONFIG_SHELL to /bin/bash, then: 1) If we build apr-native on a host which is "/bin/sh -> bash", the interpreter in usr/share/build-1/libtool would be "#!/bin/sh". 2) When we re-use apr-native's sstate on a host which is "/bin/sh -> dash", there would be errors. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12gptfdisk: add 0.8.10+git versionKoen Kooi
Besides from being useful as fdisk replacement this gives us 'sgdisk' which can be used to set the GUID for partitions, e.g. sgdisk -t 1:C12A7328-F81F-11D2-BA4B-00A0C93EC93B /dev/mmcblk0p1 To mark it as ESP in scripts like mkefidisk.sh. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12qemu: remove task sanitize_sourcesKai Kang
There is no dtc/.git and pixman/.git files any longer. So remove task sanitize_sources which is used to remove these files. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12u-boot: update to version 2014.07Denys Dmytriyenko
u-boot doesn't really support building its tools for the target, as they are built with HOSTCC compiler, which is also used to compile fixdep utility that gets executed during the build. Since it might be beneficial to have a target version of mkimage, let's hack it to build fixdep in a separate step. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12systemd: avoid using system-authChen Qi
Patch systemd-user pam configuartion file to avoid using system-auth file. Instead, we use common-* files. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12libtool: remove build host paths from installed libtoolShiqun Lin
Resulted libtool contains references about paths from the build host Below variables contains hard coded build paths from the host: LTCC= lt_sysroot= sys_lib_search_path_spec= LD= CC= compiler_lib_search_dirs= predep_objects= postdep_objects= compiler_lib_search_path= Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12beecrypt: add option --with-dev-dspKai Kang
Add this configure option for developer to control if the /dev/dsp should be used on target. Instead of judging it based on the very device file of build server. Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>