mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ntfs3: add Paragon NTFS Read-Write filesystem
This commit is contained in:
parent
84e65d3ad6
commit
0f212bc1ab
28
package/lean/ntfs3-mount/Makefile
Normal file
28
package/lean/ntfs3-mount/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ntfs3-mount
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/ntfs3-mount
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
SUBMENU:=Filesystem
|
||||
TITLE:=NTFS mount script for Paragon NTFS3 driver
|
||||
PKGARCH:=all
|
||||
DEPENDS:=+kmod-fs-ntfs3
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/ntfs3-mount/install
|
||||
$(INSTALL_DIR) $(1)/sbin
|
||||
$(INSTALL_BIN) ./files/mount.ntfs3 $(1)/sbin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ntfs3-mount))
|
2
package/lean/ntfs3-mount/files/mount.ntfs3
Normal file
2
package/lean/ntfs3-mount/files/mount.ntfs3
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
mount -t ntfs3 "$@"
|
46
package/lean/ntfs3/Makefile
Normal file
46
package/lean/ntfs3/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=ntfs3
|
||||
PKG_VERSION:=5.1.1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/LGA1150/ntfs3-oot.git
|
||||
PKG_SOURCE_DATE:=2021-04-30
|
||||
PKG_SOURCE_VERSION:=4e50c89890d510fe22096bd6be3b640abf295e59
|
||||
PKG_MIRROR_HASH:=979d9befeeb4a38ac1481ddca05b81ecda08ae127a63889f22633022bca5f00c
|
||||
|
||||
PKG_MAINTAINER:=
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define KernelPackage/fs-ntfs3
|
||||
SECTION:=kernel
|
||||
CATEGORY:=Kernel modules
|
||||
SUBMENU:=Filesystems
|
||||
TITLE:=Kernel module for NTFS Read-Write file system support
|
||||
FILES:=$(PKG_BUILD_DIR)/ntfs3.ko
|
||||
AUTOLOAD:=$(call AutoProbe,ntfs3)
|
||||
DEPENDS:=+kmod-nls-base
|
||||
endef
|
||||
|
||||
define KernelPackage/ntfs3/description
|
||||
This package provides the kernel module for ntfs3.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(KERNEL_MAKE) M="$(PKG_BUILD_DIR)" \
|
||||
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
||||
$(PKG_EXTRA_KCONFIG) \
|
||||
CONFIG_NTFS3_FS=m \
|
||||
modules
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-ntfs3))
|
Loading…
Reference in New Issue
Block a user