upgrade to uci 0.2.2 - fixes uci invocations from hotplug
[15.05/openwrt.git] / package / shfs / Makefile
index a5ee79b..fd50721 100644 (file)
@@ -34,6 +34,7 @@ endef
 define KernelPackage/shfs
 $(call Package/shfs/Default)
   TITLE+= (kernel module)
+  DEPENDS:=@LINUX_2_4
   FILES:=$(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.$(LINUX_KMOD_SUFFIX)
   SUBMENU:=Filesystems
   AUTOLOAD:=$(call AutoLoad,40,shfs)
@@ -79,9 +80,9 @@ endef
 
 define Package/shfs-utils/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/bin/shfs{,u}mount $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/shfs{,u}mount $(1)/usr/bin/
        $(INSTALL_DIR) $(1)/sbin
-       $(CP) $(PKG_INSTALL_DIR)/sbin/mount.shfs $(1)/sbin/
+       ln -sf /usr/bin/shfsmount $(1)/sbin/mount.shfs
 endef
 
 $(eval $(call KernelPackage,shfs))