diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-04-07 12:01:44 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-04-07 12:01:56 +0200 |
commit | 4ec10da2fe73eb4dd17993a475673472d5e1047f (patch) | |
tree | 0afb9bc08422290f81ea05eb0dbfbb45710e536a /package/system | |
parent | ff09905a468b4cc44f039a76568e8fe6cbaea8d9 (diff) | |
download | upstream-4ec10da2fe73eb4dd17993a475673472d5e1047f.tar.gz upstream-4ec10da2fe73eb4dd17993a475673472d5e1047f.tar.bz2 upstream-4ec10da2fe73eb4dd17993a475673472d5e1047f.zip |
ubox: add example /etc/modules.conf + conffiles entry
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/system')
-rw-r--r-- | package/system/ubox/Makefile | 7 | ||||
-rw-r--r-- | package/system/ubox/files/modules.conf | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index 5f5570cd22..d295778e60 100644 --- a/package/system/ubox/Makefile +++ b/package/system/ubox/Makefile @@ -33,6 +33,10 @@ define Package/ubox 100:/sbin/modprobe:/sbin/kmodloader endef +define Package/ubox/conffiles +/etc/modules.conf +endef + define Package/getrandom SECTION:=base CATEGORY:=Base system @@ -53,10 +57,11 @@ define Package/getrandom/install endef define Package/ubox/install - $(INSTALL_DIR) $(1)/sbin $(1)/usr/sbin $(1)/lib $(1)/usr/bin + $(INSTALL_DIR) $(1)/sbin $(1)/usr/sbin $(1)/lib $(1)/usr/bin $(1)/etc $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{kmodloader,validate_data} $(1)/sbin/ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libvalidate.so $(1)/lib + $(INSTALL_DATA) ./files/modules.conf $(1)/etc/modules.conf endef define Package/logd/install diff --git a/package/system/ubox/files/modules.conf b/package/system/ubox/files/modules.conf new file mode 100644 index 0000000000..f54345fe4f --- /dev/null +++ b/package/system/ubox/files/modules.conf @@ -0,0 +1,3 @@ +# examples: +# options mod1 option=val +# blacklist mod2 |