Skip to content

Commit 775e5f8

Browse files
bratashXsanthosh-kt
authored andcommitted
[BFN] Add support pcied daemon for Montara and Newport (sonic-net#5199)
Signed-off-by: Petro Bratash <[email protected]>
1 parent a35ba7a commit 775e5f8

File tree

6 files changed

+848
-2
lines changed

6 files changed

+848
-2
lines changed

device/barefoot/x86_64-accton_as9516bf_32d-r0/pmon_daemon_control.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"skip_pcied": true,
2+
"skip_pcied": false,
33
"skip_fancontrol": true,
44
"skip_thermalctld": true,
55
"skip_ledd": true,

device/barefoot/x86_64-accton_wedge100bf_32x-r0/pmon_daemon_control.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"skip_pcied": true,
2+
"skip_pcied": false,
33
"skip_fancontrol": true,
44
"skip_thermalctld": true,
55
"skip_ledd": true,

platform/barefoot/sonic-platform-modules-bfn-montara/debian/rules

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
PACKAGE_NAME := sonic-platform-modules-bfn-montara
44
SCRIPT_SRC := $(shell pwd)/scripts
55
CONFIGS_SRC := $(shell pwd)/configs
6+
PLUGINS_DIR := $(shell pwd)/plugins
67

78
%:
89
dh $@
@@ -12,6 +13,8 @@ override_dh_auto_install:
1213
cp -r $(SCRIPT_SRC)/* debian/$(PACKAGE_NAME)/usr/local/bin
1314
dh_installdirs -p$(PACKAGE_NAME) etc/network/interfaces.d/
1415
cp -r $(CONFIGS_SRC)/network/interfaces.d/* debian/$(PACKAGE_NAME)/etc/network/interfaces.d/
16+
dh_installdirs -p$(PACKAGE_NAME) usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/plugins
17+
cp -r $(PLUGINS_DIR)/* debian/$(PACKAGE_NAME)/usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/plugins/
1518

1619
override_dh_usrlocal:
1720

0 commit comments

Comments
 (0)