mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
libvirt: Remove unsupported configure options and fix warning
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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
eeb10ba17c
commit
1e67a44db7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user