[202211] Fix build failures after OpenSSH update to 1:8.4p1-5+deb11u2 (#17154)
Why I did it This backports #16859, and #16896 to the 202211 branch, for fixing the subsequent build failures after the OpenSSH update to 1:8.4p1-5+deb11u2. This backport is being done in a single PR to avoid breakages in PR builds. Work item tracking Microsoft ADO (number only): 25517845 How I did it How to verify it
This commit is contained in:
parent
cf66a45b8d
commit
b2088b4f72
@ -10,10 +10,10 @@ $(OPENSSH_SERVER)_DEPENDS += $(LIBNL3_DEV) $(LIBNL_ROUTE3_DEV)
|
||||
SONIC_MAKE_DEBS += $(OPENSSH_SERVER)
|
||||
|
||||
OPENSSH_CLIENT = openssh-client_$(OPENSSH_VERSION)_$(CONFIGURED_ARCH).deb
|
||||
#$(eval $(call add_derived_package,$(OPENSSH_SERVER),$(OPENSSH_CLIENT)))
|
||||
$(eval $(call add_derived_package,$(OPENSSH_SERVER),$(OPENSSH_CLIENT)))
|
||||
|
||||
OPENSSH_SFTP_SERVER = openssh-sftp-server_$(OPENSSH_VERSION)_$(CONFIGURED_ARCH).deb
|
||||
#$(eval $(call add_derived_package,$(OPENSSH_SERVER),$(OPENSSH_SFTP_SERVER)))
|
||||
$(eval $(call add_derived_package,$(OPENSSH_SERVER),$(OPENSSH_SFTP_SERVER)))
|
||||
|
||||
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
|
||||
# are archived into debug one image to facilitate debugging.
|
||||
|
2
slave.mk
2
slave.mk
@ -737,7 +737,7 @@ SONIC_TARGET_LIST += $(addprefix $(DEBS_PATH)/, $(SONIC_DPKG_DEBS))
|
||||
# we depend on it and move our deb to other targets
|
||||
# Add new dev package:
|
||||
# $(eval $(call add_derived_package,$(ORIGINAL_DEB),derived_deb_file.deb))
|
||||
$(addprefix $(DEBS_PATH)/, $(SONIC_DERIVED_DEBS)) : $(DEBS_PATH)/% : .platform $$(addsuffix -install,$$(addprefix $(DEBS_PATH)/,$$($$*_DEPENDS)))
|
||||
$(addprefix $(DEBS_PATH)/, $(SONIC_DERIVED_DEBS)) : $(DEBS_PATH)/% : .platform $$(addprefix $(DEBS_PATH)/,$$($$*_DEPENDS))
|
||||
$(HEADER)
|
||||
# All noise takes place in main deb recipe, so we are just telling that
|
||||
# we depend on it
|
||||
|
Loading…
Reference in New Issue
Block a user