Skip to content

Commit 738de2d

Browse files
authored
[docker-sonic-vs] Removing fake_platform variable since it is no more used (#9175)
*Removing fake_platform environment variable. Following the merge of #9044 and sonic-net/sonic-swss#1978 the fake_platform environment variable is not used in any place and removing the stale references. Signed-off-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
1 parent 4f00b86 commit 738de2d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

platform/vs/docker-sonic-vs/orchagent.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#!/usr/bin/env bash
22

33
#This is required since we have platform based checks in orchagent
4-
#fakeplatform to be removed once swss migrates to hw-sku
54

65
if [ "$HWSKU" == "Mellanox-SN2700" ]; then
76
export platform="mellanox"
8-
elif [ -n "$fake_platform" ]; then
9-
export platform=$fake_platform
107
else
118
export platform=vs
129
fi

platform/vs/docker-sonic-vs/start.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ else
5454
fi
5555
sonic-cfggen -t /usr/share/sonic/templates/copp_cfg.j2 > /etc/sonic/copp_cfg.json
5656

57-
#To be removed once swss migrates to HWSKU
58-
if [ "$fake_platform" == "mellanox" ]; then
59-
cp /usr/share/sonic/hwsku/sai_mlnx.profile /usr/share/sonic/hwsku/sai.profile
60-
fi
61-
6257
if [ "$HWSKU" == "Mellanox-SN2700" ]; then
6358
cp /usr/share/sonic/hwsku/sai_mlnx.profile /usr/share/sonic/hwsku/sai.profile
6459
fi

0 commit comments

Comments
 (0)