sonic-buildimage/platform/nephos
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
..
docker-syncd-nephos [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker-syncd-nephos-rpc [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y (#2702) 2019-04-18 02:25:51 -07:00
nephos-modules [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
sonic-platform-modules-accton [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
sonic-platform-modules-cig [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
sonic-platform-modules-ingrasys [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector (#4035) 2020-01-22 11:26:23 -08:00
sonic-platform-modules-pegatron [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
docker-ptf-nephos.mk [build]: add docker-ptf-* as stretch docker targets (#4516) 2020-05-01 11:20:33 -07:00
docker-syncd-nephos-rpc.mk [syncd-rpc.mk] install ptf dependancy (#4279) 2020-03-18 11:59:39 -07:00
docker-syncd-nephos.mk [docker-syncd-vs]: Convert syncd-vs docker to buster (#4726) 2020-06-09 09:07:25 -07:00
libsaithrift-dev.mk [nephos]: upgrade compile sdk.deb from online to dpkg and fix compile error (#2800) 2019-04-29 18:25:40 -07:00
nephos-modules.mk [platform/nephos] Optimize the code to reduce changes due to the kernel upgrade (#4332) 2020-05-21 02:21:07 -07:00
one-image.mk [Device]: Add new CIG device CS6436-54P and CS5435-54P, also update code for CS6436-56P (#4157) 2020-02-17 14:09:15 -08:00
platform-modules-accton.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-cig.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-ingrasys.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-modules-pegatron.mk [Nephos]: Add Porsch project with Nephos (#2224) 2018-11-09 14:01:43 -08:00
platform.conf [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC (#1245) 2017-12-22 10:04:29 -08:00
rules.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
sai.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00