sonic-buildimage/platform/vs/docker-sonic-vs
Saikrishna Arcot 3bbfaa1ee8
Upgrade docker-sonic-vs and docker-syncd-vs to Bullseye (#13294)
* Upgrade docker-sonic-vs and docker-syncd-vs to Bullseye

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

* iproute2: Force a new version and timestamp to be used for the package

There is an issue with Docker's overlay2 storage driver when not using
native diffs (and thus falling back to naive diff mode), which is the
case in the CI builds. The way the naive diff mode detects changes is by
comparing the file size and comparing the timestamps (specifically, I
believe it's the modification timestamp), and if there's a change there,
then it's considered a change that needs to be recorded as part of that
layer.

The problem is that with the code being added in the patch, the file
size remains the same, and the timestamp of binary files appear to be
the same timestamp as the changelog entry (likely for reproducible build
purposes). The file size remains the same likely due to extra padding
within the file introduced by relro. Because of this, Docker doesn't
detect this file has changed, and doesn't save the new file as part of
this layer.

To work around this, create a new changelog entry (with a new version as
well) with a new timestamp. This will result in the binary files having
a different timestamp, and thus will get saved by Docker as part of that
layer.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>

---------

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-03-19 21:14:27 -07:00
..
etc Keep custom rsyslog file for docker-sonic-vs (#13056) 2022-12-14 16:49:37 -08:00
frr [FRR] Switch to dplane_fpm_nl plugin instead of fpm (#12852) 2023-02-06 09:38:39 -08:00
50-default.conf [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00
asic_table.json [Dynamic buffer calc] Support dynamic buffer calculation (#6194) 2020-12-13 11:35:39 -08:00
buffermgrd.sh [Reclaim buffer] Common infrastructure update for reclaiming buffer (#9133) 2021-11-24 15:00:23 +02:00
database_config.json Remove LOGLEVEL DB since is no longer used (#12657) 2022-11-14 12:10:44 -08:00
default_chassis_cfg.json [vs]: support virtual-chassis setup in vs docker (#4709) 2020-07-29 14:20:31 -07:00
Dockerfile.j2 Upgrade docker-sonic-vs and docker-syncd-vs to Bullseye (#13294) 2023-03-19 21:14:27 -07:00
hostname.j2 [vs]: support virtual-chassis setup in vs docker (#4709) 2020-07-29 14:20:31 -07:00
hwsku.json Add support to VS platform for platform.json and DPB CLI Tests (#5192) 2020-08-20 17:10:58 -07:00
init_cfg.json.j2 [CoPP] Add always_enabled field (#9302) 2021-11-30 11:04:15 -08:00
orchagent.sh [docker-sonic-vs] Removing fake_platform variable since it is no more used (#9175) 2021-11-05 16:48:13 -07:00
platform.json [DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831) 2021-02-26 00:13:33 -08:00
port_breakout_config_db.json Introducing port_breakout_config_db.json, which will be used when you breakout port with -l option (#6034) 2020-11-25 12:47:50 -08:00
sonic-dev.gpg.key [vs]: add vlan configuration support in virtual switch (#1200) 2017-11-30 14:59:25 -08:00
start.sh [docker-sonic-vs] Removing fake_platform variable since it is no more used (#9175) 2021-11-05 16:48:13 -07:00
supervisord.conf.j2 [FRR] Switch to dplane_fpm_nl plugin instead of fpm (#12852) 2023-02-06 09:38:39 -08:00
zero_profiles.json Align threshold mode of zero buffer profile of egress_lossless_pool (#10627) 2022-04-25 21:56:05 +03:00