[Dell] S6100 - Copy files in platform path to platform deb (#16569)
To include files in path platform/broadcom/sonic-platform-modules-dell/s6100/bin during build in Dell S6100 platform deb package. How I did it During Dell S6100 platform deb package build, copy the files to the install location. How to verify it - Copy the required files to platform/broadcom/sonic-platform-modules-dell/s6100/bin. - Build the SONiC image and install in a Dell S6100 device. - The files will be available in /usr/share/sonic/device/x86_64-dell_s6100_c2538-r0/bin/.
This commit is contained in:
parent
35313c9828
commit
24259ddd61
@ -105,6 +105,9 @@ override_dh_auto_install:
|
||||
if [ $$mod = "s6000" ]; then \
|
||||
dh_installdirs -pplatform-modules-$${mod} usr/local/bin ; \
|
||||
cp -r $(MOD_SRC_DIR)/$${mod}/scripts/* debian/platform-modules-$${mod}/usr/local/bin; \
|
||||
elif [ $$mod = "s6100" ] && [ -d $(MOD_SRC_DIR)/$${mod}/bin ] && [ -n "$$(ls -A $(MOD_SRC_DIR)/$${mod}/bin)" ]; then \
|
||||
dh_installdirs -pplatform-modules-$${mod} usr/share/sonic/device/x86_64-dell_s6100_c2538-r0/bin; \
|
||||
cp $(MOD_SRC_DIR)/$${mod}/bin/* debian/platform-modules-$${mod}/usr/share/sonic/device/x86_64-dell_s6100_c2538-r0/bin; \
|
||||
fi; \
|
||||
done); \
|
||||
set +e
|
||||
|
Loading…
Reference in New Issue
Block a user