[yocto] pseudo - few general questions

Mark Hatle mark.hatle at windriver.com
Wed Nov 1 06:49:14 PDT 2017


On 11/1/17 4:17 AM, Pavlina Varekova wrote:
> Hi,
> thank you very much. It sounds good. So I tried replace fakechroot with pseudo.
> I read man pages and replace:
> 
> FAKECHROOT_BASE="${DIR1}" fakechroot  command
> 
> with:
> 
> %{PATH/TO/PSEUDO/}bin/pseudo  -r "${DIR1}" -P %{PATH/TO/PSEUDO/} command
> 
> But it does not work good. Probably some variable is set differently.
> Please is the replacement correct?
> 
> Pavlina

I always run pseudo, then once the shell opens then run 'chroot <path>' within
pseudo.

The system will still execute commands outside of the 'chroot', but any
application looking at the file filesystem will appear to be constrained.

--Mark



More information about the yocto mailing list