]> code.ossystems Code Review - openembedded-core.git/commit
adt-installer: check if sudo is needed when installing target sysroot
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 25 Sep 2013 15:40:28 +0000 (15:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Sep 2013 15:37:13 +0000 (16:37 +0100)
commit5acfced041477d8c272485196e87ad601a0ce5b4
treed160efa75a02e27e288cebf1d8d6b47561397b2f
parentf91226553e39439bfd17ab2b06c56cb8bf41061b
adt-installer: check if sudo is needed when installing target sysroot

Currently, if SDK is installed in a directory that needs sudo
preivileges, the target sysroot is also installed with sudo, even though
the location is in users's home directory.

This patch reuses the ownership checking code and uses it to check if
sudo is needed for target sysroot too.

[YOCTO #5259]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal