forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docker images rebuilt issue when building each host image (sonic-…
…net#5925) * Change back the mtime changed by applying patch * Fix bug * Fix bug * Use the grep or pattern instead to call a new grep command
- Loading branch information
1 parent
6b4751d
commit 55e9c8c
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -558,8 +558,10 @@ ALL_DEP_FILES_LIST += $(foreach pkg,$(2), $($(filter none,$($(1)_CACHE_MODE)), \ | |
$(addsuffix .$(3),$(addprefix $(2)/, $(1))) : $(2)/%.$(3) : \ | ||
$(2)/%.flags $$$$($$$$*_DEP_FILES) $$$$(if $$$$($$$$*_SMDEP_FILES), $(2)/%.smdep) | ||
@$$(eval $$*_DEP_FILES_MODIFIED := $$? ) | ||
@$$(file >$$@,$$($$*_DEP_FILES)) | ||
@cat $$@ |xargs git hash-object >[email protected] | ||
@$$(file >[email protected],$$($$*_DEP_FILES)) | ||
@cat [email protected] |xargs git hash-object >[email protected] | ||
@if ! cmp -s [email protected] [email protected]; then cp [email protected] $$@; cp [email protected] [email protected]; fi | ||
@rm -f [email protected] [email protected] | ||
@$$(if $$(MDEBUG), $$(info DEP: $$@, MOD:$$?)) | ||
endef | ||
$(eval $(call SHA_DEP_RULES, $(SONIC_MAKE_DEBS) $(SONIC_DPKG_DEBS) $(SONIC_ONLINE_DEBS) $(SONIC_COPY_DEBS), $(DEBS_PATH),dep)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters