diff --git a/SConstruct b/SConstruct index fea47440cf49554..63bad43a91e9f78 100644 --- a/SConstruct +++ b/SConstruct @@ -67,7 +67,7 @@ AddOption('--pc-thneed', AddOption('--minimal', action='store_false', dest='extras', - default=os.path.exists(File('#.lfsconfig').abspath), # minimal by default on release branch (where there's no LFS) + default=os.path.islink(Dir('#rednose/').abspath), # minimal by default on release branch (where rednose is not a link) help='the minimum build to run openpilot. no tests, tools, etc.') ## Architecture name breakdown (arch) diff --git a/release/release_files.py b/release/release_files.py index afd0d468b67adca..8d80d0c3556f44c 100755 --- a/release/release_files.py +++ b/release/release_files.py @@ -14,17 +14,8 @@ "panda/examples/", "panda/tests/safety/", - "opendbc_repo/dbc/.*.dbc$", "opendbc_repo/dbc/generator/", - "cereal/.*test.*", - "^common/tests/", - - # particularly large text files - "uv.lock", - "third_party/catch2", - "selfdrive/car/tests/test_models.*", - "^tools/", "^tinygrad_repo/", @@ -122,7 +113,6 @@ "opendbc_repo/dbc/vw_mqb_2010.dbc", ] - if __name__ == "__main__": for f in Path(ROOT).rglob("**/*"): if not (f.is_file() or f.is_symlink()):