aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-01-16kernel-headers.bbclass: Add a bbclass to generate sanitized kernel headerspkj/kernel-headersPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2014-01-16kernel-scripts.bbclass: Break out the creation of the kernel scriptsPeter Kjellerstedt
Put the creation of the kernel scripts in ${STAGING_KERNEL_DIR} in a separate class that can be used both from module.bbclass and other classes. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2014-01-15systemd-compat-units: remove dnsmasq from sysv disabled listAnders Darander
The dnsmasq recipe in meta-networking ships a dnsmasq.service file, that will correctly override the SysV init script. Thus, as pointed out by Ross Burton, we should remove dnsmasq from the list. (From OE-Core rev: 69a8153c55bf74fa6178d6bd65ac8e761c041a0e) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15shutdown-desktop: use poweroff for the Exec field in the shutdown.desktopChen Qi
Use 'poweroff' instead of 'halt' for the Exec field in the shutdown.desktop. The purpose of this patch is to make the 'shutdown' icon on on our sato images work as expected for both sysvinit and systemd images. Previously, the Exec field was 'halt'. The `halt' command could poweroff the system in sysvinit images but it only could halt the system in systemd images. The difference is due to the different implementations of the `halt' command. In sysvinit, the `halt' command will effective execute `/sbin/init 0'. This is for the compatibility with sysvinit 2.4, as stated in the comments of the source code. In systemd, the `halt' command will effectively execute the reboot(RB_HALT_SYSTEM). As the 'shutdown' icon is expected to actually shutdown the system, we should use poweroff instead of halt for its Exec field. [YOCTO #4347] (From OE-Core rev: c87d44a079c13a98734f9f726ec1b55d86793f8c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15dbus-ptest: disable systemdRoss Burton
Explicitly disable systemd support so that it isn't a floating dependency and libsystemd-login doesn't become a runtime dependency on non-systemd images. Also don't bother setting the systemd unit directory as we're not installing anything. (From OE-Core rev: 4f5d00b551e2ee6056ebfc8365a05a5ca8e5d651) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14dropbear: Refresh pam patch so it applies against recent versionRichard Purdie
Patch application failed on the autobuilder for pam, this refresh of the patch should resolve the build failure. (From OE-Core rev: c4c5ec52effc2ff97ac17270c1aa7884c808f5a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix multilib builds to depend on the correct binutilsRichard Purdie
(From OE-Core rev: 858c60adbcc5e21c585383fe90f6803d52f0807f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14python-nose: don't install as an EggRoss Burton
Nose is installed as an Egg by default which we don't want, so change the inherit to setuptools from distutils to disable the eggification. (From OE-Core rev: 47a07c42f5f67dcf69f844531f7a527029e6280e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix previous dependency change to properly work in nativesdk caseRichard Purdie
(From OE-Core rev: 7a4f3ee1b137cc8465f0cd9b1e461d3643182a81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14python-nose: Add BBCLASSEXTEND for native/nativesdkRichard Purdie
Without this, nativesdk-python-numpy doesn't build. (From OE-Core rev: 78711c887520c88d733182a80edac49650a7e94f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14harfbuzz: Move ancillary binaries to ${PN}-binPhil Blundell
The binaries: -rwxr-xr-x root/root 21956 2014-01-09 19:39 ./bin/hb-shape -rwxr-xr-x root/root 21504 2014-01-09 19:39 ./bin/hb-ot-shape-closure -rwxr-xr-x root/root 36520 2014-01-09 19:39 ./bin/hb-view are not generally useful on target systems. Also, their presence in the same binary package as libharfbuzz.so defeats the debian package autonamer. Inherit lib_package to move these to ${PN}-bin. (From OE-Core rev: d716f63d5785fa9239497d25bffc5035a9e58d28) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14security_flags: db can't use pie flags from gcc for security buildSaul Wold
[YOCTO #5721] (From OE-Core rev: 0cfe254e7eafed27f512216cccfb7fee76fc0be7) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14packagegroup-core-tools-testapps: add PiglitRoss Burton
Respect the OpenGL distro feature and if it's enabled, pull in piglit and mesa-tools. (From OE-Core rev: cd61c62ed30694eeb82e88e058a3a3e1bfb06f78) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14piglit: add (from meta-oe)Ross Burton
Piglit is an OpenGL testing tool. This recipe is taken directly from meta-oe. (From OE-Core rev: cab8dad6f3b14f21115a765a4e55d38a0f73f337) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14waffle: add (from meta-oe)Ross Burton
Waffle is needed for Piglit. This recipe is based on the recipe in meta-oe, upgraded to the latest upstream 1.3.0. (From OE-Core rev: 67228f682cb8acc71dd5f8b44af67f529727f780) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14python-numpy: add (from meta-oe)Ross Burton
python-numpy is needed for Piglit. This recipe is taken directly from meta-oe. (From OE-Core rev: 9bf355cceaec6ebacdcbcc35f9713ff73e1c85da) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14python-nose: add (from meta-oe)Ross Burton
python-nose is a build dependecy for python-numpy, needed for Piglit. This recipe is taken directly from meta-oe. (From OE-Core rev: 6b0c3e9955292d2ea13c6871c686824cd04150f1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14python-mako: add (from meta-oe)Ross Burton
python-mako is needed for Piglit. This recipe is taken from meta-oe, and upgraded to the latest upstream version. Checksums updated as the upstream LICENSE file contains the copyright dates. (From OE-Core rev: 1ad759508d834f3bcb3bb8542ae2012a2b6ef2e0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14cmake: specify all install pathsRoss Burton
Specify the full set of install paths (bindir, libdir, etc) for packages that use the GNUInstallDirs module, instead of just the prefix and leaving the rest as default (which breaks with multilib). (From OE-Core rev: d3995ac14ba05c0420f15f264f7e9d0c3af71f74) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14separatebuilddir: Drop cmake lines since cmake class has this as default nowRichard Purdie
The changes to cmake make this unneeded now. (From OE-Core rev: 92472980b816ee9ada502c1965976cb6eedc0a27) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14grub-efi: remove configure patch, simply seed the cacheRoss Burton
grub-2.00-disable-help2man patches configure.ac to disable the help2man check because we don't need the man pages. It also then patches configure itself so that autogen.sh doesn't have to be called for performance reasons. However, do_configure causes a full autoreconf so this optimisation is moot, and can cause patch failures when an existing build tree is re-used. Instead, simply use CACHED_CONFIGUREVARS to tell configure that it can't find help2man. (From OE-Core rev: 34b9b2931da1fbf4c68a3e35f4ca56553058574b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14alsa-tools: fix the AUTOMAKE_DIRRobert Yang
There should be only one automake under the STAGING_DATADIR_NATIVE in theory, but der_steffi@gmx.de has reported an odd problem which seemed like that there are more than one. However, the "automake --print-libdir" is the regular way to locate automake libdir. [YOCTO #5706] Reported-by: der_steffi@gmx.de (From OE-Core rev: 59f46f9c9f8a36d8829b9b33291249a7b92ebcac) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14nativesdk-packagegroup-sdk-host: Cleanup strange darwin overrideRichard Purdie
The cross-canadian packages were split into their own package group some time ago. These two are leftovers and can be safely removed. (From OE-Core rev: 0f05393bad8ac84627f339aa1619c96c22d2dc37) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14ptest: d.keys() is slow, use a list insteadRichard Purdie
Unfortunately d.keys is extremely slow. Using a list in this case should be fine since the addtask lines are immediately above the code and aren't going to change often. (From OE-Core rev: 5901189f0442cefc4d17623547f7358ffc2d37a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix depends on binutilsRichard Purdie
The dependency here needs to apply for nativesdk as well as target packages as the autobuilder just tripped over that. We'd never want a native version so I'm not sure why the target class override was even present. The dependency also applies to do_package so lets be explicit about that in case sstate decides to get clever. (From OE-Core rev: b7ec21ac8ebac9d7fba34d6f11d93ecb8f561ca8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14make: Disable floating guile dependencyRichard Purdie
This makes builds of make deterministic. (From OE-Core rev: 9ab5e5f16cb485f8838ba886216912a78cee01e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14image_types bbclass: add support for tar.lz4 and cpio.lz4Koen Kooi
(From OE-Core rev: 0a541a0497902ee9993449b47da853b6c6a306d9) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14kernel.bbclass: add support for LZ4 initramfs filesKoen Kooi
(From OE-Core rev: 4cf53999459f3984f541ad5e666057a6727a066c) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14distrodata bbclass: add support for lz4 archivesKoen Kooi
(From OE-Core rev: 4c6fb26d3fb54c75e99f6531a53054b8c6482a8b) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14base bbclass: add support for lz4 compressed archivesKoen Kooi
(From OE-Core rev: 8b31b2d612b7bcd98c393c3760bb2e1542c02bd5) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14lz4: add r112Koen Kooi
lz4-native is needed for kernels using lz4 compression, which was merged in 3.11. Lz4 has a similar compression rate to lzo but decompresses a lot (>4x) faster. (From OE-Core rev: 13e5da254529716b0445895d70b40489ce22941b) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14cmake: default to out-of-tree buildsRoss Burton
Set B=${WORKDIR}/build in cmake.bbclass so that recipes using cmake.bbclass do out-of-tree builds by default. (From OE-Core rev: 783fb88f476c94d5d4f4b954f7053464d9a6dff5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14separatebuilddir: build libproxy and taglib out of the source treeRoss Burton
(From OE-Core rev: 706084cedc73612af4feb5dd9075f1efb1b7d58c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14cmake: respect ${S} and ${B}Ross Burton
Instead of the class-specific variables OECMAKE_BUILDPATH and OECMAKE_SOURCEPATH, just use ${B} and ${S}. If these two paths are different, delete any existing ${B} before running a build so that previous builds don't taint the current build. Note that OECMAKE_SOURCEPATH and OECMAKE_BUILDPATH are not respected, so recipes that manually set these in the past will need to be updated to either use something along the lines of separatebuilddir.inc or set B themselves. If the old variables are set, a warning is displayed. (From OE-Core rev: 43073569cb67d98c11aa71211d77b566b64f9145) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14grub git: update to latest gitKoen Kooi
Drop the 2 patches since the functionality is upstream now. Also sync PACKAGECONFIG with grub 2.00 recipe. The debugedit problem for 64 bit machines in do_package is still present, though: ERROR: debugedit failed with exit code 256 (cmd was '/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b '/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux' -d '/usr/src/debug' -i -l '/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/debugsources.list' '/build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/package/usr/lib/grub/arm64-efi/cpio_be.module'): /build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit: /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/package/usr/lib/grub/arm64-efi/cpio_be.module: Unhandled relocation 258 in .debug_info section ERROR: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/grub/2.00+AUTOINC+0776112c53-r0/temp/log.do_package.29234 ERROR: Task 10 (/build/linaro/build/openembedded-core/meta/recipes-bsp/grub/grub_git.bb, do_package) failed with exit code '1' (From OE-Core rev: cd29ff3927a6deae5e808525bd56acf7b4b0b60c) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14libproxy: Update to 0.4.11Phil Blundell
Delete patches that have been applied upstream or are no longer necessary. Update LIC_FILES_CHKSUM to match new COPYING (whitespace changes only). (From OE-Core rev: 7c3b070b9cdd8b1d564d8900858cd31d11b20e6f) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14libacpi: Fix GNU_HASH problemYasir-Khan
Fixes GNU_HASH problem by adding LDFLAGS to TARGET_CC_ARCH (From OE-Core rev: 7b69e70f68da163e95f5e263832a85f1a0070006) Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14libidn: disable C# directlyZhang Xiao
Disable C# building with --disable-csharp instead of remove useless binary files. (From OE-Core rev: b4c4923d2e1035a036d04199c0acff6ccdd49cfe) Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14sudo: upgrade to 1.8.9p1Chen Qi
Upgrade sudo from 1.8.8 to 1.8.9p1. This patch adds include/queue.h to the LIC_FILES_CHECKSUM because it's specified in the doc/LICENSE file. (From OE-Core rev: 0262bd1fc9507a39b7f313a8a5e85e7001f6bd9f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14man-pages: upgrade to 3.56Saul Wold
(From OE-Core rev: bf4a2ebce1097394a6ce77511fb9fff319b58858) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14cups: upgrade to 1.7.1Saul Wold
(From OE-Core rev: 881c94aa291631cd65aecfceac8ebea1be892918) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14util-linux: Add fstrim utilityMiLo
Add "util-linux-fstrim" package, containing /sbin/fstrim, for trimming unused sectors on SSDs. (From OE-Core rev: ee3599472d7c5ccbf259312c7622b982941b6b1e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14libsdl2: upgrade to 2.0.1Paul Eggleton
(From OE-Core rev: 558ce1216ab2d6f31025f58d82b7614d7cd19b61) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14cdrtools-native: upgrade to 3.01a20Paul Eggleton
(From OE-Core rev: 2ea41b8e857825b2a725606560e4a5b6909febaf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14chrpath: upgrade to 0.15Paul Eggleton
(From OE-Core rev: 1c45c9b5712937d149baae2ca51f0aff63059dbf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14dropbear: upgrade to 2013.62Paul Eggleton
LIC_FILES_CHKSUM has changed with the introduction of a BSD-3-Clause algorithm (curve25519-donna); this has prompted a re-evaluation of the LICENSE value which should now reflect the licenses declared in the upstream documentation. Thanks to Beth Flanagan for helping with this. (From OE-Core rev: 232e8b96988ffa6e5107917fbf41222d26e4e90b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14ptest.bblass: Fix package QA issues when disabledNathan Rossi
When the ptest distro feature is disabled, a ptest directory is still created in the install phase, This directory is not cleaned up or consumed by any package and will throw a QA error, e.g. ERROR: QA Issue: glib-2.0: Files/directories were installed but not shipped /usr/lib/glib-2.0/ptest ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa This is caused by the do_install_ptest_base[cleandirs] attribute which is not setup to be conditional on ptest being enabled. This patch refactors the use of PTEST_ENABLED in the *ptest_base tasks, replacing the conditional execution with the removal of the tasks from the build, this prevents any part (including cleandirs) of the ptest tasks from executing when disabled. (From OE-Core rev: def21f3f0bedae51651f1f0fc58b62b8aaaf37ae) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14systemd-compat-units: do not mask available servicesAnders Darander
Do also check systemd_unitdir/system/ for available unit files. This was hiding dnsmasq.service for us, as /etc/systemd/system has priority over systemd_unitdir/system... (From OE-Core rev: 5aea3d375b717d96f8f916f2f830e8f8649a4991) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14dbus: Remove stray semicolon from SRC_URIPhil Blundell
(From OE-Core rev: 80affbb4e0e79d3cca6022d7426503d7f20ce3ac) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14oeqa/runtime/systemd: wait for services to start/failRoss Burton
When checking that no services have failed to start, actually wait for services to finish starting by waiting for there not be no units in the "activating" state. (From OE-Core rev: 4d6422a84eba005a6fd788ce18c9dd42b079e2a8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>