Scratchbox redirects the /bin/ls to /scratchbox/tools/bin/ls.
You need to use [1] to circumvent the problem. If you don't execute ls
using absolute path, you'll need also [2].
For further details, see [3].
[1] export SBOX_REDIRECT_IGNORE=/bin/ls
[2] export
SBOX_REDIRECT_BINARIES="${SBOX_REDIRECT_BINARIES},/scratchbox/tools/bin/ls:/bin/ls"
[3] /scratchbox/doc/variables.txt
Regards,
Jussi
Max wrote:
hello,
I had built busybox successfully and installed it to / of target system.
when I issue ls command, it always runs the ls of host version.
how do I change it to run the /bin/ls of target system as default?
I changed the PATH via "export PATH=/bin:$PATH" but it doesn't work, why?
thank you
Max
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users