summaryrefslogtreecommitdiffstats
path: root/package/fuse24
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-21 18:43:22 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-21 18:43:22 +0000
commit0c5595cd069ed6768ec832b1c8a4328b9dc54d0e (patch)
tree097ce2f5e4839c0acabc59127f1ae93f352e6744 /package/fuse24
parent6bacf3c99f2f1743328317812e3bee3d18b9b5f9 (diff)
[package] create fuse24 device on startup (#5349)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16949 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/fuse24')
-rw-r--r--package/fuse24/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/fuse24/Makefile b/package/fuse24/Makefile
index 9f49d183e..0604bd3a8 100644
--- a/package/fuse24/Makefile
+++ b/package/fuse24/Makefile
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=fuse
PKG_VERSION:=2.5.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
@@ -48,7 +48,9 @@ endef
define KernelPackage/fuse24/install
$(call $(Package/kmod-fuse24/install))
- echo '[ ! -d /dev/misc ]&& umask 022 && mkdir /dev/misc ; mknod /dev/misc/fuse -m 0666 c 10 229' >> $(1)/CONTROL/postinst
+ $(INSTALL_DIR) $(1)/etc/init.d
+ # symlinks /dev/misc/fuse to /dev/fuse on startup
+ $(INSTALL_BIN) ./files/fuse24.init $(1)/etc/init.d/fuse24
endef
define Build/Configure
@@ -111,7 +113,6 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fuse.pc $(1)/usr/lib/pkgconfig/
$(SED) 's,-I$$$${includedir}/fuse,,g' $(1)/usr/lib/pkgconfig/fuse.pc
$(SED) 's,-L$$$${libdir},,g' $(1)/usr/lib/pkgconfig/fuse.pc
- #echo mknod /dev/fuse -m 0666 c 10 229 >> $(PKG_BUILD_DIR)/ipkg/kmod-fuse24/CONTROL/postinst
endef
$(eval $(call KernelPackage,fuse24))