* [PATCH] libvirt: Remove unsupported configure options and fix warning
@ 2018-07-24 12:50 He Zhe
2018-07-26 14:42 ` Bruce Ashfield
0 siblings, 1 reply; 4+ messages in thread
From: He Zhe @ 2018-07-24 12:50 UTC (permalink / raw)
To: meta-virtualization, bruce.ashfield
xen and xen-inotify have been removed from upstream. We change
PACKAGECONFIG accordingly.
pkg_postinst has been deprecated, use pkg_postinst_ontarget instead.
WARNING: do_rootfs: Intentionally failing postinstall scriptlets of
['libvirt'] to defer them to first boot is deprecated. Please place
them into pkg_postinst_ontarget_${PN} ().
Signed-off-by: He Zhe <zhe.he@windriver.com>
---
recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
index edd5261..e6dac5d 100644
--- a/recipes-extended/libvirt/libvirt_4.3.0.bb
+++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
@@ -175,7 +175,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
remote macvtap libvirtd netcf udev python ebtables \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
"
@@ -183,10 +183,8 @@ PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
#
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,libxl,"
-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,,"
@@ -305,7 +303,7 @@ do_install_ptest() {
done
}
-pkg_postinst_libvirt() {
+pkg_postinst_ontarget_${PN}() {
if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
/etc/init.d/populate-volatile.sh update
fi
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] libvirt: Remove unsupported configure options and fix warning
2018-07-24 12:50 [PATCH] libvirt: Remove unsupported configure options and fix warning He Zhe
@ 2018-07-26 14:42 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2018-07-26 14:42 UTC (permalink / raw)
To: He Zhe; +Cc: meta-virtualization
merged
Bruce
On Tue, Jul 24, 2018 at 8:50 AM, He Zhe <zhe.he@windriver.com> wrote:
> xen and xen-inotify have been removed from upstream. We change
> PACKAGECONFIG accordingly.
>
> pkg_postinst has been deprecated, use pkg_postinst_ontarget instead.
>
> WARNING: do_rootfs: Intentionally failing postinstall scriptlets of
> ['libvirt'] to defer them to first boot is deprecated. Please place
> them into pkg_postinst_ontarget_${PN} ().
>
> Signed-off-by: He Zhe <zhe.he@windriver.com>
> ---
> recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
> index edd5261..e6dac5d 100644
> --- a/recipes-extended/libvirt/libvirt_4.3.0.bb
> +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
> @@ -175,7 +175,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
> PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
> remote macvtap libvirtd netcf udev python ebtables \
> ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
> "
>
> @@ -183,10 +183,8 @@ PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
> #
> 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,libxl,"
> -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,,"
> @@ -305,7 +303,7 @@ do_install_ptest() {
> done
> }
>
> -pkg_postinst_libvirt() {
> +pkg_postinst_ontarget_${PN}() {
> if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
> /etc/init.d/populate-volatile.sh update
> fi
> --
> 2.11.0
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libvirt: Remove unsupported configure options and fix warning
2018-07-24 11:08 ` [PATCH] libvirt: Remove unsupported configure options and fix warning He Zhe
@ 2018-07-24 12:48 ` He Zhe
0 siblings, 0 replies; 4+ messages in thread
From: He Zhe @ 2018-07-24 12:48 UTC (permalink / raw)
To: meta-virtualization, bruce.ashfield
Please ignore.
Zhe
On 2018年07月24日 19:08, He Zhe wrote:
> xen and xen-inotify have been removed from upstream. We change
> PACKAGECONFIG accordingly.
>
> pkg_postinst has been deprecated, use pkg_postinst_ontarget instead.
>
> WARNING: wrlinux-image-ovp-kvm-1.0-r0 do_rootfs: Intentionally failing
> postinstall scriptlets of ['libvirt'] to defer them to first boot is
> deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
>
> Signed-off-by: He Zhe <zhe.he@windriver.com>
> ---
> recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
> index edd5261..e6dac5d 100644
> --- a/recipes-extended/libvirt/libvirt_4.3.0.bb
> +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
> @@ -175,7 +175,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
> PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
> remote macvtap libvirtd netcf udev python ebtables \
> ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
> + ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
> "
>
> @@ -183,10 +183,8 @@ PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
> #
> 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,libxl,"
> -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,,"
> @@ -305,7 +303,7 @@ do_install_ptest() {
> done
> }
>
> -pkg_postinst_libvirt() {
> +pkg_postinst_ontarget_${PN}() {
> if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
> /etc/init.d/populate-volatile.sh update
> fi
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] libvirt: Remove unsupported configure options and fix warning
2018-07-24 11:08 [PATCH] linux-yocto: Fix systemd-modules-load.service start failure He Zhe
@ 2018-07-24 11:08 ` He Zhe
2018-07-24 12:48 ` He Zhe
0 siblings, 1 reply; 4+ messages in thread
From: He Zhe @ 2018-07-24 11:08 UTC (permalink / raw)
To: meta-virtualization, bruce.ashfield
xen and xen-inotify have been removed from upstream. We change
PACKAGECONFIG accordingly.
pkg_postinst has been deprecated, use pkg_postinst_ontarget instead.
WARNING: wrlinux-image-ovp-kvm-1.0-r0 do_rootfs: Intentionally failing
postinstall scriptlets of ['libvirt'] to defer them to first boot is
deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
Signed-off-by: He Zhe <zhe.he@windriver.com>
---
recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
index edd5261..e6dac5d 100644
--- a/recipes-extended/libvirt/libvirt_4.3.0.bb
+++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
@@ -175,7 +175,7 @@ PRIVATE_LIBS_${PN}-ptest = " \
PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
remote macvtap libvirtd netcf udev python ebtables \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'libxl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
"
@@ -183,10 +183,8 @@ PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
#
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,libxl,"
-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,,"
@@ -305,7 +303,7 @@ do_install_ptest() {
done
}
-pkg_postinst_libvirt() {
+pkg_postinst_ontarget_${PN}() {
if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
/etc/init.d/populate-volatile.sh update
fi
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-07-26 14:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-24 12:50 [PATCH] libvirt: Remove unsupported configure options and fix warning He Zhe
2018-07-26 14:42 ` Bruce Ashfield
-- strict thread matches above, loose matches on Subject: below --
2018-07-24 11:08 [PATCH] linux-yocto: Fix systemd-modules-load.service start failure He Zhe
2018-07-24 11:08 ` [PATCH] libvirt: Remove unsupported configure options and fix warning He Zhe
2018-07-24 12:48 ` He Zhe
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.