sonic-buildimage/platform/centec
lguohan e1ac3cfc6a
[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>
2020-07-27 10:46:20 -07:00
..
centec-dal [CENTEC] Fix compile issues for centec x86 platform image build under 4.19 (#4605) 2020-05-15 14:49:22 -07:00
docker-syncd-centec [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker-syncd-centec-rpc [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
sonic-platform-modules-e582 [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
sonic-platform-modules-embedway [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
docker-ptf-centec.mk [build]: add docker-ptf-* as stretch docker targets (#4516) 2020-05-01 11:20:33 -07:00
docker-syncd-centec-rpc.mk [CENTEC] Fix compile issues for centec x86 platform image build under 4.19 (#4605) 2020-05-15 14:49:22 -07:00
docker-syncd-centec.mk [docker-syncd-vs]: Convert syncd-vs docker to buster (#4726) 2020-06-09 09:07:25 -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
one-image.mk [devices]: Centec x86 goldengate platforms and devices update (#4248) 2020-04-17 00:38:48 -07:00
platform-modules-centec-e582.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-embedway.mk [devices]: Centec x86 goldengate platforms and devices update (#4248) 2020-04-17 00:38:48 -07:00
platform.conf Support centec platform (#376) 2017-03-04 02:17:38 -08:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
sdk.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00