From: Saul Wold <sgw@linux.intel.com>
To: david.c.nystrom@gmail.com
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCHv4 13/15] Updated libvirt to 1.0.0, added more details to packageconfig
Date: Thu, 06 Dec 2012 09:14:31 -0800 [thread overview]
Message-ID: <50C0D277.2040308@linux.intel.com> (raw)
In-Reply-To: <1354813596-8233-14-git-send-email-david.nystrom@enea.com>
On 12/06/2012 09:06 AM, david.c.nystrom@gmail.com wrote:
> From: David Nyström <david.nystrom@enea.com>
>
> ---
> .../{libvirt_0.10.2.bb => libvirt_1.0.0.bb} | 69 +++++++++++++-------
> 1 file changed, 46 insertions(+), 23 deletions(-)
> copy recipes-extended/libvirt/{libvirt_0.10.2.bb => libvirt_1.0.0.bb} (61%)
>
You could do a git mv here instead of a copy and remove patch, but
that's your choice, this way is fine.
Sau!
> diff --git a/recipes-extended/libvirt/libvirt_0.10.2.bb b/recipes-extended/libvirt/libvirt_1.0.0.bb
> similarity index 61%
> copy from recipes-extended/libvirt/libvirt_0.10.2.bb
> copy to recipes-extended/libvirt/libvirt_1.0.0.bb
> index 23cd885..5374237 100644
> --- a/recipes-extended/libvirt/libvirt_0.10.2.bb
> +++ b/recipes-extended/libvirt/libvirt_1.0.0.bb
> @@ -5,9 +5,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
> SECTION = "console/tools"
> PR = "r0"
>
> -DEPENDS="bridge-utils gnutls libxml2 lvm2 avahi polkit parted curl libpcap util-linux e2fsprogs pm-utils iptables ebtables dnsmasq"
> +DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
> + iptables ebtables dnsmasq readline"
>
> -RDEPENDS_${PN}-libvirtd = "bridge-utils iptables pm-utils dnsmasq ebtables dmidecode "
> +# These might be included by PACKAGECONFIG
> +#RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf"
> +
> +RDEPENDS_libvirt-libvirtd += "bridge-utils iptables pm-utils dnsmasq openbsd-netcat"
> +RDEPENDS_libvirt-libvirtd_append_x86-64 = " dmidecode"
> +RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode"
>
> #connman blocks the 53 port and libvirtd can't start its DNS service
> RCONFLICTS_${PN}_libvirtd = "connman"
> @@ -16,25 +22,11 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz \
> file://libvirtd.sh \
> file://libvirtd.conf"
>
> -SRC_URI[md5sum] = "a5e50860d9da238ba270b528411c4a0d"
> -SRC_URI[sha256sum] = "1fe69ae1268a097cc0cf83563883b51780d528c6493efe3e7d94c4160cc46977"
> +SRC_URI[md5sum] = "7c8b006de7338e30866bb56738803b21"
> +SRC_URI[sha256sum] = "14c8a30ebfb939c82cab5f759a95d09646b43b4210e45490e92459ae65123076"
>
> inherit autotools gettext update-rc.d
>
> -# Trimmed down version for Xen daemon server
> -EXTRA_OECONF = "--with-libvirtd --with-test=yes --with-remote=yes --with-macvtap=no --with-polkit=no"
> -
> -PACKAGECONFIG ??= "xen"
> -PACKAGECONFIG[qemu] = "--with-qemu --with-yajl,--without-qemu --without-yajl,qemu yajl"
> -PACKAGECONFIG[xen] = "--with-xen --with-xenapi --with-libxl=${STAGING_DIR_TARGET}/lib --with-xen-inotify,--without-xen --without-xenapi --without-libxl --without-xen-inotify,xen"
> -PACKAGECONFIG[uml] = "--with-uml, --without-uml"
> -PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz"
> -PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware"
> -PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp"
> -PACKAGECONFIG[vbox] = "--with-vbox,--without-vbox"
> -PACKAGECONFIG[esx] = "--with-esx,--without-esx"
> -PACKAGECONFIG[hyperv] = "--with-hyperv,--without-hyperv"
> -
> CACHED_CONFIGUREVARS += "\
> ac_cv_path_XMLLINT=/usr/bin/xmllint \
> ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \
> @@ -89,6 +81,8 @@ ALLOW_EMPTY_${PN} = "1"
>
> PACKAGES =+ "${PN}-libvirtd ${PN}-virsh"
>
> +ALLOW_EMPTY_${PN}-libvirtd = "1"
> +
> FILES_${PN}-libvirtd = "${sysconfdir}/init.d \
> ${sysconfdir}/sysctl.d \
> ${sysconfdir}/logrotate.d \
> @@ -96,16 +90,45 @@ FILES_${PN}-libvirtd = "${sysconfdir}/init.d \
> ${sbindir}/libvirtd"
>
> FILES_${PN}-virsh = "${bindir}/virsh"
> -FILES_${PN} += "${datadir}/augeas/*"
> -FILES_${PN}-dbg += "${libdir}/${PN}/connection-driver/.debug/*"
> -FILES_${PN}-staticdev += "${libdir}/*.a ${libdir}/${PN}/connection-driver/*.a"
> +FILES_${PN} += "${libdir}/libvirt/connection-driver \
> + ${datadir}/augeas \
> + ${datadir}/polkit-1"
> +
> +FILES_${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug"
> +FILES_${PN}-staticdev += "${libdir}/*.a ${libdir}/libvirt/connection-driver/*.a"
>
> INITSCRIPT_PACKAGES = "${PN}-libvirtd"
> INITSCRIPT_NAME_${PN}-libvirtd = "libvirtd"
> INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72"
>
> -# Disable the Python tool support
> -#EXTRA_OECONF += " --with-python=no"
> +# xen-minimal config
> +#PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd"
> +
> +# full config
> +PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \
> + polkit lxc test remote macvtap libvirtd netcf"
> +
> +PACKAGECONFIG[qemu] = "--with-qemu,--without-qemu,qemu"
> +PACKAGECONFIG[yajl] = "--with-yajl,--without-yajl,yajl,yajl"
> +PACKAGECONFIG[xen] = "--with-xen,--without-xen,xen"
> +PACKAGECONFIG[xenapi] = "--with-xenapi,--without-xenapi"
> +PACKAGECONFIG[libxl] = "--with-libxl=${STAGING_DIR_TARGET}/lib,--without-libxl,xen"
> +PACKAGECONFIG[xen-inotify] = "--with-xen-inotify,--without-xen-inotify,xen"
> +PACKAGECONFIG[uml] = "--with-uml, --without-uml"
> +PACKAGECONFIG[openvz] = "--with-openvz,--without-openvz"
> +PACKAGECONFIG[vmware] = "--with-vmware,--without-vmware"
> +PACKAGECONFIG[phyp] = "--with-phyp,--without-phyp"
> +PACKAGECONFIG[vbox] = "--with-vbox,--without-vbox"
> +PACKAGECONFIG[esx] = "--with-esx,--without-esx"
> +PACKAGECONFIG[hyperv] = "--with-hyperv,--without-hyperv"
> +PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit,polkit"
> +PACKAGECONFIG[lxc] = "--with-lxc,--without-lxc, lxc"
> +PACKAGECONFIG[test] = "--with-test=yes,--with-test=no"
> +PACKAGECONFIG[remote] = "--with-remote,--without-remote"
> +PACKAGECONFIG[macvtap] = "--with-macvtap=yes,--with-macvtap=no,libnl,libnl"
> +PACKAGECONFIG[libvirtd] = "--with-libvirtd,--without-libvirtd"
> +PACKAGECONFIG[netcf] = "--with-netcf,--without-netcf,netcf,netcf"
> +
> # Enable the Python tool support
> require libvirt-python.inc
>
>
next prev parent reply other threads:[~2012-12-06 17:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 17:06 [PATCHv4 00/15] meta-cloud merge, updated with review comments david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 01/15] Added protobuf-c criu dependency david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 02/15] Added protobuf " david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 03/15] Added CRIU recipe david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 04/15] Added netcf recipe, libvirt dependency david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 05/15] Added openbsd-netcat " david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 06/15] Added openflow recipe david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 07/15] Added openvswitch recipe david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 08/15] Added .gitignore file david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 09/15] Changed David Nyströms email in README david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 10/15] Added template cloud-* images david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 11/15] Added some details in README, and made the description common david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 12/15] Added kernel configuration for LxC and in kernel OpenvSwitch david.c.nystrom
2012-12-06 20:47 ` Bruce Ashfield
2012-12-06 17:06 ` [PATCHv4 13/15] Updated libvirt to 1.0.0, added more details to packageconfig david.c.nystrom
2012-12-06 17:14 ` Saul Wold [this message]
2012-12-06 17:06 ` [PATCHv4 14/15] Removed old version of libvirt david.c.nystrom
2012-12-06 17:06 ` [PATCHv4 15/15] Added LxC recipe from meta-fsl-ppc, curtesy of Matthew McClintock, Stuart Yoder david.c.nystrom
2012-12-06 20:49 ` [PATCHv4 00/15] meta-cloud merge, updated with review comments Bruce Ashfield
2012-12-06 22:22 ` Raymond Danks
2012-12-07 14:38 ` David Nyström
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50C0D277.2040308@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=david.c.nystrom@gmail.com \
--cc=meta-virtualization@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.