mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #14162 from Cynerd/rpcd-mod-lxc-postinst
rpcd-mod-lxc: add postinst to reload rpcd on update/installation
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=rpcd-mod-lxc
|
PKG_NAME:=rpcd-mod-lxc
|
||||||
PKG_RELEASE=20171206
|
PKG_RELEASE=20201208
|
||||||
|
|
||||||
PKG_LICENSE:=ISC
|
PKG_LICENSE:=ISC
|
||||||
|
|
||||||
@@ -34,4 +34,9 @@ define Package/rpcd-mod-lxc/install
|
|||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/lxc.so $(1)/usr/lib/rpcd/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lib/lxc.so $(1)/usr/lib/rpcd/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/rpcd-mod-lxc/postinst
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/rpcd reload
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,rpcd-mod-lxc))
|
$(eval $(call BuildPackage,rpcd-mod-lxc))
|
||||||
|
|||||||
Reference in New Issue
Block a user