Quantcast
Channel: Questions in topic: "toradex easy installer"
Viewing all articles
Browse latest Browse all 59

do_image_teziimg fails on next day after timestamp update of source

$
0
0
I am building an image that inherits from core-image. It is set up to create an image for colibri-imx6, but I don't really think it depends on architecture. When I build this image when tmp is empty or non-existent it builds fine: bitbake myproject-image The yocto build directory is stored separately from the source. I am constantly regenerating (that is removing and recreating) the same source directory (developing a tool for workspace set-up). At the same time I keep my build directory. That means that the timestamps of my source directory are constantly updated. I have noticed that if I regenerate my sources the same day, the creation of the image works. However, if I regenerate the sources and run the build command the next day, the build fails. The error is the following: ERROR: colibtest-image-1.0-r0 do_image_teziimg: Function failed: do_image_teziimg (log file is located at /home/builduser/build/tmp/work/colibri_imx6-linux-gnueabi/colibtest-image/1.0-r0/temp/log.do_image_teziimg.410) ERROR: Logfile of failure stored in: /home/builduser/build/tmp/work/colibri_imx6-linux-gnueabi/colibtest-image/1.0-r0/temp/log.do_image_teziimg.410 Log data follows: | DEBUG: Executing python function rootfs_tezi_json | NOTE: Toradex Easy Installer metadata file image.json written. | DEBUG: Python function rootfs_tezi_json finished | DEBUG: Executing python function set_image_size | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_teziimg | NOTE: Create bootfs tarball | tar: Removing leading `/' from member names | tar: /home/builduser/build/tmp/work/colibri_imx6-linux-gnueabi/colibtest-image/1.0-r0/deploy-colibtest-image-image-complete/colibtest-image-colibri-imx6-20190816081629.rootfs.tar.xz: Cannot stat: No such file or directory | tar: Exiting with failure status due to previous errors | WARNING: exit code 2 from a shell command. | ERROR: Function failed: do_image_teziimg (log file is located at /home/builduser/build/tmp/work/colibri_imx6-linux-gnueabi/colibtest-image/1.0-r0/temp/log.do_image_teziimg.410) ERROR: Task (/home/builduser/yocto/layers/meta-colibtest/recipes-core/image/colibtest-image.bb:do_image_teziimg) failed with exit code '1' NOTE: Tasks Summary: Attempted 5028 tasks of which 5027 didn't need to be rerun and 1 failed. What I get from the listing, is that the rootfs tar.xz-file was not regenerated, although the bootfs tar.xz file was. Is this there something missing in image_type_tezi.bbclass? As indicated, removing tmp (and thereby rebuilding from sstate cache) works fine, but I would also like this to work out-of-the-box.

Viewing all articles
Browse latest Browse all 59

Trending Articles