From c1539e2cb01a576cc99129872516c310ba0dc9b2 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Thu, 14 Jul 2022 15:21:53 -0700 Subject: Oryx: change path of git repo download (#59) * change oryx git path * change oryx install dir * change ownership * add debian flavor * revert codespace:codespace * temp testing * attempt to fix stuck action * remove name * attempt 2 * remove name * attempt 3 * nit --- src/oryx/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/oryx/install.sh') diff --git a/src/oryx/install.sh b/src/oryx/install.sh index 1f0f94d..0aeb8bd 100755 --- a/src/oryx/install.sh +++ b/src/oryx/install.sh @@ -104,7 +104,7 @@ if ! oryx --version > /dev/null ; then BUILD_SCRIPT_GENERATOR=/usr/local/buildscriptgen ORYX=/usr/local/oryx - GIT_ORYX=/tmp/oryx + GIT_ORYX=/opt/tmp mkdir -p ${BUILD_SCRIPT_GENERATOR} mkdir -p ${ORYX} @@ -122,10 +122,10 @@ if ! oryx --version > /dev/null ; then ln -s ${BUILD_SCRIPT_GENERATOR}/GenerateBuildScript ${ORYX}/oryx cp -f $GIT_ORYX/images/build/benv.sh ${ORYX}/benv - ORYX_INSTALL_DIR="/usr/local/oryx-platforms" + ORYX_INSTALL_DIR="/opt" mkdir -p "${ORYX_INSTALL_DIR}" - updaterc "export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR && ORYX_PREFER_USER_INSTALLED_SDKS=true" + updaterc "export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR && ORYX_PREFER_USER_INSTALLED_SDKS=true && export DEBIAN_FLAVOR=focal-scm" chown -R "${USERNAME}:oryx" "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}" chmod -R g+r+w "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}" -- cgit v1.2.3