Index: build/create_update_folder.sh =================================================================== diff -u -r57518f23730b9eab379efe1e0323b5bba2d8ce9e -re72967709bf35eebed5cd5dd0f61d5b8eb31b87b --- build/create_update_folder.sh (.../create_update_folder.sh) (revision 57518f23730b9eab379efe1e0323b5bba2d8ce9e) +++ build/create_update_folder.sh (.../create_update_folder.sh) (revision e72967709bf35eebed5cd5dd0f61d5b8eb31b87b) @@ -24,6 +24,7 @@ FOLDER_BIN=/home/dnavaei/workspace_UI/build/build/poky_64_release FOLDER_SRC=/home/dnavaei/workspace_UI/build/application FOLDER_DST=$1/"Update_folder" +CLOUD_SYNC_FOLDER="$FOLDER_DST/Cloud_sync" DENALI_BIN=denali FOLDER_SCR=scripts @@ -46,14 +47,15 @@ #create the destination folder mkdir -p "$FOLDER_DST" +mkdir -p "$CLOUD_SYNC_FOLDER" # Copy the required folders cp -r "$FOLDER_SRC"/"$FOLDER_SCR" "$FOLDER_DST" cp -r "$FOLDER_SRC"/"$FOLDER_FNT" "$FOLDER_DST" # The settings folder is a symbolically linked folder so L is used to copy the contents # and not the link cp -rL "$FOLDER_SRC"/"$FOLDER_SET" "$FOLDER_DST" -rm -rf "$FOLDER_DST"/"settings"/.git +#rm -rf "$FOLDER_DST/settings"/.git #move the setup scrips to the root folder of the usb mv "$FOLDER_DST"/"$FOLDER_SCR"/"$SCRIPT_SU1" "$FOLDER_DST" @@ -64,5 +66,10 @@ #copy the UI Software device binary to the root folder of the usb cp "$FOLDER_BIN"/"$DENALI_BIN" "$FOLDER_DST" +git clone ssh://git@dvm-linux02:7999/ui/cloudsync.git +git --git-dir=settings/cloudsync/.git checkout develop + +mv cloudsync "$FOLDER_DST" + #removing this script to clean up the script folder #rm "$FOLDER_DST"/"$FOLDER_SCR"/"$SCRIPT_SLF" TODO this is not needed \ No newline at end of file