[platform][barefoot] Fix sonic_platform for x86_64-accton_wedge100bf_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)
This commit is contained in:
parent
80b048d4d1
commit
814cf03f98
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PLATFORM_NAME := x86_64-accton_wedge100bf_65x-r0
|
||||||
PACKAGE_NAME := sonic-platform-modules-bfn
|
PACKAGE_NAME := sonic-platform-modules-bfn
|
||||||
SCRIPT_SRC := $(shell pwd)/scripts
|
SCRIPT_SRC := $(shell pwd)/scripts
|
||||||
CONFIGS_SRC := $(shell pwd)/configs
|
CONFIGS_SRC := $(shell pwd)/configs
|
||||||
@ -20,6 +21,8 @@ override_dh_auto_install:
|
|||||||
cp -r $(SCRIPT_SRC)/* debian/$(PACKAGE_NAME)/usr/local/bin
|
cp -r $(SCRIPT_SRC)/* debian/$(PACKAGE_NAME)/usr/local/bin
|
||||||
dh_installdirs -p$(PACKAGE_NAME) etc/network/interfaces.d/
|
dh_installdirs -p$(PACKAGE_NAME) etc/network/interfaces.d/
|
||||||
cp -r $(CONFIGS_SRC)/network/interfaces.d/* debian/$(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:
|
override_dh_usrlocal:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user