Skip to content

Commit 51b5008

Browse files
authored
Pick dependency files in submodules. (#15142)
#### Why I did it Failed to build sonic-dhcp6relay_1.0.0-0_amd64.deb #### How I did it src/dhcprelay has git submodule. Dependency files by "git ls-files" are not picked files in submodules. Add --recurse-submodules, work again. #### How to verify it make all
1 parent 114f276 commit 51b5008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/dhcprelay.dep

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SPATH := $($(SONIC_DHCPRELAY)_SRC_PATH)
33
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/dhcprelay.mk rules/dhcprelay.dep
44
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
5-
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files))
5+
SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files --recurse-submodules))
66

77
$(SONIC_DHCPRELAY)_CACHE_MODE := GIT_CONTENT_SHA
88
$(SONIC_DHCPRELAY)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)

0 commit comments

Comments
 (0)