mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 05:45:15 +08:00
🤞 Sync 2026-04-23 06:19:46
This commit is contained in:
1 parent
a1df15cd3d
commit
b86d032e91
250 files changed
+41507
-188
No files matched your search
Executable
+38
@@ -0,0 +1,38 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=hotplug-generator
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/hotplug-generator
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/hotplug-generator
|
||||
TITLE:=generator of hotplug scripts
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Package/hotplug-generator/description
|
||||
This package contains additional scripts and configuration files for generation hotplug scripts
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/hotplug-generator/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(CP) ./files/hotplug.config $(1)/etc/config/hotplug
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/hotplug.init $(1)/etc/init.d/hotplug
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,hotplug-generator))
|
||||
Reference in new issue
Block a user