diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-10-27 19:57:51 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2014-10-27 20:14:16 +0800 |
commit | 48e14f7ea380f0e38c906fab7e9b4b4226f38ba6 (patch) | |
tree | b69ccc0bbff7c2638b6deb3ce09dbda3fac451d5 /meta/recipes-devtools/autoconf | |
parent | 4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb (diff) | |
download | openembedded-core-contrib-ChenQi/SDK-installation.tar.gz |
toolchain-shar-template.sh: fix installation of SDKChenQi/SDK-installation
Previously, the installation of our SDK is not consistent.
For example, there's a user with user name 'test' and group name 'test', and
the user has sudo privilege. First, the user tries to install the SDK to his
own home directory /home/test, and the SDK files are installed with 'test' as
their owner. Then, the user tries to install the SDK to /opt/ directory which
is owned by root, and the SDK files are installed with 'root' as their owner.
We can see from the above example the same SDK would result in different
installation results only because the installation directories are different.
In fact, in the second use case above, the user has to use the `sudo' command
every time whenever he/she wants to perform some action with the SDK.
This patch fixes the above problems by installing the SDK with the current user
as the owner of the installed files.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/autoconf')
0 files changed, 0 insertions, 0 deletions