Skip to contentSkip to conversation

do_image_wic fails with --include-path

DISCUSSION Vijai Kumar K 1 participant 1 message Aug 21, 2020

lore
Share & tools
lore
#0 lore raw

Hi All,

I was trying to build and image for beaglebone using the latest poky.

I wanted to add an external custom file to the rootfs and hence modified the meta-yocto-bsp/wic/beaglebone-yocto.wks as follows. +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 --use-uuid --include-path=/media/data/workspace/platform/yocto/test

But then the build failed complaining about missing tar-native.

f-native', 'meson-native', 'itstool-native', 'xmlto-native', 're2c-native', 'gettext-native', 'gpgme-native', 'libcheck-native', 'gob ject-introspection-native', 'json-c-native', 'libmodulemd-native', 'docbook-xml-dtd4-native', 'docbook-xsl-stylesheets-native', 'libx slt-native', 'libgpg-error-native', 'libassuan-native', 'libyaml-native']

| DEBUG: Python function extend_recipe_sysroot finished
| 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.
|
|
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/media/data/workspace/platform/yocto/poky-latest/build/tmp/work/beaglebone_yocto-poky-linux-gnueabi/core-image
-minimal/1.0-r0/temp/run.do_image_wic.6184' failed with exit code 1:
| 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.
|
|
| WARNING: exit code 1 from a shell command.
|

ERROR: Task (/media/data/workspace/platform/yocto/poky-latest/meta/recipes-core/images/core-image-minimal.bb:do_image_wic) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3849 tasks of which 3848 didn't need to be rerun and 1 failed.

Is --include-path supported yet in poky?

Thanks,
Vijai Kumar K