| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Olivia Yin <hong-hua.yin@freescale.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
| |
Signed-off-by: David Nyström <david.nystrom@enea.com>
|
|
|
|
|
| |
Signed-off-by: David Nyström <david.nystrom@enea.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
| |
Signed-off-by: David Nyström <david.nystrom@enea.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
Virsh uses dnsmasq for its default bridged network. The dnsmasq daemon is
configured to starts on all public interfaces. Modified the config file
of the libvirtd daemon to stop the existing dnsmasq daemon to enable virsh
to work properly.
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
|
|
|
|
|
|
|
|
| |
* the package can now be customized using PACKAGECONFIG
* fixed to use target include files for python
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
|
|
|
|
|
| |
Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
|
|
|
|
| |
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
|
|
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
|