sonic-buildimage/platform/centec
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-syncd-centec [Monit] Change the full process name of syncd in the monit config file. (#4033) 2020-01-23 19:39:54 +00:00
docker-syncd-centec-rpc Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
sonic-platform-modules-e582 [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
docker-orchagent-centec.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
docker-ptf-centec.mk [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638) 2017-05-26 17:18:11 -07:00
docker-syncd-centec-rpc.mk [build]: Fix docker-syncd-<platform>-rpc.mk (#3174) 2019-07-17 08:41:22 -07:00
docker-syncd-centec.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-image.mk Extend debug image build ability to all platforms. (#3134) (#4524) 2020-05-04 09:48:40 -07:00
platform-modules-centec-e582.mk [centec]update centec e582 platform drivers and libsai (#2043) 2018-11-16 09:41:39 -08: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) 2021-01-20 23:06:13 -08:00
sdk.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00