[build]: openssh: Fix build break when using http proxy (#6229)

The openssh build fails to retrieve dependent debian packages when operating
behind a proxy server.
This commit is contained in:
dflynn-Nokia 2020-12-18 01:12:37 -05:00 committed by GitHub
parent 169b2fb188
commit aa38022ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
stg import -s ../patch/series
# Build package
sudo apt-get -y build-dep openssh
sudo http_proxy=$(http_proxy) apt-get -y build-dep openssh
dpkg-buildpackage -rfakeroot -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS)
popd