mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
tool/depot/extract: annotate version with src hash
When extracting depot archives from the source tree, retain the content hash of the extracted information along the archive in <version>.hash file. The .hash files of src and api archives become thereby usable for checking the consistency of bin archives with their ingredients. Issue #5379
This commit is contained in:
parent
7fb702a0d9
commit
4a5f80ddbf
@ -131,7 +131,7 @@ _rename_to_final_archive: _check_hash
|
||||
hint=" $(BRIGHT_COL)(new version)$(DEFAULT_COL)"; \
|
||||
test $$hash = $(ORIG_RECIPE_HASH_VALUE) || \
|
||||
$(VERSION_UPDATED_CMD); \
|
||||
rm -f $(DEPOT_ARCHIVE_DIR).hash; \
|
||||
mv $(DEPOT_ARCHIVE_DIR).hash $(DEPOT_SUB_DIR)/$$final_name.hash; \
|
||||
$(ECHO) "$(DARK_COL)created$(DEFAULT_COL)" \
|
||||
"$(USER)/$(notdir $(DEPOT_SUB_DIR))/$$final_name$$hint"; \
|
||||
true;
|
||||
|
Loading…
Reference in New Issue
Block a user