Skip to content

Commit 018b3f0

Browse files
Copy .profile files to already existing hw_sku directories under device/virtual (sonic-net#18803)
Fix regression in sonic-swss dvs tests Microsoft ADO (number only): 27817304 How I did it Restore the .profile files back to already existing hw_sku directories under platform/virtual copy lanemap.ini file in DPU_2P hwsku
1 parent 6f86bc2 commit 018b3f0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eth1:0,1,2,3
2+
eth2:4,5,6,7

src/sonic-device-data/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
1818
for d in `find -L ../../../device -maxdepth 3 -mindepth 3 -type d | grep -vE "(plugins|led-code|sonic_platform)"`; do \
1919
# check if hwsku dir exists, if yes, then continue
2020
if [ -d device/x86_64-kvm_x86_64-r0/$$(basename $$d) ]; then \
21+
cp ./sai.vs_profile device/x86_64-kvm_x86_64-r0/$$(basename $$d)/sai.profile; \
22+
cp ./sai_mlnx.vs_profile device/x86_64-kvm_x86_64-r0/$$(basename $$d)/sai_mlnx.profile; \
23+
cp ./pai.vs_profile device/x86_64-kvm_x86_64-r0/$$(basename $$d)/pai.profile; \
24+
cp ./fabriclanemap_vs.ini device/x86_64-kvm_x86_64-r0/$$(basename $$d)/fabriclanemap.ini; \
2125
continue; \
2226
fi; \
2327
cp -Lr $$d device/x86_64-kvm_x86_64-r0/ ; \

0 commit comments

Comments
 (0)