From f83c81126c8939959efbf7b728785ce62e0269fd Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Mon, 30 Nov 2020 14:01:17 -0500 Subject: [PATCH] updated opensfm, start-dev-env script --- SuperBuild/cmake/External-OpenSfM.cmake | 2 +- start-dev-env.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SuperBuild/cmake/External-OpenSfM.cmake b/SuperBuild/cmake/External-OpenSfM.cmake index 850822dd..4452d6f3 100644 --- a/SuperBuild/cmake/External-OpenSfM.cmake +++ b/SuperBuild/cmake/External-OpenSfM.cmake @@ -9,7 +9,7 @@ ExternalProject_Add(${_proj_name} #--Download step-------------- DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/ - GIT_TAG 221 + GIT_TAG 230 #--Update/Patch step---------- UPDATE_COMMAND git submodule update --init --recursive #--Configure step------------- diff --git a/start-dev-env.sh b/start-dev-env.sh index a80778d9..323b9fe5 100755 --- a/start-dev-env.sh +++ b/start-dev-env.sh @@ -11,7 +11,7 @@ if [ "$1" = "--setup" ]; then bash configure.sh reinstall touch .setupdevenv - apt update && apt install -y vim + apt update && apt install -y vim git chown -R $3:$4 /code chown -R $3:$4 /var/www fi @@ -22,6 +22,7 @@ if [ "$1" = "--setup" ]; then echo "$2:x:$4:" >> /etc/group echo "Adding $2 to /etc/shadow" echo "$2:x:14871::::::" >> /etc/shadow + echo "$2 ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers echo "echo '' && echo '' && echo '' && echo '###################################' && echo 'ODM Dev Environment Ready. Hack on!' && echo '###################################' && echo '' && cd /code" > $HOME/.bashrc # Install qt creator