libvirt: correct libcap-ng options
PATCH 1/3 libvirt: correct libcap-ng options
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]
--- recipes-extended/libvirt/libvirt_1.2.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.2.12.bb +1 -1
@@ -188,7 +188,7 @@ PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iprou PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl," PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse," PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit," -PACKAGECONFIG[libcap-ng] = "--with-capnp,--without-capng,libcap-ng," +PACKAGECONFIG[libcap-ng] = "--with-capng,--without-capng,libcap-ng," # Enable the Python tool support require libvirt-python.inc
Signature · 1 line
2.1.4
PATCH 2/3 lxc: include systemd files into lxc-setup
lxc-setup package accumulates all initscripts, so it should also include systemd service files.
--- recipes-containers/lxc/lxc_1.0.7.bb | 1 + 1 file changed, 1 insertion(+)
recipes-containers/lxc/lxc_1.0.7.bb +1 -0
@@ -72,6 +72,7 @@ RDEPENDS_${PN}-templates += "bash" FILES_${PN}-setup += "/etc/tmpfiles.d" FILES_${PN}-setup += "/lib/systemd/system" +FILES_${PN}-setup += "/usr/lib/systemd/system" FILES_${PN}-setup += "/etc/init.d" PRIVATE_LIBS_${PN}-ptest = "liblxc.so.1"
Signature · 1 line
2.1.4
Re: [PATCH 2/3] lxc: include systemd files into lxc-setup
systemd and lxc are broken in quite a few ways at the moment. I've just finished fixing things up, so I tossed this on the queue and will push all the changes shortly.
Bruce
Quoted 28 lines · Dmitry Eremin-Solenikov
lxc-setup package accumulates all initscripts, so it should also include systemd service files.
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>--- recipes-containers/lxc/lxc_1.0.7.bb | 1 + 1 file changed, 1 insertion(+)recipes-containers/lxc/lxc_1.0.7.bb +1
-1@@ -72,6 +72,7 @@ RDEPENDS_${PN}-templates += "bash" FILES_${PN}-setup += "/etc/tmpfiles.d" FILES_${PN}-setup += "/lib/systemd/system" +FILES_${PN}-setup += "/usr/lib/systemd/system" FILES_${PN}-setup += "/etc/init.d" PRIVATE_LIBS_${PN}-ptest = "liblxc.so.1" --2.1.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
PATCH 3/3 lxc: fix building when B != S
In reply to Dmitry Eremin-SolenikovIf lxc is built not in the source dir, upstart files will fail to be installed, because of Makefile error.
--- recipes-containers/lxc/files/lxc-fix-B-S.patch | 17 +++++++++++++++++ recipes-containers/lxc/lxc_1.0.7.bb | 1 + 2 files changed, 18 insertions(+) create mode 100644 recipes-containers/lxc/files/lxc-fix-B-S.patch
recipes-containers/lxc/files/lxc-fix-B-S.patch new file +17 -0
@@ -0,0 +1,17 @@ +Index: lxc-1.0.7/config/init/upstart/Makefile.am +=================================================================== +--- lxc-1.0.7.orig/config/init/upstart/Makefile.am ++++ lxc-1.0.7/config/init/upstart/Makefile.am +@@ -3,9 +3,9 @@ EXTRA_DIST = lxc.conf lxc-instance.conf + if INIT_SCRIPT_UPSTART + install-upstart: lxc.conf lxc-instance.conf lxc-net.conf + $(MKDIR_P) $(DESTDIR)$(sysconfdir)/init/ +- $(INSTALL_DATA) lxc.conf $(DESTDIR)$(sysconfdir)/init/ +- $(INSTALL_DATA) lxc-instance.conf $(DESTDIR)$(sysconfdir)/init/ +- $(INSTALL_DATA) lxc-net.conf $(DESTDIR)$(sysconfdir)/init/ ++ $(INSTALL_DATA) $(srcdir)/lxc.conf $(DESTDIR)$(sysconfdir)/init/ ++ $(INSTALL_DATA) $(srcdir)/lxc-instance.conf $(DESTDIR)$(sysconfdir)/init/ ++ $(INSTALL_DATA) $(srcdir)/lxc-net.conf $(DESTDIR)$(sysconfdir)/init/ + + uninstall-upstart: + rm -f $(DESTDIR)$(sysconfdir)/init/lxc.conf
recipes-containers/lxc/lxc_1.0.7.bb +1 -0
@@ -30,6 +30,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \ file://document-lxc.rebootsignal.patch \ file://lxc-busybox-use-lxc.rebootsignal-SIGTERM.patch \ file://ppc-add-seccomp-support-for-lxc.patch \ + file://lxc-fix-B-S.patch \ " SRC_URI[md5sum] = "b48f468a9bef0e4e140dd723f0a65ad0"
Signature · 1 line
2.1.4