sonic-buildimage/rules
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
..
asyncsnmp-py3.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
asyncsnmp-py3.mk Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
bash.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
bash.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
config Update Kubernetes and kubernetes-cni versions (#5024) 2020-07-24 10:14:24 -07:00
dbsyncd-py2.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
dbsyncd-py2.mk [swsssdk]: Update nomenclature: 'sswsdk' -> 'swsssdk' (#445) 2017-03-30 11:51:05 -07:00
dhcpmon.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
dhcpmon.mk [dhcp-relay]: Add DHCP Relay Monitor (#3886) 2020-01-07 17:48:03 -08:00
docker-base-buster.dep [mgmt-framework]: convert mgmt-framework to use buster docker (#4480) 2020-04-28 15:57:13 -07:00
docker-base-buster.mk [redis] Install vanilla redis packages for Buster and Stretch; upgrade Buster to 6.0.5 (#4732) 2020-06-27 01:17:20 -07:00
docker-base-stretch.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-base-stretch.mk [redis] Install vanilla redis packages for Buster and Stretch; upgrade Buster to 6.0.5 (#4732) 2020-06-27 01:17:20 -07:00
docker-base.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-base.mk [docker-base]: Install gdbserver if INSTALL_DEBUG_TOOLS=y (#2448) 2019-01-15 15:29:52 -08:00
docker-config-engine-buster.dep [mgmt-framework]: convert mgmt-framework to use buster docker (#4480) 2020-04-28 15:57:13 -07:00
docker-config-engine-buster.mk [mgmt-framework]: convert mgmt-framework to use buster docker (#4480) 2020-04-28 15:57:13 -07:00
docker-config-engine-stretch.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-config-engine-stretch.mk [build]: make sonic-slave-stretch as the default build docker (#2921) 2019-05-27 15:50:51 -07:00
docker-config-engine.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-config-engine.mk Introduce ConfigDB (#808) 2017-08-01 19:02:00 -07:00
docker-database.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-database.mk [sonic-buildimage] Changes to make network specific sysctl common for both host and docker namespace (#4838) 2020-07-12 18:08:51 +00:00
docker-dhcp-relay.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-dhcp-relay.mk [redis] Install vanilla redis packages for Buster and Stretch; upgrade Buster to 6.0.5 (#4732) 2020-06-27 01:17:20 -07:00
docker-fpm-frr.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-fpm-frr.mk [bgpcfgd]: make a package for bgpcfgd (#4813) 2020-06-20 21:01:24 -07:00
docker-fpm-gobgp.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-fpm-gobgp.mk [Services] Restart BGP service upon unexpected critical process exit. (#4207) 2020-03-03 16:50:32 -08:00
docker-fpm-quagga.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-fpm-quagga.mk [Services] Restart BGP service upon unexpected critical process exit. (#4207) 2020-03-03 16:50:32 -08:00
docker-fpm.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-fpm.mk [build]: Added debug symbols to many debug dockers. (#3098) 2019-07-03 22:13:55 -07:00
docker-iccpd.dep [build]: DPKG caching fix for evaluation bugs (#4425) 2020-04-20 11:14:25 -07:00
docker-iccpd.mk [docker-iccpd]: Upgrade docker-iccpd to buster (#4984) 2020-07-18 00:12:59 -07:00
docker-lldp.dep [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00
docker-lldp.mk [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00
docker-nat.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-nat.mk [docker-nat]: upgrade docker-nat to buster (#4943) 2020-07-15 22:48:09 -07:00
docker-orchagent.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-orchagent.mk [docker-orchagent]: upgrade docker-orchagent to buster (#4889) 2020-07-12 18:08:51 +00:00
docker-platform-monitor.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-platform-monitor.mk Introduce sonic-py-common package (#5003) 2020-07-26 23:15:41 -07:00
docker-ptf.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-ptf.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
docker-restapi.mk [docker-restapi]: add restapi config to config Db (#4495) 2020-04-30 00:25:49 -07:00
docker-router-advertiser.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-router-advertiser.mk [redis] Install vanilla redis packages for Buster and Stretch; upgrade Buster to 6.0.5 (#4732) 2020-06-27 01:17:20 -07:00
docker-sflow.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-sflow.mk [docker-sflow]: upgrade docker-sflow on buster (#4904) 2020-07-12 18:08:52 +00:00
docker-snmp.dep [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
docker-snmp.mk Introduce sonic-py-common package (#5003) 2020-07-26 23:15:41 -07:00
docker-sonic-mgmt-framework.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-sonic-mgmt-framework.mk [redis] Install vanilla redis packages for Buster and Stretch; upgrade Buster to 6.0.5 (#4732) 2020-06-27 01:17:20 -07:00
docker-sonic-mgmt-spytest.dep Fix docker-sonic-mgmt-framework-dbg wrong dependency issue (#4314) 2020-03-24 19:32:51 +08:00
docker-sonic-mgmt.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-sonic-mgmt.mk [docker-sonic-mgmt]: set docker-sonic-mgmt as stretch docker (#4450) 2020-04-21 09:57:57 -07:00
docker-teamd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-teamd.mk [docker-team]: upgrade docker-teamd to buster (#4914) 2020-07-12 18:08:52 +00:00
docker-telemetry.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
docker-telemetry.mk [redis] Install vanilla redis packages for Buster and Stretch; upgrade Buster to 6.0.5 (#4732) 2020-06-27 01:17:20 -07:00
frr.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
frr.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
functions [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
gobgp.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
gobgp.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
hiredis.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
hiredis.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
iccpd.dep [build]: DPKG caching fix for evaluation bugs (#4425) 2020-04-20 11:14:25 -07:00
iccpd.mk [iccpd] build iccpd deb by auto tools (#4540) 2020-05-21 09:12:51 -07:00
ifupdown2.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
ifupdown2.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
initramfs-tools.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
initramfs-tools.mk [initramfs]: porting loopback file system support patch to v0.133 2020-04-17 04:51:51 +00:00
iproute2.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
iproute2.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
iptables.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
iptables.mk [docker-nat]: upgrade docker-nat to buster (#4943) 2020-07-15 22:48:09 -07:00
isc-dhcp.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
isc-dhcp.mk [docker-dhcp-relay]: convert dhcp-relay docker to buster (#4671) 2020-06-22 15:34:21 -07:00
ixgbe.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
ixgbe.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
kdump-tools.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
kdump-tools.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
libnl3.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
libnl3.mk [libnl]: Debian Packaging libnl version 3.5.0 (#3967) 2020-01-06 17:01:28 -08:00
libteam.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
libteam.mk [dvs] Install libteamdctl runtime dependency in VS docker (#4837) 2020-06-24 14:07:22 -07:00
libyang.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
libyang.mk [rules/libyang.mk]: Fix the dependencies among libyang PKGs. (#4669) 2020-05-29 16:49:20 -07:00
linux-kernel.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
linux-kernel.mk [kernel]: upgrade linux kernel to 4.9.118 (#4897) 2020-07-12 18:08:51 +00:00
lldpd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
lldpd.mk Update lldpd to latest stable version (#3905) 2020-01-24 11:52:52 -08:00
lm-sensors.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
lm-sensors.mk [dockers] update mellanox syncd and pmon to buster (#4818) 2020-07-18 03:46:15 -07:00
monit.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
monit.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
mpdecimal.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
mpdecimal.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
phy-credo.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
phy-credo.mk [arista]: Add support for bald eagle phy (#3922) 2020-01-17 10:36:12 -08:00
ptf.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
ptf.mk Integrate ptf into buildimage (#111) 2016-12-08 09:24:48 -08:00
python3.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
python-click.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
python-click.mk [baseimage]: update python-click to 7.0-1 to support python3 2020-04-17 04:51:51 +00:00
quagga.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
quagga.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
radvd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
radvd.mk [docker-radv]: Convert radv docker to buster (#4727) 2020-06-12 16:10:23 -07:00
redis-dump-load-py2.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
redis-dump-load-py2.mk Build patched redis-dump-load (#2277) 2018-11-20 19:27:56 -08:00
redis-dump-load-py3.mk [baseimage]: Build and install redis-dump-load Python 3 package in host image (#4661) 2020-05-30 05:52:27 -07:00
redis.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
redis.mk [build]: Fix make clean for redis-tools (#4903) 2020-07-12 18:08:52 +00:00
restapi.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
restapi.mk Changes to build restapi docker (#3993) 2020-01-10 13:46:32 -08:00
sairedis.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sairedis.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
scripts.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
scripts.mk [sonic-buildimage] Changes to make network specific sysctl common for both host and docker namespace (#4838) 2020-07-12 18:08:51 +00:00
sflow.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sflow.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
smartmontools.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
smartmontools.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
snmpd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
snmpd.mk Convert docker-snmp-sv2 to buster (#4529) 2020-05-14 10:23:37 -07:00
socat.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
socat.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
sonic_bgpcfgd.dep [bgpcfgd]: make a package for bgpcfgd (#4813) 2020-06-20 21:01:24 -07:00
sonic_bgpcfgd.mk [bgpcfgd]: make a package for bgpcfgd (#4813) 2020-06-20 21:01:24 -07:00
sonic-config.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-config.mk Introduce ConfigDB (#808) 2017-08-01 19:02:00 -07:00
sonic-daemon-base.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-daemon-base.mk [build] install new platform api on host (#3282) 2019-09-25 11:00:24 -07:00
sonic-device-data.dep Fix for missing dependency in the sonic device package and added .dep file for yang module (#4471) 2020-05-06 13:17:08 +08:00
sonic-device-data.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
sonic-ledd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-ledd.mk Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
sonic-mgmt-common.dep Mgmt reorg -- submodule and build rules for sonic-mgmt-common (#4765) 2020-06-22 16:01:55 -07:00
sonic-mgmt-common.mk Mgmt reorg -- submodule and build rules for sonic-mgmt-common (#4765) 2020-06-22 16:01:55 -07:00
sonic-mgmt-framework.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-mgmt-framework.mk Mgmt reorg -- submodule and build rules for sonic-mgmt-common (#4765) 2020-06-22 16:01:55 -07:00
sonic-platform-common.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-platform-common.mk [build]: add dependency of sonic-config-engine on 'sonic-platform-common' package (#3912) 2020-03-22 12:30:55 -07:00
sonic-psud.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-psud.mk [docker-platform-monitor] add psud daemon to Pmon (#2423) 2019-01-15 21:24:47 -08:00
sonic-py-common.dep Introduce sonic-py-common package (#5003) 2020-07-26 23:15:41 -07:00
sonic-py-common.mk Introduce sonic-py-common package (#5003) 2020-07-26 23:15:41 -07:00
sonic-syseepromd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-syseepromd.mk [Pmon] Add new daemon "syseepromd" to pmon docker (#2866) 2019-06-18 11:02:24 -07:00
sonic-thermalctld.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-thermalctld.mk Introduce sonic-py-common package (#5003) 2020-07-26 23:15:41 -07:00
sonic-utilities.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-utilities.mk [rules/sonic-utilities.mk]: Add sonic_yang_models as dep to sonic utils (#4869) 2020-06-29 14:44:52 -07:00
sonic-xcvrd.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-xcvrd.mk [docker-platform-monitor] make file and supervisord conf change for new xcvrd deamon (#1840) 2018-08-03 16:33:56 -07:00
sonic-yang-mgmt-py2.dep [sonic-yang-mgmt]: sonic-yang-mgmt package for configuration validation. (#3861) 2020-05-21 16:27:57 -07:00
sonic-yang-mgmt-py2.mk [sonic-yang-mgmt/setup.py]: Removing the part where build dependencies are installed in setup.py. (#4657) 2020-05-28 12:16:25 -07:00
sonic-yang-models-py3.dep Fix for missing dependency in the sonic device package and added .dep file for yang module (#4471) 2020-05-06 13:17:08 +08:00
sonic-yang-models-py3.mk [sonic-yang-mgmt/setup.py]: Removing the part where build dependencies are installed in setup.py. (#4657) 2020-05-28 12:16:25 -07:00
sonic-ztp.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
sonic-ztp.mk Install swsssdk-py3 in the base Debian image for python3 based apps (#4542) 2020-05-19 11:15:05 -07:00
supervisor.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
supervisor.mk [docker-base]: Upgrade supervisord to 3.3.3 and fix supervisord.conf (#1390) 2018-02-14 09:40:26 +08:00
swig.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
swig.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
swss-common.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
swss-common.mk [baseimage]: Build and install redis-dump-load Python 3 package in host image (#4661) 2020-05-30 05:52:27 -07:00
swss.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
swss.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
swsssdk-py2.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
swsssdk-py2.mk [baseimage]: Build and install redis-dump-load Python 3 package in host image (#4661) 2020-05-30 05:52:27 -07:00
swsssdk-py3.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
swsssdk-py3.mk [baseimage]: Build and install redis-dump-load Python 3 package in host image (#4661) 2020-05-30 05:52:27 -07:00
syncd.dep [docker-orchagent]: make build depends only on sairedis package (#4880) 2020-07-12 18:08:51 +00:00
syncd.mk [docker-orchagent]: make build depends only on sairedis package (#4880) 2020-07-12 18:08:51 +00:00
systemd-sonic-generator.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
systemd-sonic-generator.mk [build]: Move Systemd service start to systemd generator (#3172) 2019-07-29 15:52:15 -07:00
tacacs.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
tacacs.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
telemetry.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
telemetry.mk Mgmt reorg -- submodule and build rules for sonic-mgmt-common (#4765) 2020-06-22 16:01:55 -07:00
template.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
thrift.dep [build]: support for DPKG local caching (#4117) 2020-03-11 20:04:52 -07:00
thrift.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00