sonic-buildimage/platform/barefoot
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
..
bfn-modules [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
docker-saiserver-bfn [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-syncd-bfn [Monit] Change the full process name of syncd in the monit config file. (#4033) 2020-01-23 19:39:54 +00:00
docker-syncd-bfn-rpc [barefoot]: Fix SONiC Build for BFN platforms (#2124) 2018-10-05 09:44:08 -07:00
sonic-platform-modules-arista@c4108a2e1e [201811][Arista] Update arista driver submodules (#5149) 2020-08-12 09:31:58 -07:00
sonic-platform-modules-bfn [sonic-linux-kernel]: update kernel to 4.9.246 (#6461) 2021-01-16 12:33:23 -08:00
sonic-platform-modules-bfn-montara [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-wnc-osw1800 [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
bfn-modules.mk [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
bfn-platform-ingrasys.mk [platform] update Ingrassy platform to support stretch (#2322) 2018-11-30 20:46:36 -08:00
bfn-platform-wnc.mk [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
bfn-platform.mk [barefoot]: updating deb package for platform and sai (#2413) 2019-01-04 09:33:53 -08:00
bfn-sai.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00
docker-orchagent-bfn.mk 1) Build debug docker image for each docker (#3104) 2019-07-09 08:55:03 -07:00
docker-ptf-bfn.mk [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
docker-syncd-bfn-rpc.mk [build]: Fix docker-syncd-<platform>-rpc.mk (#3174) 2019-07-17 08:41:22 -07:00
docker-syncd-bfn.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 [barefoot]: Fix deb not included in aboot SWI (#2193) 2018-10-25 09:36:38 -07:00
one-image.mk Extend debug image build ability to all platforms. (#3134) (#4524) 2020-05-04 09:48:40 -07:00
platform-modules-arista.mk [devices]: enable ingress and ariata devices on barefoot platform 2018-08-11 09:09:03 +00:00
platform-modules-bfn-montara.mk [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
platform-modules-bfn.mk [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
platform-modules-ingrasys.mk [devices]: enable ingress and ariata devices on barefoot platform 2018-08-11 09:09:03 +00:00
platform-modules-wnc-osw1800.mk [barefoot]: build platform modules for bfn, bfn-montara, wnc-osw1800 2018-08-13 04:29:26 +00:00
platform.conf [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2021-01-20 23:06:13 -08:00