diff options
author | Rodolfo Giometti <giometti@linux.it> | 2017-06-28 10:49:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 07:55:45 +0100 |
commit | fbd8407248216838c700d615bb084190dedf19e0 (patch) | |
tree | 2c4dc33417472faf31d18d78925299e8fd226956 /package/libs/sysfsutils/Makefile | |
parent | 903ef9aaecfb91e91c6ffd6626dcb9660a34bbb4 (diff) | |
download | upstream-fbd8407248216838c700d615bb084190dedf19e0.tar.gz upstream-fbd8407248216838c700d615bb084190dedf19e0.tar.bz2 upstream-fbd8407248216838c700d615bb084190dedf19e0.zip |
package sysfsutils: add support for sysfs settings at boot
This patch is based on sysfsutils package's behaviour on Debian OS.
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
(backported from 2437e0f67050cad79cc1778b18cefd8d3cd86d07)
Diffstat (limited to 'package/libs/sysfsutils/Makefile')
-rw-r--r-- | package/libs/sysfsutils/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libs/sysfsutils/Makefile b/package/libs/sysfsutils/Makefile index 6265442ea8..60275ec343 100644 --- a/package/libs/sysfsutils/Makefile +++ b/package/libs/sysfsutils/Makefile @@ -65,9 +65,21 @@ define Package/libsysfs/install endef define Package/sysfsutils/install + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/sysfsutils $(1)/etc/init.d/ + + $(INSTALL_DATA) ./files/sysfs.conf $(1)/etc/ + $(INSTALL_DIR) $(1)/etc/sysfs.d + $(INSTALL_DATA) ./files/local.conf $(1)/etc/sysfs.d/ + $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/systool $(1)/usr/bin/ endef +define Package/sysfsutils/conffiles +/etc/sysfs.conf +/etc/sysfs.d/local.conf +endef + $(eval $(call BuildPackage,libsysfs)) $(eval $(call BuildPackage,sysfsutils)) |