On 12/07/2011 01:54 AM, Adam Magaluk wrote:
Finally I normally run to chroot into my newly created arm emdebian system.
sudo chroot EmDebian /
But as soon as I install scratchbox-core I get the following error
on sudo chroot EmDebian
chroot: failed to run command `/bin/bash': No such file or directory/
It's not breaking chroot.
No such file or directory probably refers to the interepreter which is
assigned to handle the foreign binary that is /bin/bash.
For emdebian, you have probably set something like /usr/bin/qemu-arm to
run your arm binaries in binfmt_misc whilst scratchbox uses
/scratchbox/tools/bin/misc_runner.
You have multiple conflicting assignments for arm binaries in
binfmt_misc. If memory serves, the last one is the one that matters and
after installing scratchbox, misc_runner has the arm binaries.
When chrooting to your emdebian root, there's no
/scratchbox/tools/bin/misc_runner, and /bin/bash cannot be executed,
hence the error message.
Regards,
Jussi
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users