mirror of
https://github.com/immortalwrt/immortalwrt
synced 2025-01-09 04:29:03 +08:00
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
0d98b3df39
commit
03ba649d2f
@ -18,17 +18,30 @@ include $(INCLUDE_DIR)/package.mk
|
||||
define Package/automount
|
||||
TITLE:=Mount autoconfig hotplug script.
|
||||
MAINTAINER:=Lean
|
||||
DEPENDS:=+block-mount +kmod-fs-exfat0 +kmod-fs-ext4 +kmod-fs-vfat +ntfs-3g \
|
||||
+kmod-usb-storage +kmod-usb-storage-extras +!TARGET_ramips:kmod-usb-storage-uas
|
||||
DEPENDS:= \
|
||||
+block-mount \
|
||||
+kmod-usb-storage \
|
||||
+kmod-usb-storage-extras \
|
||||
+!TARGET_ramips:kmod-usb-storage-uas \
|
||||
+kmod-fs-ext4 \
|
||||
+kmod-fs-exfat0 \
|
||||
+kmod-fs-vfat \
|
||||
+ntfs3-mount
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Package/automount/description
|
||||
A usb autoconfig hotplug script.
|
||||
define Package/ntfs3-mount
|
||||
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
|
||||
|
||||
define Build/Compile
|
||||
true
|
||||
endef
|
||||
|
||||
define Package/automount/install
|
||||
@ -36,4 +49,10 @@ define Package/automount/install
|
||||
$(INSTALL_BIN) ./files/15-automount $(1)/etc/hotplug.d/block/
|
||||
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,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 "$@"
|
@ -510,9 +510,11 @@ define KernelPackage/fs-ntfs3
|
||||
FILES:=$(LINUX_DIR)/fs/ntfs3/ntfs3.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,ntfs3)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-ntfs3/description
|
||||
Kernel module for NTFS3 filesystem support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-ntfs3))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user