diff --git a/selfdrive/test/setup_device_ci.sh b/selfdrive/test/setup_device_ci.sh index fc4d4496a7..d186f8c05f 100755 --- a/selfdrive/test/setup_device_ci.sh +++ b/selfdrive/test/setup_device_ci.sh @@ -26,8 +26,11 @@ if [ ! -d "$SOURCE_DIR" ]; then git clone --depth 1 https://github.com/commaai/openpilot.git "$SOURCE_DIR" fi -# this can get really big on the CI devices -rm -rf /data/core +if [ -f "/EON" ]; then + rm -rf /data/core + rm -rf /data/neoupdate + rm -rf /data/safe_staging +fi # set up environment cd $SOURCE_DIR