diff mbox series

image_types_wic.bbclass: remove MLPREFIX for binutils

Message ID 20230505041725.3186569-1-Qi.Chen@windriver.com
State New
Headers show
Series image_types_wic.bbclass: remove MLPREFIX for binutils | expand

Commit Message

ChenQi May 5, 2023, 4:17 a.m. UTC
From: Chen Qi <Qi.Chen@windriver.com>

With the following two commits, the MLPREFIX needs to be removed
to avoid the 'nothing provides' error.

  gcc/go: Drop crosssdk suffix from virtual provides to improve dependency handling
  binutils: Drop crosssdk suffix from virtual provides to improve dependency handling

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/classes-recipe/image_types_wic.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Purdie May 5, 2023, 11:13 a.m. UTC | #1
On Thu, 2023-05-04 at 21:17 -0700, Chen Qi via lists.openembedded.org
wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
> 
> With the following two commits, the MLPREFIX needs to be removed
> to avoid the 'nothing provides' error.
> 
>   gcc/go: Drop crosssdk suffix from virtual provides to improve dependency handling
>   binutils: Drop crosssdk suffix from virtual provides to improve dependency handling
> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  meta/classes-recipe/image_types_wic.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, Martin had sent this patch too and I've merged that one.

Cheers,

Ricahrd
diff mbox series

Patch

diff --git a/meta/classes-recipe/image_types_wic.bbclass b/meta/classes-recipe/image_types_wic.bbclass
index c339b9bdfb..be31fbf94f 100644
--- a/meta/classes-recipe/image_types_wic.bbclass
+++ b/meta/classes-recipe/image_types_wic.bbclass
@@ -91,7 +91,7 @@  do_image_wic[deptask] += "do_image_complete"
 WKS_FILE_DEPENDS_DEFAULT = '${@bb.utils.contains_any("BUILD_ARCH", [ 'x86_64', 'i686' ], "syslinux-native", "",d)}'
 WKS_FILE_DEPENDS_DEFAULT += "bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native erofs-utils-native"
 # Unified kernel images need objcopy
-WKS_FILE_DEPENDS_DEFAULT += "virtual/${MLPREFIX}${TARGET_PREFIX}binutils"
+WKS_FILE_DEPENDS_DEFAULT += "virtual/${TARGET_PREFIX}binutils"
 WKS_FILE_DEPENDS_BOOTLOADERS = ""
 WKS_FILE_DEPENDS_BOOTLOADERS:x86 = "syslinux grub-efi systemd-boot os-release"
 WKS_FILE_DEPENDS_BOOTLOADERS:x86-64 = "syslinux grub-efi systemd-boot os-release"