diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-09 21:13:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 21:13:08 +0300 |
commit | 99bfaeb5abd69c413e89f75c9a8bf14a6ac1cee7 (patch) | |
tree | 1baa980802807e30c2ecac8121820f458f8fd998 /src/oryx/install.sh | |
parent | b9914bad933fd6ddf4ce0694f0d910bc6ae0cf8b (diff) |
oryx: change and own DYNAMIC_INSTALL_ROOT_DIR
Diffstat (limited to 'src/oryx/install.sh')
-rwxr-xr-x | src/oryx/install.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/oryx/install.sh b/src/oryx/install.sh index 2a41dd7..0c5b937 100755 --- a/src/oryx/install.sh +++ b/src/oryx/install.sh @@ -118,8 +118,11 @@ if ! oryx --version > /dev/null ; then ln -s ${BUILD_SCRIPT_GENERATOR}/GenerateBuildScript ${ORYX}/oryx cp -f $GIT_ORYX/images/build/benv.sh ${ORYX}/benv - updaterc "export PATH=$PATH:/usr/local/oryx && export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=/usr/local" - chown -R ${USERNAME} /usr/local/ + ORYX_INSTALL_DIR="/tmp/oryx-platforms" + mkdir -p "${ORYX_INSTALL_DIR}" + chown -R ${USERNAME} "${ORYX_INSTALL_DIR}" + + updaterc "export PATH=$PATH:/usr/local/oryx && export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR" fi echo "Done!" |