summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libvirt: fix overly aggresive packagingBruce Ashfield2013-08-161-1/+1
| | | | | | | During the 1.1.1 uprev, a debug change of overly aggressive packaging was left in place. The restores the previous packaging divisions. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: move python PACKAGECONFIG into main recipeBruce Ashfield2013-08-152-5/+4
| | | | | | | | | | | | | The libvirt-python.inc manipulation of PACKAGECONFIG meant that the default configuration options of the libvirt recipe never fired, since the variable had an assignment and the lazy set of the configuration values never applied to the build. Moving the python PACKAGE_CONFIG options into the main recipe, and ensuring that PACKAGE_CONFIG_${PN} is used for libvirt-python means that most builds will now use the default configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update to 1.1.1Bruce Ashfield2013-08-152-0/+307
| | | | | | | | | | | | | Updating to the 1.1.1 libvirt release. Changes from the 1.0.3 recipe include a fix/workaround for the: ../src/.libs/libvirt.so: undefined reference to `virNetTLSInit' That is seen on some machines. The current fix is to explicilty link against the library which provides the definition. A smarter fix via libtool may be possible, but was elusive at the time of writing this patch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ovs: add /run to main packageBruce Ashfield2013-08-151-0/+1
| | | | | | | | In a systemd based build, /var/run is translated to /run. Since ovs doesn't currently package this directory, it results in a QA error. Adding it to the main ovs package fixes the QA issue and provides the proper runtime support. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix python script's improper pathsMark Asselstine2013-08-122-0/+57
| | | | | | | | | | | libvirt generates several python scripts using its python/generator.py script. This uses the PYTHON variable, which in our case will be a full path to the sysroot that will not exist on the target. For this we are patching libvirt to allow for (but not require) TARGET_PYTHON to be defined and used when generating these python scripts. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iasl: Add Intel ACPI license informationMark Asselstine2013-08-103-1/+108
| | | | | | | | | | | | | The iasl package is licensed under the Intel ACPI license. This is a variation of the MIT license but with enough modification that we don't want to mark it as MIT. Previously building this package would warn about the missing license. With this change we are providing a clear text copy of the license and calling this license out in the iasl recipe to make the warning go away and to ensure we are clearly defining this package's license information. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Ensure pki directory creationMihai Prica2013-07-301-1/+5
| | | | | | | RPM doesn't guarantee the order in which postinstalls are ran. Added code to ensure the pki directory is initialized. Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* openvswitch: Add coreutils runtime dependencyMihai Prica2013-07-301-2/+2
| | | | | | The install and nice programs from coreutils are required by openvswitch. Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* lxc: create lxc cache directoryMark Asselstine2013-07-131-1/+17
| | | | | | | | | | Many LXC templates expect the cache directory to exist and use it without necessarily checking if it exists. Normally the Makefile would create this directory but since /var/cache is volatile we must use the volatile system to create this directory at boot, or when the package is installed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: Added 3.8 kernel bbappendMihai Prica2013-07-081-0/+13
| | | | Signed-off-by: Mihai Prica <mihai.prica@intel.com>
* busybox: remove SRC_URI reference to awk -F patchBruce Ashfield2013-07-081-1/+0
| | | | | | | The commit "busybox: remove awk -F patch" missed the SRC_URI update for the dropped patch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox: remove awk -F patchBruce Ashfield2013-07-061-90/+0
| | | | | | | The awk patch being carried by meta-virtualization is part of the 1.21.1 busybox release. So we can drop it from the bbappend. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iptables: Follow OE-Core update to 1.4.19.1 versionTing Liu2013-07-051-0/+0
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox: Follow OE-Core update to 1.12.1 versionTing Liu2013-07-053-0/+0
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: make ebtables a PACKAGECONFIGMark Asselstine2013-06-281-3/+7
| | | | | | | | | | | This is a bit ugly since ebtables isn't controlled via --with/--without-PACKAGE but we can achieve the same result using the cached path variable. Since there are no static hooks into ebtables it doesn't get picked up via the automatic RDEPENDS so we also ensure that we add the RDEPENDS explicitly here. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: use 4 fields for PACKAGECONFIG[]Joe Slater2013-06-281-18/+20
| | | | | | | | | | | | | As per the PACKAGECONFIG documentation "You can omit any argument you like but must retain the separating commas". If we do not retain the separating commas, we might get parsing errors, or, worse, we will think we depend on many items that we do not enable. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix libvirtd crash if path part of URI is missingThomas Tai2013-06-282-2/+42
| | | | | | | | | | | | | | | | | | | | If the user forgets to include the path portion of the URI, instead of receiving an error message, libvirtd crashes. So for example attempting to make this call will cause libvirtd to fall over. virsh -c qemu+ssh://root@my.host.com list (forgetting the trailing /system after the host name) The reason for the crash is that libvirtd is trying to output an error message with a uninitialized variable. This problem is already fixed in the upstream so applying this fix to our tree allows this issue to be avoided. Signed-off-by: Thomas Tai <thomas.tai@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: switch to use volatile system for directory creation in /var/runMark Asselstine2013-06-281-0/+21
| | | | | | | | | | | | | | libvirt relies on its Makefile's install rules to create several directories in /var/run/libvirt. The use of ALLOW_EMPTY_ allows these to be included in the RPM, however, they are cleared out at boot by the volatile system. This causes issues since the libvirt runtime does not check for the existence of these directories prior to attempting to create files in them, resulting in errors. Here we add to the volatiles allowing the required directories to be created at boot or when the volatiles are updated. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add split between host and target python and perl pathsMark Asselstine2013-06-273-0/+216
| | | | | | | | | | | | | | | | Openvswitch is built with the assumption that the PYTHON and PERL variables are common between the host and target. This can result in improper paths used for script substitutions which in turn causes scripts which will fail to run on the target and the generated packages to have improper REQUIRES, making them impossible to install. These are usually not an issue since python and perl are found in the same location on the host and target, but there is no guarantee of this so the possibility of failure exists. By explicitly defining the location of the python and perl on the target we can avoid these assumptions and possibility of failure. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* irqbalance: disable numa by defaultJoe Slater2013-06-271-0/+8
| | | | | | | | | Create a PACKAGECONFIG[] for numa. This will disable it by default. The current behavior is auto-detect and will vary depending on when numactl is built. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Uprev irqbalance to 1.0.5Amy Fong2013-06-273-30/+53
| | | | | | | | | | | | | | | | Uprev irqbalance to the latest version. * consolidate logging * Implement user policy script callout (http://code.google.com/p/irqbalance/issues/detail?id=35) * Replace fscanf(%as) by getline * manpage: Improve the readability of the --banirq text * glib-local: ad call for g_list_remove Also splitting files into inc and bb files. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: remove 1.9 recipeBruce Ashfield2013-06-201-99/+0
| | | | | | | The OVS 1.10 integration has soaked for long enough to be stable, so we can remove the old 1.9 recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: use libexecdir instead of hard code pathTing Liu2013-06-181-2/+2
| | | | | Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Checksum missmatch fixAnders Roxell2013-06-111-2/+2
| | | | | Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to 1.10 and documentation update.Paul Barrette2013-06-034-36/+200
| | | | | | | | | -Uprev to 1.10 -removed vswitch_test.sh -added openvswitch.txt. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: move libvirt-guests.sh to /etc/init.dJoe Slater2013-05-301-1/+5
| | | | | | | | | | The script does not seem to meet the definition of what should go into /usr/libexec and is a superset of a normal "service" script, so we move it to /etc/init.d. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dev86: add "COMPATIBLE_HOST" in the recipeLei Yang2013-05-301-1/+1
| | | | | | | dev86 is only used for x86/x86-64 Signed-off-by: Lei Yang <lei.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Enable selinux if selinux is availableLei Yang2013-05-301-2/+2
| | | | | | | Enable selinux when "DISTRO_FEATURES" contains selinux Signed-off-by: Lei Yang <lei.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: add patch to fix thread safety in lxc callbackBogdan Purcareata2013-05-242-0/+64
| | | | | | | | | | Patch has been submitted upstream (22 mar 2013) after the release of Libvirt 1.0.3 (5 mar 2013). Updated to work against libvirt 1.0.3. Please see http://www.redhat.com/archives/libvir-list/2013-March/msg01353.html for original patch. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.net> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>