Skip to contentSkip to conversation

patches for libvirt

PATCH In review [email protected] 2 participants 5 messages Mar 27, 2013 – Apr 7, 2013

lore
Share & tools
lore
#0 lore raw

cover patches for libvirt

From: Ting Liu <[email protected]>

Based on:
commit e8b062e8f34f6c228566ca4d33a8c6100db2d168

Author: Olivia Yin <[email protected]>
Date:   Wed Mar 13 13:28:13 2013 +0800

libvirt: upgrade to 1.0.3

Ting Liu (2):
libvirt: add dependency on libpciaccess
libvirt: package .debug and .a files in lock-driver

 recipes-extended/libvirt/libvirt_1.0.3.bb |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.9.7
#1 lore raw

PATCH 1/2 libvirt: add dependency on libpciaccess

From: Ting Liu <[email protected]>

The configure log:

| 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
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt_1.0.3.bb +2 -2
index 372e874..ae2a9df 100644
@@ -3,10 +3,10 @@ HOMEPAGE = "http://libvirt.org"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 SECTION = "console/tools"
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
-	   iptables ebtables dnsmasq readline"
+	   iptables ebtables dnsmasq readline libpciaccess"
 
 # These might be included by PACKAGECONFIG
 #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf"
Signature · 1 line
1.7.9.7
#2 lore raw

Re: [PATCH 1/2] libvirt: add dependency on libpciaccess

Quoted 17 lines · On Wed, Mar 27, 2013 at 11:25 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

The configure log:

| 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
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt_1.0.3.bb +0 -0
index 372e874..ae2a9df 100644

recipes-extended/libvirt/libvirt_1.0.3.bb HOMEPAGE = "http://libvirt.org" · line 9

Quoted 9 lines
recipes-extended/libvirt/libvirt_1.0.3.bb +2 -2
@@ -3,10 +3,10 @@ HOMEPAGE = "http://libvirt.org"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 SECTION = "console/tools"
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
-          iptables ebtables dnsmasq readline"
+          iptables ebtables dnsmasq readline libpciaccess"

This adds a hard dependency on something that is detected/optional. libvirt has a
udev flag (--with-udev), it would be better to make this a PACKAGECONFIG setting, and add the dependency only when udev was enabled.

Cheers,

Bruce

Quoted 11 lines
recipes-extended/libvirt/libvirt_1.0.3.bb +0 -1
 # These might be included by PACKAGECONFIG
 #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf"
--

1.7.9.7

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

#3 lore raw

PATCH 2/2 libvirt: package .debug and .a files in lock-driver

In reply to [email protected]

From: Ting Liu <[email protected]>

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

---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-extended/libvirt/libvirt_1.0.3.bb +3 -3
index ae2a9df..e3cc22f 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 SECTION = "console/tools"
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
 	   iptables ebtables dnsmasq readline libpciaccess"
@@ -94,8 +94,8 @@ 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"
+FILES_${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug ${libdir}/libvirt/lock-driver/.debug"
+FILES_${PN}-staticdev += "${libdir}/*.a ${libdir}/libvirt/connection-driver/*.a ${libdir}/libvirt/lock-driver/*.a"
 
 INITSCRIPT_PACKAGES = "${PN}-libvirtd"
 INITSCRIPT_NAME_${PN}-libvirtd = "libvirtd"
Signature · 1 line
1.7.9.7
#4 lore raw

Re: [PATCH 2/2] libvirt: package .debug and .a files in lock-driver

Quoted 8 lines · On Wed, Mar 27, 2013 at 11:25 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

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

This looks fine to me.

I've grabbed it and queued it here, if no one else has issues with it, I'll push it early
next week.

Cheers,

Bruce

Quoted 34 lines
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-extended/libvirt/libvirt_1.0.3.bb +3 -4
index ae2a9df..e3cc22f 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 SECTION = "console/tools"
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
           iptables ebtables dnsmasq readline libpciaccess"
@@ -94,8 +94,8 @@ 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"
+FILES_${PN}-dbg += "${libdir}/libvirt/connection-driver/.debug ${libdir}/libvirt/lock-driver/.debug"
+FILES_${PN}-staticdev += "${libdir}/*.a ${libdir}/libvirt/connection-driver/*.a ${libdir}/libvirt/lock-driver/*.a"
 
 INITSCRIPT_PACKAGES = "${PN}-libvirtd"
 INITSCRIPT_NAME_${PN}-libvirtd = "libvirtd"
--

1.7.9.7

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"