| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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_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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
- use EXTRA_OEMAKE for passing along make flags
- drop PARALLEL_MAKE="" override which is not required.
Signed-off-by: Chris Patterson <cjp256@gmail.com>
|
|
|
|
| |
Signed-off-by: Chris Patterson <cjp256@gmail.com>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* Install QEMU from the distro as opposed to a specific xen-qemu setup
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* Conditionally add packages to the image depending on whether the
machine supports the respective feature
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Olivia Yin <r63875@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|