mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
dectmngr: keep /etc/dect/LA_DB during sysupgrade
This commit is contained in:
parent
98302e0523
commit
478e3a5c8b
2 changed files with 3 additions and 0 deletions
|
|
@ -55,10 +55,12 @@ TARGET_CFLAGS += \
|
|||
define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
|
||||
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/app/dectmngr $(1)/usr/sbin/
|
||||
$(STRIP) $(1)/usr/sbin/dectmngr
|
||||
$(CP) ./files/etc/* $(1)/etc/
|
||||
$(INSTALL_DATA) ./files/lib/upgrade/keep.d/dect $(1)/lib/upgrade/keep.d/dect
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
|
|
|
|||
1
dectmngr/files/lib/upgrade/keep.d/dect
Normal file
1
dectmngr/files/lib/upgrade/keep.d/dect
Normal file
|
|
@ -0,0 +1 @@
|
|||
/etc/dect/LA_DB
|
||||
Loading…
Add table
Reference in a new issue