[Scratchbox-users] regarding binary redirection

Jussi Hakala jussi.hakala at movial.fi
Wed Jun 6 19:49:38 EEST 2007


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 at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users



More information about the Scratchbox-users mailing list