aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-01-16oe-selftest: separated the SStateBase and SStateTests in different modulesCorneliu Stoicescu
- SStateBase now has its own module to be imported by itself by other modules like sstatetests.py Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16oe-selftest: renamed sstate.py module to sstatetests.pyCorneliu Stoicescu
Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16oe-selftest: New object SStateBase cut off from SStateTests.Corneliu Stoicescu
- SStateBase object contains basic methods used to run sstate related tests - SStateTests now contains only sstate-related tests Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16util-linux: add reset.1 manpage in update-alternativesMatthieu Crapet
Adding "doc-pkgs" to IMAGE_FEATURES (in an image recipe) reports a conflict with reset.1 file, present both in util-linux and ncurses-doc packages. <log> | Collected errors: | * check_data_file_clashes: Package util-linux-doc wants to install file /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/rootfs/usr/share/man/man1/reset.1 | But that file is already provided by package * ncurses-doc | * opkg_install_cmd: Cannot install package util-linux-doc. | WARNING: /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/run.do_rootfs.13877:1 exit 255 from | opkg-cl -f $INSTALL_CONF_IPK -o $INSTALL_ROOTFS_IPK --force_postinstall --prefer-arch-to-version install `cat $1` | ERROR: Function failed: do_rootfs (log file is located at /home/matt/tmp/oe-p/build/tmp-eglibc/work/qemux86_64-tiny-linux/test-image/1.0-r3/temp/log.do_rootfs.13877) </log> Same issue already occured few months ago: Re: [OE-core] Clashing man pages https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg38590.html Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16initrdscripts: add $CMDLINE to init-live switch_rootKrzysztof Sywula
init-live.sh: $CMDLINE variable should be provided to switch_root to let user specify runlevel on grub command line. Feeding with -c /dev/console as well as busybox switch_root enables that option. Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16package_rpm: Fix a race with package_deb/package_ipkRichard Purdie
We have the odd situation where the CONTROL/DEBIAN directory can be removed in the middle of the walk, the isdir() test would then fail and the walk code would assume its a file hence we check for the names in files too. This resolves the autobuilder failure: error: File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN RPM build errors: File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16alsa-lib: remove hard-coded /usr/include in dev packageAndrew McDermott
Specify the location of the alsa headers using ${includedir}. Without this no headers get added to the image when the alsa-lib-dev package is included. Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16linux-firmware: add firmware for additional iwlwifi devicesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16nativesdk-packagegroup-sdk-host: reverse inherit orderLaurentiu Palcu
Currently, tow successive toolchain builds for different hosts, will issue a warning: WARNING: The recipe nativesdk-packagegroup-sdk-host is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /ssd/work/yp1/build/tmp/deploy/ipk/all/nativesdk-packagegroup-sdk-host_1.0-r11_all.ipk Matched in manifest-x86_64-nativesdk-packagegroup-sdk-host.package_write_ipk Please verify which package should provide the above files. That's because packagegroup is manually inherited after nativesdk which is usually a BBCLASSEXTEND operation, done last. [YOCTO #5396] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16allarch.bbclass: set SDK_ARCH and SDK_CC_ARCH to "none"Laurentiu Palcu
allarch packages shouldn't use these variables. [YOCTO #5396] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15glib: add missing dependencies for ptestRoss Burton
Some of the GLib tests that we run under ptest are missing runtime dependencies. iochannel-test needs the EUC-JP encoding. convert needs the ISO-8859-1 and ISO-8859-15 encodings. contenttype needs shared-mime-info. Add these to the RDEPENDS so that these tests pass. [ YOCTO #5696 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15weston: cleanup mesa dependsAndreas Müller
* do not depend by default * depend on virtual/mesa instead of mesa Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15linux-yocto/3.10: mohonpeak bsp config and scc filesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15linux-yocto/3.10: update to 3.10.25Bruce Ashfield
Updating the 3.10 tree to the 3.10.25 korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15linux-yocto/3.10: update meta data for media fragmentsBruce Ashfield
Updating the meta SRCREV to import the following changes: d9cd83c0292b remove old MEDIA config fragments 06b76256d7e2 common-pc-standard.scc: Enable USB webcam support acb8b43837d8 common-pc-64.scc: update as per changes in the media config fragments 5513fd2ad72a minnow-standard.scc: Enable media features 172ba799bedc media-all.scc: A feature including all the media features 1a7e1d3a292e media-platform: A feature for platform media devices 03c48dacbb9a media-dvb-frontends : A feature for Digital Video Broadcast Devices 59b92b9d6c72 media-usb-tv: A feature for USB TV media adapters 5ec0709b1fed media-tuners: A feature for media tuner devices 356dc83e39f3 media-rc: A feature for remote control media devices 89d96cf9d574 media-radio: A feature for AM/FM radio devices 3dd2ebeaf49b media-pci-capture: A feature for PCI media capture devices 9ee0e95bfc52 media-i2c: A feature for I2C media devices 28976f4a3e27 media-usb-webcams: A feature for USB media devices f8206f4e00b1 media: A feature for media infrastructure 08bfb248a17f standard.scc: Add firmware loading feature e567a3d53593 firmware: A feature for firmware loading support Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15ltp: fix makefile raceRoss Burton
There is a Makefile dependency race causing occasional build failures: *** No rule to make target `.../work/core2-poky-linux/ltp/20130904-r0/git/testcases/kernel/include/linux_syscall_numbers.h.23161.sh', needed by `linux_syscall_numbers.h'. Stop. This is due to a bad dependency wildcard that is matching more than the one file it should match, so replace it with a concrete filename. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-15dbus-ptest: fix incorrect option nameRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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. 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] 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. 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14eglibc-locale: Fix multilib builds to depend on the correct binutilsRichard Purdie
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. 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
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. 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. 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] 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. 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. 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. 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. 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. 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. 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). 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. 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. 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 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. 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. 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14make: Disable floating guile dependencyRichard Purdie
This makes builds of make deterministic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14image_types bbclass: add support for tar.lz4 and cpio.lz4Koen Kooi
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
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
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
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. 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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-14separatebuilddir: build libproxy and taglib out of the source treeRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
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' Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>