sonic-buildimage/platform/broadcom
lguohan 7e282b89a2 [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-20 23:06:13 -08:00
..
docker-saiserver-brcm [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-syncd-brcm [Monit] Change the full process name of syncd in the monit config file. (#4033) 2020-01-23 19:39:54 +00:00
docker-syncd-brcm-rpc Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
saibcm-modules [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-accton [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-alphanetworks [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-arista@6164b0cbbb [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-cel [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-dell [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-delta [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-ingrasys [platform] update Ingrassy platform to support stretch (#2322) 2018-11-30 20:46:36 -08:00
sonic-platform-modules-inventec [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-mitac [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo 2018-08-11 09:09:03 +00:00
sonic-platform-modules-quanta update .gitignore 2018-08-12 07:58:59 +00:00
docker-orchagent-brcm.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
docker-ptf-brcm.mk [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-saiserver-brcm.mk [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-syncd-brcm-rpc.mk [build]: Fix docker-syncd-<platform>-rpc.mk (#3174) 2019-07-17 08:41:22 -07:00
docker-syncd-brcm.mk [Services] Allow monit system tool to monitor the critical processes status running in various SONiC containers. (#3940) 2020-01-11 01:27:34 +00:00
libsaithrift-dev.mk change libsaithrift version to 0.9.4 2019-07-02 07:12:26 +00:00
one-aboot.mk [device/arista] Update Arista drivers submodule (#1376) 2018-02-08 00:12:30 +08:00
one-image.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
platform-modules-accton.mk [devices]: Add support as7726-32x platform (#2340) 2018-12-04 10:11:02 -08:00
platform-modules-alphanetworks.mk [devices]: Add snh60b0-640f device (Tomhawk2) & snh60a0-320fv2 device 32x100G (Tomhawk) (#2129) 2018-10-10 18:33:51 -07:00
platform-modules-arista.mk [arista] update arista drivers submodule (#2059) 2018-09-19 13:25:54 -07:00
platform-modules-cel.mk [platform/device] - Update Haliburton platform modules and device configuration (#1975) 2018-08-23 13:43:05 -07:00
platform-modules-dell.mk DellEMC S6100 BIOS upgrade support (#4075) 2020-01-31 11:28:59 -08:00
platform-modules-delta.mk [devices]: Add Delta Platform et-6248brb (#1640) 2018-09-01 13:25:46 -07:00
platform-modules-ingrasys.mk [build]: add stretch target to build in stretch docker 2018-08-11 09:09:03 +00:00
platform-modules-inventec.mk [device][platform] Update Inventec platform porting to support stretch (#2010) 2018-09-14 00:54:08 -07:00
platform-modules-mitac.mk [build]: add stretch target to build in stretch docker 2018-08-11 09:09:03 +00:00
platform-modules-quanta.mk [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
raw-image.mk add INSTALLS, LAZY_INSTALLS, DEPENDS targets to image build (#1159) 2017-11-16 12:27:03 -08:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00
sai-modules.mk [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sai.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00