From e9e9dc310594a0a587aa5d89156be68f62c92881 Mon Sep 17 00:00:00 2001 From: pavel-shirshov Date: Thu, 18 Apr 2019 13:45:04 -0700 Subject: [PATCH] Add a comment to fix the docker issue (#442) * Add a comment to fix the docker issue Fixing https://github.com/Azure/sonic-buildimage/issues/2694 Which was caused by https://github.com/moby/moby/issues/38072 Fixing by changing file size. Previously the change from 0 to 1 didn't change the file size, and docker squish optimized the change out. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 7282b1bfe3b1..164f22859383 100755 --- a/debian/rules +++ b/debian/rules @@ -55,7 +55,7 @@ override_dh_auto_configure: override_dh_install: dh_install ifeq ($(shell cat /tmp/syncd-build), --enable-rpcserver=yes) - sed -i 's/ENABLE_SAITHRIFT=0/ENABLE_SAITHRIFT=1/' debian/syncd-rpc/usr/bin/syncd_init_common.sh + sed -i 's|ENABLE_SAITHRIFT=0|ENABLE_SAITHRIFT=1 # Add a comment to fix https://github.com/Azure/sonic-buildimage/issues/2694 |' debian/syncd-rpc/usr/bin/syncd_init_common.sh endif override_dh_installinit: