Skip to contentSkip to conversation

libvirt: uprev to v1.2.8

PATCH Superseded Olivia Yin 4 participants 4 messages Sep 25, 2014 – Sep 26, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Olivia Yin

author
#0 lore raw

PATCH 1/1 libvirt: uprev to v1.2.8

---
 .../libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb}      | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
 rename recipes-extended/libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb} (91%)
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +3 -14
similarity index 91%
rename from recipes-extended/libvirt/libvirt_1.2.4.bb
rename to recipes-extended/libvirt/libvirt_1.2.8.bb
index 56b4d4b..cdcd54b 100644
@@ -24,16 +24,12 @@ RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode"
 RCONFLICTS_${PN}_libvirtd = "connman"
 
 SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
-           file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \
            file://libvirtd.sh \
            file://libvirtd.conf \
-           file://runptest.patch \
-           file://run-ptest \
-           file://tests-allow-separated-src-and-build-dirs.patch \
           "
 
-SRC_URI[libvirt.md5sum] = "da7a9ca519df45a460659189fe0024e6"
-SRC_URI[libvirt.sha256sum] = "e43ac5f6b2baeafcd01777be03a897e636f8d48c0cdfb4c4cbb80d45faa9e875"
+SRC_URI[libvirt.md5sum] = "75114991290f7c8f01dd5223431b9c00"
+SRC_URI[libvirt.sha256sum] = "0049940b013ea5858b53d9b540c9df9cc3c8cb08750acfd96e9991a1f709e100"
 
 inherit autotools gettext update-rc.d pkgconfig ptest
 
@@ -68,10 +64,6 @@ ac_cv_path_LVS=/usr/sbin/lvs \
 ac_cv_path_PARTED=/usr/sbin/parted \
 ac_cv_path_DMSETUP=/usr/sbin/dmsetup"
 
-# 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.
-CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
-
 # Some other possible paths we are not yet setting
 #ac_cv_path_RPCGEN=
 #ac_cv_path_XSLTPROC=
@@ -80,6 +72,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
 #ac_cv_path_EBTABLES_PATH=
 #ac_cv_path_PKG_CONFIG=
 #ac_cv_path_ac_pt_PKG_CONFIG
+#ac_cv_path_PKCHECK_PATH=
 #ac_cv_path_POLKIT_AUTH=
 #ac_cv_path_DTRACE=
 #ac_cv_path_ISCSIADM=
@@ -172,7 +165,6 @@ PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EB
 PACKAGECONFIG[python] = ",,python,"
 PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
 PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"
-PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
 PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse,"
 
 # Enable the Python tool support
@@ -203,9 +195,6 @@ do_install_append() {
 	     >> ${D}${sysconfdir}/default/volatiles/99_libvirt
 	echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \
 	     >> ${D}${sysconfdir}/default/volatiles/99_libvirt
-
-	# Add hook support for libvirt
-	mkdir -p ${D}/etc/libvirt/hooks 
 }
 
 EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH}"
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw
Quoted 59 lines · Olivia Yin
---
 .../libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb}      | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
 rename recipes-extended/libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb} (91%)
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +3 -11
similarity index 91%
rename from recipes-extended/libvirt/libvirt_1.2.4.bb
rename to recipes-extended/libvirt/libvirt_1.2.8.bb
index 56b4d4b..cdcd54b 100644
@@ -24,16 +24,12 @@ RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode"
 RCONFLICTS_${PN}_libvirtd = "connman"
 
 SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
-           file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \
            file://libvirtd.sh \
            file://libvirtd.conf \
-           file://runptest.patch \
-           file://run-ptest \
-           file://tests-allow-separated-src-and-build-dirs.patch \
           "
 
-SRC_URI[libvirt.md5sum] = "da7a9ca519df45a460659189fe0024e6"
-SRC_URI[libvirt.sha256sum] = "e43ac5f6b2baeafcd01777be03a897e636f8d48c0cdfb4c4cbb80d45faa9e875"
+SRC_URI[libvirt.md5sum] = "75114991290f7c8f01dd5223431b9c00"
+SRC_URI[libvirt.sha256sum] = "0049940b013ea5858b53d9b540c9df9cc3c8cb08750acfd96e9991a1f709e100"
 
 inherit autotools gettext update-rc.d pkgconfig ptest
 
@@ -68,10 +64,6 @@ ac_cv_path_LVS=/usr/sbin/lvs \
 ac_cv_path_PARTED=/usr/sbin/parted \
 ac_cv_path_DMSETUP=/usr/sbin/dmsetup"
 
-# 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.
-CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
-
 # Some other possible paths we are not yet setting
 #ac_cv_path_RPCGEN=
 #ac_cv_path_XSLTPROC=
@@ -80,6 +72,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
 #ac_cv_path_EBTABLES_PATH=
 #ac_cv_path_PKG_CONFIG=
 #ac_cv_path_ac_pt_PKG_CONFIG
