[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:
parent
169b2fb188
commit
aa38022ca6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user