[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:
parent
1e81d10b9c
commit
b9d6eb0678
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user