+#ac_cv_path_PKCHECK_PATH=
 #ac_cv_path_POLKIT_AUTH=
 #ac_cv_path_DTRACE=
 #ac_cv_path_ISCSIADM=
@@ -172,7 +165,6 @@ PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EB
 PACKAGECONFIG[python] = ",,python,"
 PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
 PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"
-PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
 PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse,"
 
 # Enable the Python tool support

recipes-extended/libvirt/libvirt_1.2.8.bb do_install_append() { · line 200

Quoted 9 lines
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -3
@@ -203,9 +195,6 @@ do_install_append() {
 	     >> ${D}${sysconfdir}/default/volatiles/99_libvirt
 	echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \
 	     >> ${D}${sysconfdir}/default/volatiles/99_libvirt
-
-	# Add hook support for libvirt
-	mkdir -p ${D}/etc/libvirt/hooks 
 }
 
 EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH}"

Apart from the version upgrade, there are many things being removed from the recipe, like patches, ptests, numactl configuration.... could you explain a bit the purpose of the removal?

Thank you,

/Josep

Quoted 8 lines
Signature · 7 lines
2.1.0.27.g96db324

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
#2 lore raw
Quoted 68 lines · Josep Puigdemont
Quoted 67 lines · Olivia Yin
---
 .../libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb}      | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
 rename recipes-extended/libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb} (91%)
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +3 -14
similarity index 91%
rename from recipes-extended/libvirt/libvirt_1.2.4.bb
rename to recipes-extended/libvirt/libvirt_1.2.8.bb
index 56b4d4b..cdcd54b 100644
@@ -24,16 +24,12 @@ RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode"
 RCONFLICTS_${PN}_libvirtd = "connman"
 
 SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
-           file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \
            file://libvirtd.sh \
            file://libvirtd.conf \
-           file://runptest.patch \
-           file://run-ptest \
-           file://tests-allow-separated-src-and-build-dirs.patch \
           "
 
-SRC_URI[libvirt.md5sum] = "da7a9ca519df45a460659189fe0024e6"
-SRC_URI[libvirt.sha256sum] = "e43ac5f6b2baeafcd01777be03a897e636f8d48c0cdfb4c4cbb80d45faa9e875"
+SRC_URI[libvirt.md5sum] = "75114991290f7c8f01dd5223431b9c00"
+SRC_URI[libvirt.sha256sum] = "0049940b013ea5858b53d9b540c9df9cc3c8cb08750acfd96e9991a1f709e100"
 
 inherit autotools gettext update-rc.d pkgconfig ptest
 
@@ -68,10 +64,6 @@ ac_cv_path_LVS=/usr/sbin/lvs \
 ac_cv_path_PARTED=/usr/sbin/parted \
 ac_cv_path_DMSETUP=/usr/sbin/dmsetup"
 
-# 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.
-CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
-
 # Some other possible paths we are not yet setting
 #ac_cv_path_RPCGEN=
 #ac_cv_path_XSLTPROC=
@@ -80,6 +72,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
 #ac_cv_path_EBTABLES_PATH=
 #ac_cv_path_PKG_CONFIG=
 #ac_cv_path_ac_pt_PKG_CONFIG
+#ac_cv_path_PKCHECK_PATH=
 #ac_cv_path_POLKIT_AUTH=
 #ac_cv_path_DTRACE=
 #ac_cv_path_ISCSIADM=
@@ -172,7 +165,6 @@ PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EB
 PACKAGECONFIG[python] = ",,python,"
 PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
 PACKAGECONFIG[iproute2] = "ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"
-PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
 PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse,"
 
 # Enable the Python tool support
@@ -203,9 +195,6 @@ do_install_append() {
           >> ${D}${sysconfdir}/default/volatiles/99_libvirt
      echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \
           >> ${D}${sysconfdir}/default/volatiles/99_libvirt
-
-     # Add hook support for libvirt
-     mkdir -p ${D}/etc/libvirt/hooks
 }
 
Quoted 5 lines

recipes-extended/libvirt/libvirt_1.2.8.bb do_install_append() { · line 200

Quoted 1 line
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -0
 EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH}"

Apart from the version upgrade, there are many things being removed from the recipe, like patches, ptests, numactl configuration.... could you explain a bit the purpose of the removal?

Agreed. In particular, I'd quite like to keep the hooks directory creation and numactl.
So unless there's some sort of horrible error that I've never seen, we wouldn't merge
this as-is.

Cheers,

Bruce

Quoted 18 lines

Thank you,

/Josep

Quoted 8 lines

--
2.1.0.27.g96db324

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

--
_______________________________________________
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"
#3 lore raw

Sorry, I didn't mean to remove ptest.
I just confuse when this part will be merged to libvirt upstream.
It seemed that there is no conflict with ptest patches to work on libvirt-v1.2.8. I'll submit the v2 patch to upgrade the version.

Best Regards,
Olivia

Quoted 124 lines

