List Info

Thread: regarding binary redirection




regarding binary redirection
country flaguser name
Taiwan
2007-06-06 10:28:18
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-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

Re: regarding binary redirection
country flaguser name
Finland
2007-06-06 11:49:38
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="$,/scra
tchbox/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-userslists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )