We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd459d commit 1a26107Copy full SHA for 1a26107
build/images/assembly/make_assembly_config.py
@@ -39,7 +39,13 @@ def main():
39
40
if args.cache_packages_list is not None:
41
cache_packages_list = json.load(args.cache_packages_list)
42
- config["cache"] = cache_packages_list
+
43
+ # Strip all base pkgs from the cache pkgs set, so there are no
44
+ # duplicates across the two sets.
45
+ cache_packages_set = set(cache_packages_list)
46
+ cache_packages_set.difference_update(config["base"])
47
48
+ config["cache"] = list(sorted(cache_packages_set))
49
50
extra_packages = []
51
if args.extra_files_packages_list is not None:
0 commit comments