All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] image_types_wic: Add ASSUME_PROVIDED to WICVARS
@ 2020-08-26 16:20 Vijai Kumar K
  0 siblings, 0 replies; only message in thread
From: Vijai Kumar K @ 2020-08-26 16:20 UTC (permalink / raw)
  To: openembedded-core; +Cc: Vijai Kumar K

Add ASSUME_PROVIDED to WICVARS so that wic can use that
when running on bitbake environment.

This fixes the below build failure in do_image_wic
when --include-path is used in wks file.
---
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| ERROR: A native program tar required to build the image was not found (see details above).
|
| Please make sure wic-tools have tar-native in its DEPENDS, build it with 'bitbake wic-tools' and try again.
---

Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
---
 meta/classes/image_types_wic.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass
index 7b1db50a28..2a1feed60d 100644
--- a/meta/classes/image_types_wic.bbclass
+++ b/meta/classes/image_types_wic.bbclass
@@ -4,7 +4,8 @@ WICVARS ?= "\
            BBLAYERS IMGDEPLOYDIR DEPLOY_DIR_IMAGE FAKEROOTCMD IMAGE_BASENAME IMAGE_BOOT_FILES \
            IMAGE_LINK_NAME IMAGE_ROOTFS INITRAMFS_FSTYPES INITRD INITRD_LIVE ISODIR RECIPE_SYSROOT_NATIVE \
            ROOTFS_SIZE STAGING_DATADIR STAGING_DIR STAGING_LIBDIR TARGET_SYS \
-           KERNEL_IMAGETYPE MACHINE INITRAMFS_IMAGE INITRAMFS_IMAGE_BUNDLE INITRAMFS_LINK_NAME APPEND"
+           KERNEL_IMAGETYPE MACHINE INITRAMFS_IMAGE INITRAMFS_IMAGE_BUNDLE INITRAMFS_LINK_NAME APPEND \
+           ASSUME_PROVIDED"
 
 inherit ${@bb.utils.contains('INITRAMFS_IMAGE_BUNDLE', '1', 'kernel-artifact-names', '', d)}
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-26 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 16:20 [PATCH] image_types_wic: Add ASSUME_PROVIDED to WICVARS Vijai Kumar K

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.