[elbe-devel] chroot: failed to run command '/bin/busybox': No such file or directory

Bastian Germann bage at linutronix.de
Wed May 13 08:36:41 CEST 2020


Am 13.05.20 um 08:28 schrieb Jongin Jeon:
> chroot: failed to run command '/bin/sh': No such file or directory
> [ERROR] Finetuning Error, trying to continue anyways
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/elbepack/finetuning.py", line
> 714, in do_finetuning
>     action.execute(buildenv, target)
>   File "/usr/lib/python2.7/dist-packages/elbepack/finetuning.py", line
> 385, in execute
>     chroot(target.path, "/bin/sh", stdin=self.node.et.text)
>   File "/usr/lib/python2.7/dist-packages/elbepack/shellhelper.py", line
> 126, in chroot
>     do(chcmd, env_add=new_env, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/elbepack/shellhelper.py", line
> 115, in do
>     raise CommandError(cmd, p.returncode)
> CommandError
> [CMD] chroot /var/cache/elbe/6274e8d2-805d-4fcf-b135-0d214f7dad2d/target
> /bin/busybox --install
> chroot: failed to run command '/bin/busybox': No such file or directory


Please use <raw_cmd>/bin/busybox --install</raw_cmd> before running any
<cmd> because <cmd will use /bin/sh to run the command.



More information about the elbe-devel mailing list