Skip to content

Commit 38028d0

Browse files
roylee123lguohan
authored andcommitted
[devices/accton]: Add a separator for dh_installdirs not to take the wrong platform name. (#2810)
Signed-off-by: roy_lee <[email protected]>
1 parent ca7924e commit 38028d0

File tree

1 file changed

+3
-3
lines changed
  • platform/broadcom/sonic-platform-modules-accton/debian

1 file changed

+3
-3
lines changed

platform/broadcom/sonic-platform-modules-accton/debian/rules

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ binary-indep:
5959

6060
# Custom package commands
6161
(for mod in $(MODULE_DIRS); do \
62-
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod}/$(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
63-
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod}/usr/local/bin; \
64-
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod}/lib/systemd/system; \
62+
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} $(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
63+
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} usr/local/bin; \
64+
dh_installdirs -p$(PACKAGE_PRE_NAME)-$${mod} lib/systemd/system; \
6565
cp $(MOD_SRC_DIR)/$${mod}/$(MODULE_DIR)/*.ko debian/$(PACKAGE_PRE_NAME)-$${mod}/$(KERNEL_SRC)/$(INSTALL_MOD_DIR); \
6666
cp $(MOD_SRC_DIR)/$${mod}/$(UTILS_DIR)/* debian/$(PACKAGE_PRE_NAME)-$${mod}/usr/local/bin/; \
6767
cp $(MOD_SRC_DIR)/$${mod}/$(SERVICE_DIR)/*.service debian/$(PACKAGE_PRE_NAME)-$${mod}/lib/systemd/system/; \

0 commit comments

Comments
 (0)