sonic-buildimage/platform/mellanox
lguohan 22a19e87aa [build]: wait for conflicts package to be uninstalled (#5039)
when parallel build is enabled, both docker-fpm-frr and docker-syncd-brcm
is built at the same time, docker-fpm-frr requires swss which requires to
install libsaivs-dev. docker-syncd-brcm requires syncd package which requires
to install libsaibcm-dev.

since libsaivs-dev and libsaibcm-dev install the sai header in the same
location, these two packages cannot be installed at the same time. Therefore,
we need to serialize the build between these two packages. Simply uninstall
the conflict package is not enough to solve this issue. The correct solution
is to have one package wait for another package to be uninstalled.

For example, if syncd is built first, then it will install libsaibcm-dev.
Meanwhile, if the swss build job starts and tries to install libsaivs-dev,
it will first try to query if libsaibcm-dev is installed or not. if it is
installed, then it will wait until libsaibcm-dev is uninstalled. After syncd
job is finished, it will uninstall libsaibcm-dev and swss build job will be
unblocked.

To solve this issue, _UNINSTALLS is introduced to uninstall a package that
is no longer needed and to allow blocked job to continue.

Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-01-27 14:07:30 -08:00
..
docker-saiserver-mlnx [docker-saiserver]: upgrade docker saiserver to stretch for brcm/mlnx (#2983) 2019-06-08 16:27:19 -07:00
docker-syncd-mlnx [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-syncd-mlnx-rpc [Mellanox]Take advantage of sdk variable to customize the location where sdk_socket exists. (#4223) 2020-03-14 18:02:43 -07:00
hw-management [201911][Mellanox] Add hw-mgmt patch to support SDK OFFLINE event handling during ISSU (#6551) 2021-01-26 16:49:13 -08:00
issu-version [mellanox|ffb] ISSU version check (#2437) 2019-01-17 14:41:32 -08:00
mft [201911][Mellanox] Update MFT to 4.15.0-104 (#5077) 2020-08-03 13:53:33 +03:00
mlnx-platform-api [Mellanox] PSU led platform API fixes (#6214) 2020-12-24 01:11:48 -08:00
mlnx-sai [Mellanox] Update SAI submodule (#6235) 2020-12-17 09:11:50 -08:00
sdk-src [mellanox]: Update SDK to 4.4.2308, FW to *.2008.2308 (#6553) 2021-01-25 20:10:15 -08:00
.gitignore [mellanox] build SDK driver from open source (#3580) 2019-10-08 07:57:12 -07:00
docker-ptf-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-ptf-mlnx.mk [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-saiserver-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-saiserver-mlnx.mk [docker-saiserver]: upgrade docker saiserver to stretch for brcm/mlnx (#2983) 2019-06-08 16:27:19 -07:00
docker-syncd-mlnx-rpc.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-syncd-mlnx-rpc.mk [syncd-rpc.mk] install ptf dependancy (#4279) 2020-03-19 22:18:49 -07:00
docker-syncd-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-syncd-mlnx.mk [Services] Allow monit system tool to monitor the critical processes status running in various SONiC containers. (#3940) 2020-01-21 10:42:47 -08:00
fw.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
fw.mk [mellanox]: Update SDK to 4.4.2308, FW to *.2008.2308 (#6553) 2021-01-25 20:10:15 -08:00
hw-management.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
hw-management.mk [201911][Mellanox] Update hw-mgmt package to V.7.0010.1000 (#4688) 2020-06-02 14:53:09 -07:00
issu-version.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
issu-version.mk [mellanox]: Add SSD FW update tool (#4351) 2020-04-15 13:02:36 -07:00
libsaithrift-dev.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
libsaithrift-dev.mk [sai and sairedis] advance sairedis sub-module and upgrade to matching Broadcom SAI build (#2488) 2019-02-16 10:14:18 -08:00
mft.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mft.mk [201911][Mellanox] Update MFT to 4.15.0-104 (#5077) 2020-08-03 13:53:33 +03:00
mlnx-ffb.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ffb.mk [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ffb.sh [mellanox] Fix in mlnx-ffb.sh (#2676) 2019-03-18 08:53:35 -07:00
mlnx-fw-upgrade.j2 [Mellanox] Add sdk 4.4.0542 (#4227) 2020-03-14 19:07:23 -07:00
mlnx-onie-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-onie-fw-update.mk [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-onie-fw-update.sh [Mellanox] Add ONIE and SSD platform components. (#4764) 2020-06-15 13:04:44 +03:00
mlnx-platform-api.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-platform-api.mk [201911] Remove sonic-daemon-base package (#5181) 2020-08-22 17:55:27 -07:00
mlnx-sai.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-sai.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-27 14:07:30 -08:00
mlnx-ssd-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ssd-fw-update.mk [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ssd-fw-update.sh [Mellanox] Add ONIE and SSD platform components. (#4764) 2020-06-15 13:04:44 +03:00
one-image.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
one-image.mk [mellanox]: Add SSD FW update tool (#4351) 2020-04-15 13:02:36 -07:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-27 14:07:30 -08:00
sdk.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
sdk.mk [mellanox]: Update SDK to 4.4.2308, FW to *.2008.2308 (#6553) 2021-01-25 20:10:15 -08:00