sonic-buildimage/platform/marvell
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-mrvl [Monit] Change the full process name of syncd in the monit config file. (#4033) 2020-01-23 19:39:54 +00:00
docker-syncd-mrvl-rpc Add Marvell platform (#765) 2017-08-19 01:57:36 -07:00
sai Add Marvell platform (#765) 2017-08-19 01:57:36 -07:00
sdk Add Marvell platform (#765) 2017-08-19 01:57:36 -07:00
docker-orchagent-mrvl.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
docker-syncd-mrvl-rpc.mk [build]: Fix docker-syncd-<platform>-rpc.mk (#3174) 2019-07-17 08:41:22 -07:00
docker-syncd-mrvl.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.conf Add Marvell platform (#765) 2017-08-19 01:57:36 -07:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00
sai.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00
sdk.mk Marvell's updates for SONiC 201803 over SAI v1.2 (#1588) 2018-04-11 16:52:58 -07:00