| Submitter | Laurentiu Palcu |
|---|---|
| Date | Sept. 23, 2012, 2:14 p.m. |
| Message ID | <1348409667-15468-1-git-send-email-laurentiu.palcu@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/37079/ |
| State | Accepted |
| Commit | 28823486ba8ce4d88bbad3cea696ce9fba0cc165 |
| Headers | show |
Comments
On Sun, 2012-09-23 at 17:14 +0300, Laurentiu Palcu wrote: > This is needed if installation is done in a directory that needs root > privileges. > > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> > --- > .../adt-installer/scripts/adt_installer_internal | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Merged to master, thanks. Richard
Patch
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index 63fcf60..9a13573 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal @@ -217,7 +217,7 @@ find $OECORE_NATIVE_SYSROOT -type f -exec file '{}' \;|grep ":.*ASCII.*text"|cut # change all symlinks pointing to /opt/${DISTRO}/${SDK_VERSION} for l in $(find $NATIVE_INSTALL_DIR -type l); do - ln -sf $(readlink $l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l + $SUDO ln -sf $(readlink $l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l done echo_info "\nSuccessfully installed selected native ADT!"
This is needed if installation is done in a directory that needs root privileges. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> --- .../adt-installer/scripts/adt_installer_internal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)