diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2009-06-14 11:36:19 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2009-06-14 11:36:19 +0000 |
commit | af432e7a526864617c1e39ea049e745950e5bbdb (patch) | |
tree | 817a99bb43b007d61cb1fa56e4ed06e49632160d /package/fuse24/Makefile | |
parent | b744dced08f3c1f114b8fb34bf708a549cfc1684 (diff) | |
download | upstream-af432e7a526864617c1e39ea049e745950e5bbdb.tar.gz upstream-af432e7a526864617c1e39ea049e745950e5bbdb.tar.bz2 upstream-af432e7a526864617c1e39ea049e745950e5bbdb.zip |
Some fixes for fuse24.
Because sshfs expects character device to be /dev/fuse instead of /dev/misc/fuse, sshfs fails.
This patch creates fuse device at /dev/fuse instead, also for compatibility the postinstall script (only executed when manually installed per opkg) creates /dev/misc/fuse
added the dcache enabled kernel message to fuse24
Closes #5333
SVN-Revision: 16447
Diffstat (limited to 'package/fuse24/Makefile')
-rw-r--r-- | package/fuse24/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/fuse24/Makefile b/package/fuse24/Makefile index ca2076dde6..9f49d183ee 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:=1 +PKG_RELEASE:=2 PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c PKG_SOURCE_URL:=@SF/$(PKG_NAME) @@ -48,7 +48,7 @@ endef define KernelPackage/fuse24/install $(call $(Package/kmod-fuse24/install)) - echo mknod /dev/fuse -m 0666 c 10 229 >> $(1)/CONTROL/postinst + echo '[ ! -d /dev/misc ]&& umask 022 && mkdir /dev/misc ; mknod /dev/misc/fuse -m 0666 c 10 229' >> $(1)/CONTROL/postinst endef define Build/Configure @@ -107,8 +107,6 @@ endef define Build/InstallDev mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/fuse{,.h} $(1)/usr/include/ -# mkdir -p $(1)/usr/lib -# $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfuse.{a,so*} $(1)/usr/lib/ mkdir -p $(1)/usr/lib/pkgconfig $(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 |