automount: replace ntfs-3g with ntfs3
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit ae33780967)
This commit is contained in:
parent
703e226232
commit
cd5efba6af
@ -11,24 +11,40 @@ PKG_NAME:=automount
|
|||||||
PKG_FLAGS:=nonshared
|
PKG_FLAGS:=nonshared
|
||||||
PKG_RELEASE:=$(COMMITCOUNT)
|
PKG_RELEASE:=$(COMMITCOUNT)
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:=CONFIG_TARGET_ramips
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
CONFIG_LINUX_4_19 \
|
||||||
|
CONFIG_TARGET_ramips
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/automount
|
define Package/automount
|
||||||
TITLE:=Mount autoconfig hotplug script.
|
TITLE:=Mount autoconfig hotplug script.
|
||||||
MAINTAINER:=Lean
|
MAINTAINER:=Lean
|
||||||
DEPENDS:=+block-mount +kmod-fs-exfat +kmod-fs-ext4 +kmod-fs-vfat +ntfs-3g \
|
DEPENDS:= \
|
||||||
+kmod-usb-storage +kmod-usb-storage-extras +!TARGET_ramips:kmod-usb-storage-uas
|
+block-mount \
|
||||||
|
+kmod-usb-storage \
|
||||||
|
+kmod-usb-storage-extras \
|
||||||
|
+!TARGET_ramips:kmod-usb-storage-uas \
|
||||||
|
+kmod-fs-ext4 \
|
||||||
|
+kmod-fs-exfat \
|
||||||
|
+kmod-fs-vfat \
|
||||||
|
+LINUX_4_19:ntfs3-mount \
|
||||||
|
+!LINUX_4_19:ntfs-3g
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/automount/description
|
define Package/ntfs3-mount
|
||||||
A usb autoconfig hotplug script.
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
SUBMENU:=Filesystem
|
||||||
|
TITLE:=NTFS mount script for Paragon NTFS3 driver
|
||||||
|
DEPENDS:=+kmod-fs-ntfs3
|
||||||
|
CONFLICTS:=ntfs-3g
|
||||||
|
VARIANT:=ntfs3-mount
|
||||||
|
PKGARCH:=all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
true
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/automount/install
|
define Package/automount/install
|
||||||
@ -36,4 +52,10 @@ define Package/automount/install
|
|||||||
$(INSTALL_BIN) ./files/15-automount $(1)/etc/hotplug.d/block/
|
$(INSTALL_BIN) ./files/15-automount $(1)/etc/hotplug.d/block/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ntfs3-mount/install
|
||||||
|
$(INSTALL_DIR) $(1)/sbin
|
||||||
|
$(INSTALL_BIN) ./files/mount.ntfs $(1)/sbin
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,automount))
|
$(eval $(call BuildPackage,automount))
|
||||||
|
$(eval $(call BuildPackage,ntfs3-mount))
|
||||||
|
|||||||
2
package/emortal/automount/files/mount.ntfs
Normal file
2
package/emortal/automount/files/mount.ntfs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
mount -t ntfs3 -o iocharset=utf8 "$@"
|
||||||
Loading…
Reference in New Issue
Block a user