summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
...
* libvirt: kill update-rc.d when not using sysvinitNoor2015-08-131-0/+5
| | | | | | | * Fixes a dependency on a nonexistent initscripts-functions package. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade 1.2.15 -> 1.2.17Lei Maohui2015-08-053-4/+49
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* seabios fails to build when ccache enabledAmy Fong2015-06-191-1/+1
| | | | | | | | | | | | | From eadb837b8467af26a7370427e4cb98ccad63c670 Mon Sep 17 00:00:00 2001 From: Amy Fong <amy.fong@windriver.com> Date: Wed, 17 Jun 2015 16:40:25 -0400 Subject: [PATCH] seabios fails to build when ccache enabled HOSTCC needs to be quoted since it may have whitespace values. (as in the case when ccache is enabled) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-image-*: catch up with OE-core class renameKoen Kooi2015-06-142-2/+2
| | | | | | | OE-core rev 0a3e8eb9f592c3f1edd2c7521855f7406541651a renamed 'image-vmdk' to 'image-vm'. IMAGE_FSTYPES didn't change, so keep those as 'vmdk'. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade to 1.2.15Roy Li2015-05-203-40/+5
| | | | | | | | Remove libvirt-Fix-cannot-symlink-cpu_map.xml-error.patch, since rules for install *.xml are changed, the race issue does not exist. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: correct libcap-ng optionsDmitry Eremin-Solenikov2015-04-111-1/+1
| | | | | | | | | | Fix the following warning by passing correct option to configure script: WARNING: QA Issue: libvirt: configure was passed unrecognised options: --with-capnp [unknown-configure-option] Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: use pkg-config to locate libcapBruce Ashfield2015-04-082-0/+46
| | | | | | | | | | | | libvirt wants to use pcap-config to locate the exisence and location of libpcap. oe-core stubs this script and replaces it with pkg-config, which can lead to the host pcap-config triggering and either breaking the build or introducing host contamination. To fix this issue, we patch configure to use 'pkg-config libcap' to locate the correct libraries. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: do_compile fails 'src/cpu/cpu_map.xml': No such file or directory'Amy Fong2015-03-242-0/+35
| | | | | | | | | | | In some circumstances where the build tree differs from the source, libvirt's compile will try to create the symlink for cpu_map.xml before creating the directory $(abs_builddir)/cpu. Add a test to create this directory if it hasn't already been created. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: avoid parse time errors for non-xen-archsChristopher Larson2015-03-172-1/+6
| | | | | | | | | | | | | | | XEN_TARGET_ARCH, when expanded, would emit a bb.error(). Referencing XEN_TARGET_ARCH in PACKAGECONFIG resulted in its expansion at the up front parse time, rather than at compile time, so non-xen-supported-archs like powerpc would see parse time errors, resulting in non-zero bitbake exit codes. Naturally this isn't ideal, so instead have the mapping function return 'INVALID' in the unsupported case, and in anonymous python, raise SkipPackage if the mapped architecture is invalid, so it's seen as unbuildable in that case. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Identify CONFFILESRob Woolley2015-03-101-0/+12
| | | | | | | | | | Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. Explicitly list the configuration files. Signed-off by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* seabios: minor cleanupChris Patterson2015-02-201-3/+2
| | | | | | | - use EXTRA_OEMAKE for passing along make flags - drop PARALLEL_MAKE="" override which is not required. Signed-off-by: Chris Patterson <cjp256@gmail.com>
* vgabios: DEPENDS on dev86-nativeChris Patterson2015-02-201-2/+2
| | | | Signed-off-by: Chris Patterson <cjp256@gmail.com>
* xen: Add 'hvm' PACKAGECONFIG for hvmloader buildingNathan Rossi2015-02-202-2/+10
| | | | | | | | * The 'hvm' PACKAGECONFIG (which is valid for x86 targets, and default enabled for x86-64 targets) enables building the hvmloader with in-built seabios, ipxe and vgabios firmware Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: break out firmware bitsChris Patterson2015-02-205-0/+231
| | | | | | | | | | | Added recipes for various xen firmware components: - ipxe - seabios - vgabios Signed-off-by: Chris Patterson <cjp256@gmail.com> Signed-off-by: Eric Chanudet <eric.chanudet@gmail.com> Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add patch to fix build failure on x86Nathan Rossi2015-02-202-0/+29
| | | | | | | * Add a patch which enables -mfpmath=387 which prevents the warning, which is treated as an error Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add support for systemdNathan Rossi2015-02-202-19/+70
| | | | | | | | | | | | * Refactor volatiles so that it generates sysvinit/populate-volatiles as well as tmpfiles.d configs * Add systemd PACKAGECONFIG for enabling systemd support * Setup SYSTEMD_SERVICE variables * Add FILES values for systemd .service/.mount/etc files * sed patterns to the 4.5.0 recipe to fix some issues with the source around qemu-system-i386 and libsystemd-daemon Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen-image-minimal: Install qemu instead of xen-qemuNathan Rossi2015-02-201-1/+1
| | | | | | * Install QEMU from the distro as opposed to a specific xen-qemu setup Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Update recipe to 4.5.0Nathan Rossi2015-02-203-50/+36
| | | | | | | | | | | | | | * Added configure step to fix handling of the CC, AS, etc. variables within the xen build scripts. * Add configure options for handling of system config directories for cross building * Use the qemu provided by oe instead of the xen built version for consistency as well as to remove the need to have two seperate flows for building qemu * Disable building of SeaBIOS * Removed no longer needed patches Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen-*image-minimal: Setup conditional based on MACHINE_FEATURESNathan Rossi2015-02-202-3/+3
| | | | | | | * Conditionally add packages to the image depending on whether the machine supports the respective feature Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add aarch64 as compatible hostNathan Rossi2015-02-201-1/+1
| | | | Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Fix up architecture specific stepsNathan Rossi2015-02-201-10/+15
| | | | | | | | * Remove version specific sed pattern * Add 'xen' as an output product instead of just 'xen.gz' as some architectures do not generate the 'xen.gz' Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Move x86/arch specific components into RRECOMMENDSNathan Rossi2015-02-201-2/+7
| | | | | | | | * The xen-base specifies features that are specific to x86 targets, these components include xen-libblktap, xen-flask, xen-hvmloader and xen-xenpaging Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Add Build and Target architecture mappingNathan Rossi2015-02-202-3/+23
| | | | | | | * Setup the XEN_TARGET_ARCH and XEN_COMPILE_ARCH based on the running environments TARGET_ARCH and BUILD_ARCH Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* xen: Fix and refactor common includeNathan Rossi2015-02-201-5/+64
| | | | | | | | | | * Add missing DEPENDS (dtc, lzo, libaio) * Fix up QA issues around missing rdepends and un-shipped files/directories * Add export for XEN_OS * Add the /var/lib/xen directory as a volatile directory Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
* dev86: Adjusted the SRC_URI of the source code.j105rob2015-02-161-3/+3
| | | | | | | | The SRC_URI of the source code was returning a 404. After locating the correct URI for this version of the source code, updated the SRC_URI & hashes. Signed-off-by: j105rob <j105.rob@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: uprev to 1.2.12Bruce Ashfield2015-01-272-4/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: correct libvirt-python checksumsBruce Ashfield2015-01-201-2/+2
| | | | | | | The uprev to 1.2.11 had the incorrect libvirt-pthon checksums, we correct them here. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: uprev to 1.2.11Bruce Ashfield2015-01-201-2/+2
| | | | | | | | | Other than updating the checksums, no other significant differences are present in the 1.2.8 -> 1.2.11 update of libvirt. Sanity testing passes, so we do the update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add PACKAGECONFIG for audit, libcap-ngWenzong Fan2014-12-031-1/+3
| | | | | | | | | | | | | | | | | | Add PACKAGECONFIG for audit, libcap-ng, otherwise there would be warnings like below: WARN: libvirt: libvirt-virsh rdepends on audit, but it isn't a build dependency? WARN: libvirt: libvirt-virsh rdepends on libcap-ng, but it isn't a build dependency? WARN: libvirt: libvirt rdepends on audit, but it isn't a build dependency? WARN: libvirt: libvirt rdepends on libcap-ng, but it isn't a build dependency? WARN: libvirt: libvirt-libvirtd rdepends on audit, but it isn't a build dependency? WARN: libvirt: libvirt-libvirtd rdepends on libcap-ng, but it isn't a build dependency? Both audit and libcap-ng should be enabled/disabled along with selinux since all of them are from meta-selinux. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: uprev to v1.2.8Olivia Yin2014-09-292-4/+4
| | | | | Signed-off-by: Olivia Yin <r63875@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: remove old versionsBruce Ashfield2014-09-292-30/+0
| | | | | | | There's no need to carry three versions of irqbalance, so we keep the latest, and drop the older variants. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add udev dependency for multipath-tools packageZibo Zhao2014-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | mutipath-tools package has build time dependency on udev. Without it, following build error will occur: | discovery.c:14:21: fatal error: libudev.h: No such file or directory | compilation terminated. | make[1]: *** [discovery.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | config.c:8:21: fatal error: libudev.h: No such file or directory | compilation terminated. | make[1]: *** [config.o] Error 1 | structs.c:8:21: fatal error: libudev.h: No such file or directory | compilation terminated. | make[1]: *** [structs.o] Error 1 Add udev into DEPENDS to avoid build failures. Signed-off-by: Zibo Zhao <zibo.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* multipath-tools buildfix: added '-brokensep' to autotoolsLiviu Gheorghisan2014-08-271-1/+1
| | | | | | | | | | | | | | | | This is required because the build failed at do_install task. | DEBUG: Executing shell function do_install | NOTE: make -j 64 LIB=/usr/lib exec_prefix=/usr libdir=/usr/lib DESTDIR=/media/sdd1/fb/ligh/scm/cgl-upstream/build-qemuppc/tmp/work/ppc7400-poky-linux/multipath-tools/0.4.9+gitrAUTOINC+d3683ab18b-r0/image install | make: *** No rule to make target `install'. Stop. | ERROR: oe_runmake failed | WARNING: /media/sdd1/fb/ligh/scm/cgl-upstream/build-qemuppc/tmp/work/ppc7400-poky-linux/multipath-tools/0.4.9+gitrAUTOINC+d3683ab18b-r0/temp/run.do_install.34183:1 exit 1 from | exit 1 ERROR: Task 2 (poky/meta-virtualization/recipes-extended/multipath-tools/multipath-tools_git.bb, do_install) failed with exit code '1' Signed-off-by: Liviu Gheorghisan <liviu.gheorghisan@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: set path to pkcheckShrikant Bobade2014-08-181-1/+4
| | | | | | | | | | | | | The libvirt build would fail whenever x11 was in DISTRO_FEATURES and the host didn't have polkit installed (either no polkit/policykit at all, or just old policykit). Ensure that libvirt uses polkit rather than policykit, whether the host has pkcheck installed or not, and ensure the path is correct per our config. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add hooks directoryKeith Holman2014-07-311-0/+3
| | | | | | | | | | Libvirt contains the functionality to run hooks when before and after it performs specific operations. Hooks are useful in order to perform actions on the host that occur outside of the VM. In order to enable the hooks scripts must exist in a specific directory. This fix adds the required directory to the file system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* kvm-image-minimal: Fix warningMaxin B. John2014-07-161-2/+0
| | | | | | | | | | | | | Fix this warning: WARNING: Function remove_packaging_data_files doesn't exist The remove_packaging_data_files function is now handled automatically when "package-management" is not in IMAGE_FEATURES. We should remove the lines, as they are not needed and might interfere with correct operation of postinstall scripts. Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add fuse PACKAGECONFIGBruce Ashfield2014-07-091-0/+1
| | | | | | | | | | libvirt will probe and dynamically add fuse support if detected. This leads to build inconsistencies and errors due to race conditions. Explicitly adding fuse as a packageconfig option to ensure that it is consistently added (or removed). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix PTEST_DIRMihaela Sendrea2014-06-031-1/+1
| | | | | | | The default PTEST_DIR only works for 32bit. Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: uprev to 1.2.4Bruce Ashfield2014-05-144-66/+61
| | | | | | | | | | Updating the version of libvirt to 1.2.4. Only small changes are required to the ptest and python chnages for this new version, but otherwise, all packaging and build optinos are the same. Sanity tests show no regressions from 1.2.2. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: allow separated src and build dirsMark Asselstine2014-05-083-2/+60
| | | | | | | | | | | Poky commit 69b6eaca3d9b635e8a61a0fdbd814b558e91901d [autotools: Enable separate builddir by default] enforced separate build directories, which is supported by automake. Make some minor updates to the recipes and upstream source to allow builds to work with separated src and build directories. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Revert "libvirt: force use of libssh2"Bruce Ashfield2014-05-071-2/+0
| | | | This reverts commit df0678b3c9c44aac9703dcf78ceb4fdbe8397f3e.
* libvirt: force use of libssh2Joe Slater2014-05-061-0/+2
| | | | | | | | | We add a PACKAGECONFIG[] to deterministically build with or without libssh2 and add ssh2 to PACKAGECONFIG, so we will always use it. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add PACKAGECONFIG[numactl]Joe Slater2014-05-061-0/+1
| | | | | | | | | configure will check for numa support by default, resulting in indeterminate configuration. We add a PACKAGECONFIG[] to force behavior. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Update version to 1.2.2Mihaela Sendrea2014-03-192-4/+4
| | | | | Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Add ptest supportMihaela Sendrea2014-03-193-3/+151
| | | | | | | Install libvirt test suite and run it as ptest. Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: dnsmaqs not to bind to virbr interfaceBruce Ashfield2014-03-031-0/+1
| | | | | | | | | | | | | | | | | By default dnsmaqs binds to all interfaces, and this causes 2 small issues: * At boot time, dnsmaqs daemon will start first and binds to virbr interface, then libvirtd spawns a second dnsmaqs binds to virbr (in dynamic mode) which binds to virbr:53 proto UDP (but not TCP) * If some how, libvirtd daemon starts first then dnsmaqs daemon will fail to start as libvirtd daemon already binds to virbr:53. This patch tells dnsmasq daemon to leave virbr alone and let libvirt uses it. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: kill the right dnsmasq daemonBruce Ashfield2014-03-031-1/+3
| | | | | | | | | | | | | | | | | Currently when libvirt daemon is stared, the libvirt startup script tries to kill the already running dnsmasq daemons (e.g. from /etc/init.d/dnsmaqs). Also if "/etc/init.d/libvirtd start" is invoked more than one time then this will accidentally kills all the dnsmasq daemon. This patch makes sure libvirt startup script to kill only the dnsmasq that spawned by itself. Also try to avoid killing dnsmasq if "/etc/init.d/libvirtd start" runs second time. Signed-off-by: Barton Wensley <Barton.Wensley@windriver.com> Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Disable polkit driver when there is no x11Jonas Eriksson2014-02-281-1/+2
| | | | | | | | | | To avoid having the default build of libvirt depend on virtual/x11 through polkit and consolekit, check for x11 in DISTRO_FEATURES before enabling the polkit support in the default PKG_CONFIG. Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Use DISTRO_FEATURES to enable Xen supportJonas Eriksson2014-02-281-2/+3
| | | | | | | | | | | The Xen drivers in libvirt is needed when the build file system image and kernel are running as dom0. The parts of the kernel needed to run as dom0 are controlled by DISTRO_FEATURES, and thus there is no need for the Xen drivers if DISTRO_FEATURES does not contain 'xen'. Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Fix selinux DISTRO_FEATURE checkJonas Eriksson2014-02-281-1/+1
| | | | | | | | It seems that a $ was forgotten in the DISTRO_FEATURE check for selinux. Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com> Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>