diff options
author | Derek Straka <derek@asterius.io> | 2016-05-01 10:27:45 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-05-03 22:21:25 -0400 |
commit | a3617f24641962e6732c8369ce9256ae4be5a2a0 (patch) | |
tree | 6458b580519d28f81f298852fa7280340e0ce874 /recipes-extended | |
parent | 1fd94d853545b55173b1f0e2cf683a5d21f8cd7b (diff) | |
download | meta-virtualization-a3617f24641962e6732c8369ce9256ae4be5a2a0.tar.gz |
globally replace 'base_contains' calls with 'bb.utils.contains'
The 'base_contains' is now deprecated and only kept as a compatibility method. It will be removed in future releases.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/images/xen-guest-image-minimal.bb | 4 | ||||
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.3.2.bb | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/recipes-extended/images/xen-guest-image-minimal.bb b/recipes-extended/images/xen-guest-image-minimal.bb index f13940ce..ab7e92c3 100644 --- a/recipes-extended/images/xen-guest-image-minimal.bb +++ b/recipes-extended/images/xen-guest-image-minimal.bb | |||
@@ -7,8 +7,8 @@ IMAGE_INSTALL += " \ | |||
7 | ${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'kernel-module-xen-acpi-processor', '', d)} \ | 7 | ${@bb.utils.contains('MACHINE_FEATURES', 'acpi', 'kernel-module-xen-acpi-processor', '', d)} \ |
8 | " | 8 | " |
9 | 9 | ||
10 | IMAGE_INSTALL += "${@base_contains('DISTRO_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}" | 10 | IMAGE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}" |
11 | IMAGE_INSTALL += "${@base_contains('DISTRO_FEATURES', 'x11', ' xf86-video-vesa', '', d)}" | 11 | IMAGE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' xf86-video-vesa', '', d)}" |
12 | 12 | ||
13 | LICENSE = "MIT" | 13 | LICENSE = "MIT" |
14 | 14 | ||
diff --git a/recipes-extended/libvirt/libvirt_1.3.2.bb b/recipes-extended/libvirt/libvirt_1.3.2.bb index 42066c1f..be219103 100644 --- a/recipes-extended/libvirt/libvirt_1.3.2.bb +++ b/recipes-extended/libvirt/libvirt_1.3.2.bb | |||
@@ -107,7 +107,7 @@ FILES_${PN}-libvirtd = " \ | |||
107 | /usr/lib/sysctl.d/60-libvirtd.conf \ | 107 | /usr/lib/sysctl.d/60-libvirtd.conf \ |
108 | ${sbindir}/libvirtd \ | 108 | ${sbindir}/libvirtd \ |
109 | ${systemd_unitdir}/system/* \ | 109 | ${systemd_unitdir}/system/* \ |
110 | ${@base_contains('DISTRO_FEATURES', 'sysvinit', '', '${libexecdir}/libvirt-guests.sh', d)} \ | 110 | ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', '${libexecdir}/libvirt-guests.sh', d)} \ |
111 | " | 111 | " |
112 | 112 | ||
113 | FILES_${PN}-virsh = "${bindir}/virsh" | 113 | FILES_${PN}-virsh = "${bindir}/virsh" |
@@ -167,9 +167,9 @@ PRIVATE_LIBS_${PN}-ptest = " \ | |||
167 | # full config | 167 | # full config |
168 | PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \ | 168 | PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \ |
169 | remote macvtap libvirtd netcf udev python ebtables \ | 169 | remote macvtap libvirtd netcf udev python ebtables \ |
170 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ | 170 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit libcap-ng', '', d)} \ |
171 | ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \ | 171 | ${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \ |
172 | ${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \ | 172 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \ |
173 | " | 173 | " |
174 | 174 | ||
175 | # enable,disable,depends,rdepends | 175 | # enable,disable,depends,rdepends |