summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* netcf: fix network driver check issue on opensuseTing Liu2013-05-242-2/+32
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: use four fields for PACAKGECONFIG[] infoJoe Slater2013-05-241-2/+2
| | | | | | | | To be safe, we specifiy all four possible fields even if some trailing ones are null. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: specify distroJoe Slater2013-05-241-1/+5
| | | | | | | | Do not query the host to find out our distro. We specify the bitbake variable ${DISTRO} in order to get the desired runtime default config file. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add RDEPENDS on gettext-runtimeJoe Slater2013-05-211-1/+5
| | | | | | | | The libvirt-guests script needs gettext.sh which is in the gettext-runtime package. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox awk: make -F STR interpret escape sequencesBogdan Purcareata2013-05-172-1/+93
| | | | | | | | | | Patch implements functionality mentioned in the title and has been applied to busybox 1.21.0. This patch is included into the meta-virtualization layer since it provides awk functionality to the lxc-clone command in the lxc containers package. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc-clone: don't let LXC_PATH end in failureBogdan Purcareata2013-05-172-0/+30
| | | | | | | | | This patch has been included in the upstream repo as the first patch after LXC 0.9.0 release. Including it in meta-virtualization for proper functioning of the lxc-clone command. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iptables: update bbappend to match oe-coreTing Liu2013-05-151-0/+0
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dmidecode: removePaul Eggleton2013-05-151-26/+0
| | | | | | | A newer version is now in OE-Core. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix warning of sysctl.d/libvirtd.confOlivia Yin2013-05-151-1/+2
| | | | | | | | | | | | | | | | | | | WARNING: QA Issue: libvirt: Files/directories were installed but not shipped /usr/lib /usr/lib/sysctl.d /usr/lib/sysctl.d/libvirtd.conf $(DESTDIR)$(prefix)/lib is hardcoded in libvirt Makefile due to following reason that is stated in the daemon/Makefile.in of libvirt. # Use $(prefix)/lib rather than $(libdir), since man sysctl.d insists on # /usr/lib/sysctl.d/ even when libdir is /usr/lib64 @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@install-sysctl: @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@ $(MKDIR_P) $(DESTDIR)$(prefix)/lib/sysctl.d @WI TH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@ $(INSTALL_DATA) $(srcdir)/libvirtd.sysctl \ @WITH_LIBVIRTD_TRUE@@WITH_SYSCTL_TRUE@ $(DESTDIR)$(prefix)/lib/sysctl.d/libvirtd.conf Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc-busybox: check when bind-mounting host libdirsBogdan Purcareata2013-05-152-0/+45
| | | | | | | | | | | | The patch checks bind mounting lib directories when starting a busybox container on a 64bit platform. Some entries in the host filesystem are not present but the busybox template expects them to be there, and thus container start fails. Please see further details in added patch description. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* fix libvirt-python build problemYao Zhao2013-05-033-81/+13
| | | | | | | | | | | | | | | | | | | | | | | | The current libvirt's config.log: configure:65065: checking for python configure:65083: found /usr/bin/python configure:65095: result: /usr/bin/python configure:65116: checking for python version configure:65123: result: 2.7 configure:65137: checking for python platform configure:65144: result: linux2 configure:65170: checking for python script directory configure:65206: result: ${prefix}/lib/python2.7/dist-packages configure:65215: checking for python extension module directory configure:65251: result: ${exec_prefix}/lib/python2.7/dist-packages so it will use host python which may quite different with target python. remove python_incdir.patch and inherit pythonnative. use PACKAGECONFIG instead of EXTRA_OECONF. enable python in full PACKAGECONFIG. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: functionality sanity testJoe Slater2013-04-281-0/+36
| | | | | | | | | Instructions for creating a simple bridge that will take over eth0. You cannot be executing out of an nfs-mounted filesystem while setting up the bridge. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: update to version 1.9.0dylanJoe Slater2013-04-281-3/+3
| | | | | | | | | Update recipe to version 1.9.0. Refer to docs/vswitch_test.sh for a sanity test. This package will not be functional unless the openvswitch kernel module is configured into the kernel. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Changed python bindings install locationMihai Prica2013-04-182-8/+11
| | | | | | | | | The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not available to python. Changed this to site-packages. Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iasl: Fixed broken URLMihai Prica2013-04-181-1/+1
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: use pkgconfig to control udevBruce Ashfield2013-04-181-2/+3
| | | | | | | | | | | | | | To ensure that libvirt doesn't rely on detection of udev in the environment or sysroot we can add a PACKAGECONFIG option to control both the enablement of udev support, and ensure that libpciaccess is added as a dependency, otherwise configure detects issues such as this: | checking for UDEV... yes | configure: error: You must install the pciaccess module to build with udev | Configure failed. The contents of all config.log files follows to aid debugging Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* containers - lxc-template: enable chroot + chpasswd functionality for ↵Bogdan Purcareata2013-04-122-0/+71
| | | | | | | | | | | | | | Busybox hosts This patch enables installation of Buysbox containers on Busybox hosts. Please see patch message for detailed information. The patch has been submitted and accepted upstream by LXC maintainers. The functionality hasn't made it to LXC 0.9.0, but will (most probably) be included upstream in future releases of LXC. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: remove noldconfig.patch, since it is no longer usedBogdan Purcareata2013-04-121-29/+0
| | | | | | | Patch is no longer needed since the removal of LXC 0.8.0 recipe. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: remove 0.8.0 recipeBruce Ashfield2013-04-111-39/+0
| | | | | | | LXC 0.9.0 has been added, we no longer need the 0.8.0 recipe, since all functionality has been migrated Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Update LXC recipe to include config examples in main packageBogdan Purcareata2013-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | The patch configures the LXC recipe to include configuration examples or containers in the default package - lxc, not in the documentation one - lxc-doc. By default, bitbake will split a specific package into multiple sections, based on meaning - binaries, libraries, documentation, configs, etc. The sections will then be assembled into individual packages, such as e.g lxc, lxc-doc, lxc-dbg and so on. The packages are mutually exclusive with respect to the sections they contain. LXC installation provides several example configuration files for various usage scenarios. The twist is that LXC build scripts place these config examples in a relative path that is identified by bitbake as belonging to documentation. This patch places these configuration files in the main package, where they normally belong. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add disable udhcp patch to LXC recipeBogdan Purcareata2013-04-112-0/+25
| | | | | | | | | | | | | | | | | | | The provided patch makes a modification to the LXC busybox template (the template that creates a minimal container with Busybox). This type of container will start the udhcpc service - the DHCP client - on init. For an embedded Linux image, we might assume that the majority of containers will have manual / static networking configuration on start. Considering this, starting the udhcpc service by default is useless, since the service will then has to be killed. The containers that use DHCP for networking can start udhcpc after container boot, or alter the busybox template locally to do so by default. The patch deactivates the default start of the DHCP client on a Busybox container init. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lxc: Add LXC 0.9.0 recipeBogdan Purcareata2013-04-111-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introducing the LXC 0.9.0 recipe. Maintainer log for intermediate versions since LXC 0.8.0. This only contains the major differences between versions. You may find the complete log on the SourceForge LXC devel mailing list [1]. 0.9.0.alpha1: - Introduction of the new liblxc API - Python bindings - New tools: - lxc-device - lxc-start-ephemeral - python version of lxc-ls - lxc.autodev support - oracle template - reworked lxc-attach - /etc/lxc/lxc.conf configuration - Switch to new docbook - A lot of other improvements, new features and bugfixes 0.9.0.alpha2: bug fix for issue with 0.9.0.alpha1 - no significant changes 0.9.0.alpha3: - Android support - New lua binding - User namespace support - Oracle template - Manpage updates - POSIX shell support for most scripts - Improved systemd support - Various API improvements - Logging improvements 0.9.0.rc1: - Addition of -P option to all executables (to specify lxcpath) - Rework of the cgroup handling code - Rework of lxc-attach for userns - Updates to the alpine, archlinux, opensuse, oracle and ubuntu templates. Removal of the lenny template. - Introduction of a new lxc.stopsignal option - Introduction of a new lxc.kmsg option - Various userns improvements - New --host option in lxc-ps - Introduction of a few examples lxc hooks - Support for nested containers in lxc-ls - Introduction of get_version in the C API. - And a variety of bugfixes 0.9.0: Feature changes include: - Support for ephemeral containers in lxc-clone - --clear-env/--keep-env support in lxc-attach - -n option to lxc-start-ephemeral Everything else is bugfixes on top of rc1. Tests done by maintainers: - Test build on my machine (up to date Ubuntu 13.04) - Test build on Launchpad (Ubuntu 12.04, 12.10 and 13.04) - Test build on an armhf board running Ubuntu 13.04 - Test build for Android cross-compiling on my laptop - Ran our test suite on the x86 binaries - Ran a quick test (start/stop/info/wait) on Android - Tested the API and tools on ARM - Rebuilt all my local templates (~20 containers) on a variety of architectures (i386, amd64, armel and armhf) [1] https://lists.sourceforge.net/lists/listinfo/lxc-develIntroducing the LXC 0.9.0 recipe. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: package .debug and .a files in lock-driverTing Liu2013-04-061-3/+3
| | | | | | | | | | | | Fix ERROR: QA Issue: non -staticdev package contains static .a library: libvirt path '.../packages-split/libvirt/usr/lib/libvirt/lock-driver/lockd.a' ERROR: QA Issue: non debug package contains .debug directory: libvirt path .../packages-split/libvirt/usr/lib/libvirt/lock-driver/.debug/lockd.so ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add dtrace pkgconfig optionBruce Ashfield2013-04-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the host machine has dtrace, or systemtap development libraries installed, libvirt will detect their headers and enable dtrace probe support. But since we don't have a dependency on dtrace, the build will fail with: | compilation terminated. | In file included from ./internal.h:297:0, | from util/bitmap.h:27, | from util/bitmap.c:33: | ./libvirt_probes.h:9:21: fatal error: sys/sdt.h: No such file or directory There are three problems: - a host contamination issue - dtrace/probes being automatically enabled - a lack of integrated systemtap/dtrace solution Fixing any of the above will make the problem go away, to fix currently broken builds, we can fix the problem by adding dtrace as a PACKAGECONFIG option, and leaving it disabled. This change doesn't add a dtrace/systemtap dependency to the config entry, since they haven't been confirmed at this point. In the future, we should either fix the host contamination or do a full systemtap/dtrae integration, but for now, simply disabling it is the best choice. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: upgrade to 1.0.3Olivia Yin2013-03-181-2/+2
| | | | | Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docs: create initial documentation subdirectory structureBruce Ashfield2013-03-182-0/+16
| | | | | | | | | As the number of meta-virtualization users grows, the need to document various parts of the layer grows as well. Rather than rely only on wiki and online docs, we'll create a layer-local holding tank for relevant bits of documentation. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-virtualization: add irqbalanceBruce Ashfield2013-03-182-0/+86
| | | | | | | | | | | | Depending on the requirements of a system, interrupt balancing may be desireable. This commit adds irqbalance to provide a daemon to balance interrupts across multiple CPUs, which can lead to better performance and IO balance on SMP systems. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswtich: start openvswitch at the boot timeLei Yang2013-02-012-2/+2
| | | | | | | | | | | | | | | | | | | | When I define the bridge, I get below error root@intel_5500_server:~# ovs-vsctl add-br ovsbr0 Jan 25 17:34:07|00002|stream_unix|ERR|/tmp/stream-unix.1487.0: connection to /var/run/openvswitch/db.sock failed: No such file or directory ........ ........ This is because openvswitch damon isn't running,so we'd better start it at the boot time. The split-package ${PN}-switch ${PN}-controller provide us to start necessary daemon with update-rc.d so we add them to the RDEPENDS. Since openvswitch depends on openvswtich kernel module, so auto load the kernel module too. Signed-off-by: Lei Yang <lei.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Created new target: kvm-image-minimalMihai Prica2013-01-291-0/+25
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: David Nyström <david.nystrom@enea.com>
* linux-yocto: added kernel configuration for KVMMihai Prica2013-01-291-0/+5
| | | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iptables: Sync bbappend version with oe-coreMihai Prica2013-01-291-0/+0
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* multipath-tools: add multipath-tools recipeLei Yang2013-01-231-0/+46
| | | | | | | | | | | | | This package provides: - multipath: scans the system for multipathed devices, assembles - multipathd: waits for maps events then execs multipath - kpartx: maps linear devmaps to device partitions, which makes multipath maps partionable ...... Now,It can be used for kvm disk img partion mounting for me. Signed-off-by: Lei Yang <lei.yang@windriver.com>
* Fixed build breakage in iasl-nativeDavid Nyström2013-01-221-2/+2
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* Moved bbappend to match updated master branch in oe-coreDavid Nyström2013-01-181-0/+0
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* Removed ebtables, since it now recides in meta-networkingDavid Nyström2013-01-186-386/+0
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* Removed openbsd-netcat since it now recides in meta-networkingDavid Nyström2013-01-181-29/+0
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* Changed libvirt dependency to netcat-openbsd to match meta-networkingDavid Nyström2013-01-181-1/+1
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* Added meta-networking dependencyDavid Nyström2013-01-181-0/+2
| | | | Signed-off-by: David Nyström <david.nystrom@enea.com>
* ebtables: Fixed typo in RRECOMMENDSMihai Prica2013-01-161-1/+1
| | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* README: cosmetic: reference meta-virtualization vs meta-xenBruce Ashfield2012-12-201-2/+2
| | | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: David Nyström <david.nystrom@enea.com>
* Added LxC recipe from meta-fsl-ppc, curtesy of Matthew McClintock, Stuart YoderDavid Nyström2012-12-072-0/+68
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Removed old version of libvirtDavid Nyström2012-12-071-118/+0
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Updated libvirt to 1.0.0, added more details to packageconfigDavid Nyström2012-12-071-0/+141
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added kernel configuration for LxC and in kernel OpenvSwitchDavid Nyström2012-12-075-1/+36
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added some details in README, and made the description commonDavid Nyström2012-12-071-6/+5
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added template cloud-* imagesDavid Nyström2012-12-073-0/+66
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Changed David Nyströms email in READMEDavid Nyström2012-12-071-1/+1
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added .gitignore fileDavid Nyström2012-12-071-0/+6
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added openvswitch recipeDavid Nyström2012-12-076-0/+614
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Added openflow recipeDavid Nyström2012-12-071-0/+24
| | | | | Signed-off-by: David Nyström <david.nystrom@enea.com> Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>