diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-01-18 22:06:08 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-01-19 14:29:24 +0000 |
| commit | 0650f659fd1728b3f059cfa52a8871b916285ec4 (patch) | |
| tree | 67fa3761a9e418917594dda0f08aab0cb1bf28c2 | |
| parent | 5ebfe50161159210b9710fc9219f779267bdbe4a (diff) | |
| download | meta-virtualization-0650f659fd1728b3f059cfa52a8871b916285ec4.tar.gz | |
xen: fix virtual RDEPENDS warnings
oe-core has started to warn when virtual/ is used outside of
the DEPENDS (build) context.
We tweak our rprovides/rdepends to use virtual- instead to
avoid the warning:
WARNING: RDEPENDS is set to virtual/xenstored, the substring 'virtual/' holds no meaning in this context. It is suggested to use the 'virtual-' instead.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/xen/xen-blktap.inc | 16 | ||||
| -rw-r--r-- | recipes-extended/xen/xen-tools.inc | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/recipes-extended/xen/xen-blktap.inc b/recipes-extended/xen/xen-blktap.inc index ad9d5fdb..2c8cb1fd 100644 --- a/recipes-extended/xen/xen-blktap.inc +++ b/recipes-extended/xen/xen-blktap.inc | |||
| @@ -20,16 +20,16 @@ BLKTAP_PROVIDES ?= " \ | |||
| 20 | " | 20 | " |
| 21 | 21 | ||
| 22 | BLKTAP_RRECOMMENDS ?= " \ | 22 | BLKTAP_RRECOMMENDS ?= " \ |
| 23 | virtual/blktap \ | 23 | virtual-blktap \ |
| 24 | virtual/libblktap \ | 24 | virtual-libblktap \ |
| 25 | virtual/libblktapctl \ | 25 | virtual-libblktapctl \ |
| 26 | virtual/libvhd \ | 26 | virtual-libvhd \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | RPROVIDES:${PN}-blktap = "virtual/blktap" | 29 | RPROVIDES:${PN}-blktap = "virtual-blktap" |
| 30 | RPROVIDES:${PN}-libblktap = "virtual/libblktap" | 30 | RPROVIDES:${PN}-libblktap = "virtual-libblktap" |
| 31 | RPROVIDES:${PN}-libblktapctl = "virtual/libblktapctl" | 31 | RPROVIDES:${PN}-libblktapctl = "virtual-libblktapctl" |
| 32 | RPROVIDES:${PN}-libvhd = "virtual/libvhd" | 32 | RPROVIDES:${PN}-libvhd = "virtual-libvhd" |
| 33 | 33 | ||
| 34 | FILES:${PN}-blktap-staticdev += "\ | 34 | FILES:${PN}-blktap-staticdev += "\ |
| 35 | ${libdir}/libblktapctl.a \ | 35 | ${libdir}/libblktapctl.a \ |
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index fcca3912..30608fb2 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
| @@ -24,7 +24,7 @@ RDEPENDS:${PN} = "\ | |||
| 24 | ${PN}-xencommons \ | 24 | ${PN}-xencommons \ |
| 25 | ${PN}-xendomains \ | 25 | ${PN}-xendomains \ |
| 26 | ${PN}-xenstore \ | 26 | ${PN}-xenstore \ |
| 27 | virtual/xenstored \ | 27 | virtual-xenstored \ |
| 28 | ${PN}-xl \ | 28 | ${PN}-xl \ |
| 29 | " | 29 | " |
| 30 | 30 | ||
| @@ -100,7 +100,7 @@ RDEPENDS:${PN}-xencommons = "\ | |||
| 100 | util-linux-prlimit \ | 100 | util-linux-prlimit \ |
| 101 | ${PN}-console \ | 101 | ${PN}-console \ |
| 102 | ${PN}-xenstore \ | 102 | ${PN}-xenstore \ |
| 103 | virtual/xenstored \ | 103 | virtual-xenstored \ |
| 104 | ${PN}-xl \ | 104 | ${PN}-xl \ |
| 105 | ${PN}-scripts-common \ | 105 | ${PN}-scripts-common \ |
| 106 | " | 106 | " |
| @@ -110,7 +110,7 @@ RDEPENDS:${PN}-xendomains = "\ | |||
| 110 | ${PN}-console \ | 110 | ${PN}-console \ |
| 111 | ${PN}-scripts-block \ | 111 | ${PN}-scripts-block \ |
| 112 | ${PN}-scripts-common \ | 112 | ${PN}-scripts-common \ |
| 113 | virtual/xenstored \ | 113 | virtual-xenstored \ |
| 114 | " | 114 | " |
| 115 | 115 | ||
| 116 | RDEPENDS:${PN}-xenhypfs = " \ | 116 | RDEPENDS:${PN}-xenhypfs = " \ |
| @@ -215,13 +215,13 @@ PACKAGES = " \ | |||
| 215 | " | 215 | " |
| 216 | 216 | ||
| 217 | PROVIDES =+ " \ | 217 | PROVIDES =+ " \ |
| 218 | virtual/xenstored \ | 218 | virtual-xenstored \ |
| 219 | ${@bb.utils.contains('PACKAGECONFIG', 'externalblktap', '', '${BLKTAP_PROVIDES}', d)} \ | 219 | ${@bb.utils.contains('PACKAGECONFIG', 'externalblktap', '', '${BLKTAP_PROVIDES}', d)} \ |
| 220 | " | 220 | " |
| 221 | 221 | ||
| 222 | # There are multiple implementations of the XenStore daemon, so we use a | 222 | # There are multiple implementations of the XenStore daemon, so we use a |
| 223 | # virtual package to allow for substitution. | 223 | # virtual package to allow for substitution. |
| 224 | RPROVIDES:${PN}-xenstored = "virtual/xenstored" | 224 | RPROVIDES:${PN}-xenstored = "virtual-xenstored" |
| 225 | 225 | ||
| 226 | FILES:${PN}-dbg += "\ | 226 | FILES:${PN}-dbg += "\ |
| 227 | ${libdir}/xen/bin/.debug \ | 227 | ${libdir}/xen/bin/.debug \ |
