On Wed, Sep 1, 2021 at 5:20 AM Michael Opdenacker
<[email protected]> wrote:
>
> Fixes [YOCTO #14538]
>
> Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.
>
> That's confusing because "virtual/" has no special meaning in
> RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).
>
> Instead, using "virtual-" instead of "virtual/"
> as already done in the glibc recipe.

We have quite a few cases in meta-virtualization, where the same
unclear syntax is used.

I can take care of updating it, if you aren't looking at it already.

Bruce

>
> Signed-off-by: Michael Opdenacker <[email protected]>
> ---
>  meta/recipes-bsp/grub/grub-bootconf_1.00.bb        | 2 +-
>  meta/recipes-bsp/grub/grub-efi_2.06.bb             | 2 +-
>  meta/recipes-core/systemd/systemd-boot_249.3.bb    | 2 +-
>  meta/recipes-core/systemd/systemd-bootconf_1.00.bb | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-bsp/grub/grub-bootconf_1.00.bb 
> b/meta/recipes-bsp/grub/grub-bootconf_1.00.bb
> index 151e601fd2..783e30bf38 100644
> --- a/meta/recipes-bsp/grub/grub-bootconf_1.00.bb
> +++ b/meta/recipes-bsp/grub/grub-bootconf_1.00.bb
> @@ -5,7 +5,7 @@ DESCRIPTION = "Grub might require different configuration 
> file for \
>  different machines."
>  HOMEPAGE = 
> "https://www.gnu.org/software/grub/manual/grub/grub.html#Configuration";
>
> -RPROVIDES:${PN} += "virtual/grub-bootconf"
> +RPROVIDES:${PN} += "virtual-grub-bootconf"
>
>  inherit grub-efi-cfg
>
> diff --git a/meta/recipes-bsp/grub/grub-efi_2.06.bb 
> b/meta/recipes-bsp/grub/grub-efi_2.06.bb
> index 96e9df88b6..a8cc209a02 100644
> --- a/meta/recipes-bsp/grub/grub-efi_2.06.bb
> +++ b/meta/recipes-bsp/grub/grub-efi_2.06.bb
> @@ -5,7 +5,7 @@ require conf/image-uefi.conf
>  GRUBPLATFORM = "efi"
>
>  DEPENDS:append = " grub-native"
> -RDEPENDS:${PN} = "grub-common virtual/grub-bootconf"
> +RDEPENDS:${PN} = "grub-common virtual-grub-bootconf"
>
>  SRC_URI += " \
>             file://cfg \
> diff --git a/meta/recipes-core/systemd/systemd-boot_249.3.bb 
> b/meta/recipes-core/systemd/systemd-boot_249.3.bb
> index af2be162a3..b3d4e31e08 100644
> --- a/meta/recipes-core/systemd/systemd-boot_249.3.bb
> +++ b/meta/recipes-core/systemd/systemd-boot_249.3.bb
> @@ -46,7 +46,7 @@ python __anonymous () {
>
>  FILES:${PN} = "${EFI_FILES_PATH}/${SYSTEMD_BOOT_IMAGE}"
>
> -RDEPENDS:${PN} += "virtual/systemd-bootconf"
> +RDEPENDS:${PN} += "virtual-systemd-bootconf"
>
>  # Imported from the old gummiboot recipe
>  TUNE_CCARGS:remove = "-mfpmath=sse"
> diff --git a/meta/recipes-core/systemd/systemd-bootconf_1.00.bb 
> b/meta/recipes-core/systemd/systemd-bootconf_1.00.bb
> index 12c4447f37..19637546a9 100644
> --- a/meta/recipes-core/systemd/systemd-bootconf_1.00.bb
> +++ b/meta/recipes-core/systemd/systemd-bootconf_1.00.bb
> @@ -2,7 +2,7 @@ LICENSE = "MIT"
>  LIC_FILES_CHKSUM = 
> "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>  SUMMARY = "Basic systemd-boot configuration files"
>
> -RPROVIDES:${PN} += "virtual/systemd-bootconf"
> +RPROVIDES:${PN} += "virtual-systemd-bootconf"
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>  inherit systemd-boot-cfg
> --
> 2.25.1
>
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155560): 
https://lists.openembedded.org/g/openembedded-core/message/155560
Mute This Topic: https://lists.openembedded.org/mt/85297733/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to