Skip to content

Commit

Permalink
[platform][barefoot] Fix sonic_platform for x86_64-accton_wedge100bf_…
Browse files Browse the repository at this point in the history
…65x-r0 (#6612)

platform modules' deb package rules for x86_64-accton_wedge100bf_65x-r0 was missing the code that installs the sonic_platform wheel package file under device directory on host (which is checked by pmon deamon on start)
  • Loading branch information
vboykox authored and daall committed Feb 16, 2021
1 parent 80b048d commit 814cf03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/barefoot/sonic-platform-modules-bfn/debian/rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/make -f

PLATFORM_NAME := x86_64-accton_wedge100bf_65x-r0
PACKAGE_NAME := sonic-platform-modules-bfn
SCRIPT_SRC := $(shell pwd)/scripts
CONFIGS_SRC := $(shell pwd)/configs
Expand All @@ -20,6 +21,8 @@ override_dh_auto_install:
cp -r $(SCRIPT_SRC)/* debian/$(PACKAGE_NAME)/usr/local/bin
dh_installdirs -p$(PACKAGE_NAME) etc/network/interfaces.d/
cp -r $(CONFIGS_SRC)/network/interfaces.d/* debian/$(PACKAGE_NAME)/etc/network/interfaces.d/
dh_installdirs -p$(PACKAGE_NAME) usr/share/sonic/device/$(PLATFORM_NAME)/
cp -r $(WHEEL_BUILD_DIR)/* debian/$(PACKAGE_NAME)/usr/share/sonic/device/$(PLATFORM_NAME)/

override_dh_usrlocal:

Expand Down

0 comments on commit 814cf03

Please sign in to comment.