I have found the cause of the problem, which is because tar does not exist in the working directory.
I wonder if there are requirements on the base image when building from the base image.

 Thank you.


发自我的企业微信


任亮<renliang@uniontech.com> 在2023-03-23 周四 15:01写道:


Hi
We are using diskimage-builder to make a custom image, There is a problem in extract_image, The question is chroot: failed to run command 'bin/tar': No such file or directory, I found the /bin/tar file in the working directory /tmp/ tmp.00yldwe1xt. But errors are still being reported. It's not clear if this is a custom image problem, There are also requirements for custom images.