summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
...
* libvirt: get libvirt-guests systemd service runningMark Asselstine2015-09-111-3/+6
| | | | | | | | | | | While testing libvirt with the new systemd init I found that the libvirt-guests service was failing to run since the libvirt-guests.sh script was not where it was expected. If we are building for systemd init system use the default installation location which is used upstream for the libvirt-guests.sh script. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: enable systemd supportMark Asselstine2015-09-102-3/+105
| | | | | | | | | | | | | | | | | | | | | Commit d114a62dd8a2121fa3026b83c5b250eb0ee6f21d [libvirt: kill update-rc.d when not using sysvinit] resulted in libvirt services not starting automatically at boot when using systemd. The upstream libvirt package already has the necessary systemd service files so it is just a matter of activating them via the '--with-init-script' configure option and making the recipe use these. We always set '--with-init-script' to 'systemd' regardless of the systemd vs sysvinit DISTRO_FLAG since our sysvinit scripts are external and thus not affected by this setting when building for sysvinit. Both sysvinit and systemd packages will be libvirt-libvirtd, the bbclasses ensure that only the files for one init system will exist in the package, so this 'overloading' is acceptable. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dnsmasq: allow for multiple instances (per libvirt)Mark Asselstine2015-09-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | We have had a persistent issue of contention with multiple instances of dnsmasq. When libvirtd is started it will attempt and fail to create virbr0 that includes a dnsmasq binding (dnsmasq complains that the port is already in use). The root cause being that the base dnsmasq configuration uses the 'default' binding, meaning it will be greedy and bind to all available interfaces, along with any new interfaces that appear. This prevents any new instances of dnsmasq to fail. By changing the base dnsmasq configuration to use 'bind-dynamic' we will be able to create new interfaces and if we want to attach a new dnsmasq instance for the new interface we can, without contention. Overall this change should not change the default behavior (other then fixing the contention) as the 'bind-dynamic' mode will allow the base config to attach to new interfaces which are not be bound to new dnsmasq instances. Removing dnsmasq_exclude_virbr.conf which was a previous (partial) attempt that was made to resolve this issue. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: upgrade 1.0.6 -> 1.0.9Jianchuan Wang2015-09-082-17/+15
| | | | | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: add systemd supportJianchuan Wang2015-09-083-1/+18
| | | | | | | | Add irqbalanced.service file for systemd support. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: add PACKAGECONFIG for libcap-ngJianchuan Wang2015-09-083-0/+26
| | | | | | | | Grasp withval for libcap-ng in configure.ac. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappend: switch to use a wildcard beyond major versionMark Asselstine2015-09-081-0/+0
| | | | | | | | | | | | Using a wildcard will simplify things when using meta-virtualization against different yocto or oe branches and prevent having to make future updates to keep in step with package uprevs. The changes found within these bbappend tend to be generic and non-version specific, thus safe for 'porting' via wildcard. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: correct QA warning for missing build depMark Asselstine2015-09-081-1/+1
| | | | | | | | Fixes the following QA warning: WARNING: QA Issue: libvirt-ptest rdepends on libtasn1, but it isn't a build dependency? [build-deps] Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: DEPEND on libxslt-native to fix build issueMark Asselstine2015-09-081-1/+1
| | | | | | | | | | | | | | | | | Configure searches for and sets XSLTPROC and will not get a proper value unless we have made sure libxslt-native is built prior to libvirt. So we need to add it as a DEPENDS. Failing to do this we could end up with libvirt configuring before libxslt-native has built and installed xlstproc in the -native sysroot, resulting potential host contamination or in a potential build error: cat: acl.html.tmp: No such file or directory Makefile:2215: recipe for target 'acl.html' failed (xsltproc is used in the generation of acl.html.tmp) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add new files to packagesDoug Goldstein2015-08-311-2/+15
| | | | | | | These files are now installed post 4.5.0 and as such they need to be placed into appropriate packages. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: add missing dependencyDoug Goldstein2015-08-311-0/+4
| | | | | | | The xen-fsimage package contains shared libraries which depend on the shared libraries from libext2fs so there needs to be a RDEPEND set. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: drop incorrectly broken out packageDoug Goldstein2015-08-311-5/+0
| | | | | | | | | The xen-mfndump utility was broken out into xen-xen-mfndump which is clearly a typo for xen-mfndump but the xen.inc file which is also used for 4.5.0 places this binary into xen-misc so remove these lines and let it go into xen-misc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dev86: adjust SRC_URI to author's new siteDoug Goldstein2015-08-131-3/+3
| | | | | | | | Update the SRC_URI to the author's new site where the hosted files match the existing md5sum and sha256sum. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>