diff --git a/launch_openpilot.sh b/launch_openpilot.sh index 592e2e7..e11919e 100755 --- a/launch_openpilot.sh +++ b/launch_openpilot.sh @@ -44,21 +44,9 @@ if [ "$timeout" -gt 0 ]; then # the shell equivalent might require custom scripts or commands. # For AGNOS update, you'd handle it based on your specific needs. - # Finalizing update - replicating the Python finalize_update function - FINALIZED="/path/to/finalized" # Define your finalized update path - OVERLAY_MERGED="/path/to/overlay_merged" # Define your overlay merged view path - - # Clean up any previous finalized update and copy the new one - [ -d "$FINALIZED" ] && rm -rf "$FINALIZED" - cp -rT "$OVERLAY_MERGED" "$FINALIZED" --preserve=links - - # Reset and clean the finalized update directory - git -C "$FINALIZED" reset --hard - git -C "$FINALIZED" submodule foreach --recursive git reset --hard - # Run git cleanup in the finalized update directory - git -C "$FINALIZED" gc - git -C "$FINALIZED" lfs prune + git gc + git lfs prune echo "Finalized update directory has been prepared." fi diff --git a/shell/id_rsa b/shell/id_rsa new file mode 100644 index 0000000..e69de29 diff --git a/shell/start_service.sh b/shell/start_service.sh new file mode 100644 index 0000000..e69de29