[yocto] about install shell script privilege problem

Ke, Liping liping.ke at intel.com
Tue Nov 30 21:19:49 PST 2010


> Liping,
> 
> I think this is consistent with the current SDK tarball installation
> that by
> default going under /opt/poky.  Since our installer script will install
> things under /opt/poky as well, using sudo to run the script should be
> fine
> till we can install the host cross toolchain under user directory.
> 
Ok, then there's no problem.
I will later split the shell script into two parts. The outer wrapper will
be called by user with normal user. And the outer wrapper script will call
the main part with sudo so that user need not type sudo.

> Thanks,
> Jessica



More information about the yocto mailing list