-----Original Message-----
From: Bruce Ashfield [mailto:[email protected]]
Sent: Thursday, September 25, 2014 8:14 PM
To: Josep Puigdemont
Cc: Yin Olivia-R63875; [email protected]
Subject: Re: [meta-virtualization] [PATCH] libvirt: uprev to v1.2.8

Quoted 26 lines · Josep Puigdemont
Quoted 25 lines · Olivia Yin
---
 .../libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb}      | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)  rename

recipes-extended/libvirt/{libvirt_1.2.4.bb => libvirt_1.2.8.bb} (91%)

recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -4
similarity index 91%
rename from recipes-extended/libvirt/libvirt_1.2.4.bb
rename to recipes-extended/libvirt/libvirt_1.2.8.bb
index 56b4d4b..cdcd54b 100644
@@ -24,16 +24,12 @@ RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode"
 RCONFLICTS_${PN}_libvirtd = "connman"
 
 SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
-           file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \
            file://libvirtd.sh \
            file://libvirtd.conf \
-           file://runptest.patch \
-           file://run-ptest \
-           file://tests-allow-separated-src-and-build-dirs.patch \
           "
 
Quoted 2 lines

recipes-extended/libvirt/libvirt_1.2.8.bb RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode" · line 36

Quoted 2 lines
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -2
-SRC_URI[libvirt.md5sum] = "da7a9ca519df45a460659189fe0024e6"
-SRC_URI[libvirt.sha256sum] =

"e43ac5f6b2baeafcd01777be03a897e636f8d48c0cdfb4c4cbb80d45faa9e875"

Quoted 2 lines

recipes-extended/libvirt/libvirt_1.2.8.bb RDEPENDS_libvirt-libvirtd_append_x86 = " dmidecode" · line 32

Quoted 2 lines
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +2 -0
+SRC_URI[libvirt.md5sum] = "75114991290f7c8f01dd5223431b9c00"
+SRC_URI[libvirt.sha256sum] =

"0049940b013ea5858b53d9b540c9df9cc3c8cb08750acfd96e9991a1f709e100"

Quoted 9 lines
Quoted 9 lines
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -0
 inherit autotools gettext update-rc.d pkgconfig ptest
 
@@ -68,10 +64,6 @@ ac_cv_path_LVS=/usr/sbin/lvs \
 ac_cv_path_PARTED=/usr/sbin/parted \

ac_cv_path_DMSETUP=/usr/sbin/dmsetup"

-# 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.

Quoted 1 line
Quoted 1 line

-CACHED_CONFIGUREVARS +=

"ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"

Quoted 4 lines
Quoted 4 lines

-
# Some other possible paths we are not yet setting
#ac_cv_path_RPCGEN= #ac_cv_path_XSLTPROC= @@ -80,6 +72,7 @@ CACHED_CONFIGUREVARS +=

"ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"

Quoted 4 lines
Quoted 4 lines

#ac_cv_path_EBTABLES_PATH=
#ac_cv_path_PKG_CONFIG=
#ac_cv_path_ac_pt_PKG_CONFIG
+#ac_cv_path_PKCHECK_PATH=

Quoted 8 lines
Quoted 8 lines

#ac_cv_path_POLKIT_AUTH=
#ac_cv_path_DTRACE=
#ac_cv_path_ISCSIADM=

recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -0
@@ -172,7 +165,6 @@ PACKAGECONFIG[ebtables] =

"ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EB
PACKAGECONFIG[python] = ",,python,"
PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl" PACKAGECONFIG[iproute2] =

"ac_cv_path_IP_PATH=/sbin/ip,ac_cv_path_IP_PATH=,iproute2,iproute2"

Quoted 13 lines
Quoted 13 lines
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -4
-PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
 PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse,"
 
 # Enable the Python tool support
@@ -203,9 +195,6 @@ do_install_append() {
           >> ${D}${sysconfdir}/default/volatiles/99_libvirt
      echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \
           >> ${D}${sysconfdir}/default/volatiles/99_libvirt
-
-     # Add hook support for libvirt
-     mkdir -p ${D}/etc/libvirt/hooks
 }
 
Quoted 1 line

recipes-extended/libvirt/libvirt_1.2.8.bb do_install_append() { · line 200

Quoted 1 line
recipes-extended/libvirt/libvirt_1.2.8.bb renamed from recipes-extended/libvirt/libvirt_1.2.4.bb +0 -0
 EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH}

PTEST_DIR=${PTEST_PATH}"

Quoted 4 lines

Apart from the version upgrade, there are many things being removed from the recipe, like patches, ptests, numactl configuration.... could you explain a bit the purpose of the removal?

Agreed. In particular, I'd quite like to keep the hooks directory creation and numactl.
So unless there's some sort of horrible error that I've never seen, we wouldn't merge this as-is.

Cheers,

Bruce

Quoted 13 lines

Thank you,

/Josep

Quoted 8 lines

--
2.1.0.27.g96db324

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

Quoted 5 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"