[openssh]: move build dep installation to sonic-slave-buster (#8381)

install build dep causes dpkg lock issue in parallel build

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
lguohan 2021-08-09 13:48:18 -07:00 committed by shilongliu
parent 1e81d10b9c
commit b9d6eb0678
2 changed files with 2 additions and 1 deletions

View File

@ -350,6 +350,8 @@ RUN apt-get update && apt-get install -y \
libsystemd-dev \
pkg-config
RUN apt-get -y build-dep openssh
# Build fix for ARMHF buster libsairedis
{%- if CONFIGURED_ARCH == "armhf" %}
# Install doxygen build dependency packages

View File

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