summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* lxc: Uprev to 1.0.5Maxin B. John2014-07-294-115/+2
| | | | | | | | Update lxc to latest available version: 1.0.5 Remove already upstreamed patches. Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* netcf: remove recipeMaxin B. John2014-07-292-55/+0
| | | | | | | | | meta-networking layer includes a newer version (0.2.3) of netcf recipe. Since meta-virtualization layer depends on meta-oe/meta-networking layer, we can avoid duplication by removing this recipe. Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@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>
* README: add meta-filesystems as a referenced layerBruce Ashfield2014-07-091-0/+1
| | | | | | | libvirt can enable FUSE, which comes from meta-filesystems, so we should add it as a layer in the README. 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>
* linux-yocto*: update missed module_autoload statementsBruce Ashfield2014-07-083-3/+3
| | | | | | | | In the updates to the new KERNEL_MODULE_AUTOLOAD format, openvswitch was missed. Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/3.4/3.10: replace module_autoload with KERNEL_MODULE_AUTOLOADBruce Ashfield2014-07-072-6/+6
| | | | | | | | commit kernel-module-split: Add support for KERNEL_MODULE_AUTOLOAD and KERNEL_MODULE_PROBECONF in oe-core replaces module_autoload with KERNEL_MODULE_AUTOLOAD, so we must update the linux-yocto bbappends. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto_3.14: Replace module_autoload with KERNEL_MODULE_AUTOLOADChristian Ziethén2014-07-071-3/+3
| | | | | Signed-off-by: Christian Ziethén <Christian.Ziethen@enea.com> 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>
* openvswitch: uprev to v2.1.2Bruce Ashfield2014-05-143-69/+57
| | | | | | | Updating to the latest OVS 2.x. Only minor patch refreshes required, and no regressions were found during sanity testing. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* netcf: fix autotools B != S build failureBruce Ashfield2014-05-141-1/+1
| | | | | | | | For now adding netcf to the list of "brokensep" packages. The install phase fails when autotools split directories are used, so we inherit brokensep to get things building again. 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>
* lxc: fixup VPATH buildsMark Asselstine2014-05-082-0/+46
| | | | | | | | | | | Poky commit 69b6eaca3d9b635e8a61a0fdbd814b558e91901d [autotools: Enable separate builddir by default] enforced separate build directories, which is supported by automake. Unfortunately lxc had a few make directives which didn't take into account VPATH builds so fixing them up here to allow the lxc build to complete successfully. 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>
* lxc: Update version to 1.0.1Mihaela Sendrea2014-04-151-2/+2
| | | | | Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add ptest supportMihaela Sendrea2014-04-153-2/+51
| | | | | | | Install lxc 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>
* kernel: update fragments to oe-core 1.6Bruce Ashfield2014-04-021-0/+0
| | | | | | | Now that the 3.14 kernel has been introduced and 3.8 dropped from oe-core, we need to adjust our configuration fragments accordingly. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: bug fixes from upstreamBogdan Purcareata2014-04-014-1/+112
| | | | | | | | | | | | Adding a couple of upstream fixes for lxc: - follow symlinks when determining if Busybox is statically linked - don't fail for lxc.network.type = none - don't fail if no default macvlan mode is specified More details are available in the individual patches. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add ptest supportRadu Patriu2014-04-013-2/+85
| | | | | | | Install openvswitch test suite and run it as ptest. Signed-off-by: Radu Patriu <radu.patriu@enea.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>
* libvirt: Change license to LGPLv2.1+Jonas Eriksson2014-02-281-2/+3
| | | | | | | | | | | | | | | libvirt is to a large extent licensed under LGPLv2.1 (or later) rather than GPLv2. From my investigations, there are only some tests and a couple of files under tools are licensed as GPL. Other than that, files are generally licensed as LGPL. My recommendation is therefore to set the default license to LGPLv2.1+, and to add a LICENSE_${PN}-ptest that is set to LGPLv2.1+ & GPLv2+ if a ptest package is added. This is preferred to avoid having to specify explicit licenses for every other package, such as the auto generated libvirt-locale-XX packages. 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>
* Update Linux Containers to lxc-1.0.0Josep Puigdemont2014-02-289-310/+3
| | | | | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: add missing patchBruce Ashfield2014-02-181-0/+27
| | | | | | As reported by Chris Larson, the recipe went in, but not the patch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add RDEPENDS block for xendomains script.Philip Tricca2014-02-111-0/+7
| | | | | | | | | I can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Remove dependency on python-setuptools-native.Philip Tricca2014-02-111-1/+1
| | | | | | | | | | | | oe-core fixed some overlap between the python-setuptools-native and python-distribute-native recently. This made python-setuptools obsolite. See: http://patchwork.openembedded.org/patch/66085/ The Xen recipe already DEPENDS on python-distribute-native by inheriting setuptools so we only need to remove the dependency on python-setuptools-native. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: always strdup lxc.rootfs.mountJosep Puigdemont2014-02-111-0/+1
| | | | | | | | | | | | The reason is that the generic code which handles reading lxc.rootfs.mount always frees the old value if not NULL. So without this setting lxc.rootfs.mount = /mnt causes segfault. This is a backport for lxc-0.9.0 (dora) of the same fix found in upstream's master, see commits 54c30e29 and 53f3f048. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix python packaging raceBruce Ashfield2014-02-051-6/+4
| | | | | | | | | | | The tasks responsible for compiling and installing the python support were racing against packaging. As a result, a clean build would not have anything in libvirt-python, but subsequent builds would. By moving to _appends, we control the order and always get properly packaged. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox: update bbappend to match oe-core masterBruce Ashfield2014-02-051-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add more target python substitutionsJim Somerville2014-02-052-0/+51
| | | | | | | | | The TARGET_PYTHON variable is used for script substitutions to ensure the scripts will be able to properly execute if the target system has a different path for the python. Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt-python: update install and packagingBruce Ashfield2014-02-051-6/+11
| | | | | | | | | | | | To work with oe-core master, we need to update the libvirt-python FILES_* specification to properly pick up and package the support libraries. We can also follow the lead of distutils and use a common set of install arguments for the configuration and install of our nested libvirt-python support. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix python PACKAGECONFIG dependenciesBruce Ashfield2014-02-051-1/+1
| | | | | | | | | Since python support is separate from the main libvirt build, we no longer need to trigger configuration options when python packageconfig support is added, we simply need to add python to the package depends. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* package libvirt-pythonAmy Fong2014-02-053-4/+128
| | | | | | | In 1.2.0, libvirt separated the python components into a separate package. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc/autoconf:: allow subdir objectsBruce Ashfield2014-01-312-0/+36
| | | | | | | | | | | | | autoconf-1.14 will fail to configure lxc with the following warning (and hence error): | automake: warnings are treated as errors | src/lxc/Makefile.am:79: warning: source file '../include/openpty.c' is in a subdirectory, | src/lxc/Makefile.am:79: but option 'subdir-objects' is disabled So we tell autoconf that subdir objects are fine .. and the issue is solved. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: refresh patches for 1.2.1Bruce Ashfield2014-01-291-31/+16
| | | | | | | The 1.2.1 libvirt update was pushed before the patches were refreshed, which results in a patching failure. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add libgcc as runtime dependency of xen-xl package.Philip Tricca2014-01-271-0/+2
| | | | | | | | | | | Much of xl operates fine without libgcc but some operations complain that pthread_cancel won't work properly without libgcc_s.so.1 installed. The exact text is: libgcc_s.so.1 must be installed for pthread_cancel to work Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update to 1.2.1Bruce Ashfield2014-01-271-2/+2
| | | | | | | | | Picking up the latest bugfixes and CVEs via the 1.2.x release of libvirt. No external interfaces or functional changes are part of this update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Add RDEPENDS for xencommons.Philip Tricca2014-01-201-0/+7
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Cleanup watchdog FILES declaration.Philip Tricca2014-01-201-2/+1
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xen: Move supporting files into xencommons and xendomains packages.Philip Tricca2014-01-201-5/+12
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iptables: 1.4.19.1 -> 1.4.21Christopher Larson2014-01-141-0/+0
| | | | | Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>