From d24b80fca4e554325fe455ac2ea2cfbaafe570e8 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 26 Jul 2024 14:40:14 -0700 Subject: [PATCH] remove body submodule (#33091) * remove body submodule * little more * fix op --- .gitmodules | 3 --- SConstruct | 1 - body | 1 - release/release_files.py | 2 -- tools/op.sh | 2 +- 5 files changed, 1 insertion(+), 8 deletions(-) delete mode 160000 body diff --git a/.gitmodules b/.gitmodules index e33902db52..20c2c848a6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,9 +10,6 @@ [submodule "rednose_repo"] path = rednose_repo url = ../../commaai/rednose.git -[submodule "body"] - path = body - url = ../../commaai/body.git [submodule "teleoprtc_repo"] path = teleoprtc_repo url = ../../commaai/teleoprtc diff --git a/SConstruct b/SConstruct index 329ebe3308..fb5c43c9ad 100644 --- a/SConstruct +++ b/SConstruct @@ -360,7 +360,6 @@ Export('messaging') # Build other submodules SConscript([ - 'body/board/SConscript', 'opendbc/can/SConscript', 'panda/SConscript', ]) diff --git a/body b/body deleted file mode 160000 index c433da944f..0000000000 --- a/body +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c433da944f0e4d974cd66601effa66a06355debe diff --git a/release/release_files.py b/release/release_files.py index 24ce6d14b3..1590807435 100755 --- a/release/release_files.py +++ b/release/release_files.py @@ -10,8 +10,6 @@ ROOT = HERE + "/.." # - minimizing release download size # - keeping the diff readable blacklist = [ - "body/STL/", - "panda/drivers/", "panda/examples/", "panda/tests/safety/", diff --git a/tools/op.sh b/tools/op.sh index 3dd375c960..d3311c81fa 100755 --- a/tools/op.sh +++ b/tools/op.sh @@ -73,7 +73,7 @@ function op_check_git() { fi echo "Checking for git submodules..." - for name in body msgq_repo opendbc panda rednose_repo tinygrad_repo; do + for name in msgq_repo opendbc panda rednose_repo tinygrad_repo; do if [[ -z $(ls $OPENPILOT_ROOT/$name) ]]; then echo -e " ↳ [${RED}✗${NC}] git submodule $name not found! Run 'git submodule update --init --recursive'" return 1