oryx: change and own DYNAMIC_INSTALL_ROOT_DIR
This commit is contained in:
parent
b9914bad93
commit
99bfaeb5ab
2 changed files with 6 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
"PATH": "usr/local/oryx:${PATH}",
|
"PATH": "usr/local/oryx:${PATH}",
|
||||||
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
|
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
|
||||||
"ENABLE_DYNAMIC_INSTALL": "true",
|
"ENABLE_DYNAMIC_INSTALL": "true",
|
||||||
"DYNAMIC_INSTALL_ROOT_DIR": "/usr/local"
|
"DYNAMIC_INSTALL_ROOT_DIR": "/tmp/oryx-platforms"
|
||||||
},
|
},
|
||||||
"install": {
|
"install": {
|
||||||
"app": "",
|
"app": "",
|
||||||
|
|
|
@ -118,8 +118,11 @@ if ! oryx --version > /dev/null ; then
|
||||||
ln -s ${BUILD_SCRIPT_GENERATOR}/GenerateBuildScript ${ORYX}/oryx
|
ln -s ${BUILD_SCRIPT_GENERATOR}/GenerateBuildScript ${ORYX}/oryx
|
||||||
cp -f $GIT_ORYX/images/build/benv.sh ${ORYX}/benv
|
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"
|
ORYX_INSTALL_DIR="/tmp/oryx-platforms"
|
||||||
chown -R ${USERNAME} /usr/local/
|
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
|
fi
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
Loading…
Reference in a new issue