添加 Patch: fix_ntfs3_antfs_conflict.patch

This commit is contained in:
Hyy2001X 2022-01-08 19:52:38 +08:00
parent 70e31e68ff
commit f48f1a2a9d
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,34 @@
diff -uprN antfs-mount/Makefile antfs-mount1/Makefile
--- antfs-mount/Makefile
+++ antfs-mount1/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=antfs-mount
-PKG_RELEASE:=1
+PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
@@ -22,7 +22,7 @@ endef
define Package/antfs-mount/install
$(INSTALL_DIR) $(1)/sbin
- $(INSTALL_BIN) ./files/mount.ntfs $(1)/sbin
+ $(INSTALL_BIN) ./files/mount.antfs $(1)/sbin
endef
$(eval $(call BuildPackage,antfs-mount))
diff -uprN antfs-mount/files/mount.antfs antfs-mount1/files/mount.antfs
--- antfs-mount/files/mount.antfs
+++ antfs-mount1/files/mount.antfs
@@ -0,0 +1,3 @@
+#!/bin/sh
+mount -t antfs "$@" -o rw,noatime,async,nodiratime,relatime
+
diff -uprN antfs-mount/files/mount.ntfs antfs-mount1/files/mount.ntfs
--- antfs-mount/files/mount.ntfs
+++ antfs-mount1/files/mount.ntfs
@@ -1,2 +0,0 @@
-#!/bin/sh
-mount -t antfs "$@"

View File

@ -56,6 +56,7 @@ Firmware_Diy() {
# AddPackage svn other luci-app-ddnsto linkease/nas-packages/trunk/luci # AddPackage svn other luci-app-ddnsto linkease/nas-packages/trunk/luci
# AddPackage svn other ddnsto linkease/nas-packages/trunk/network/services # AddPackage svn other ddnsto linkease/nas-packages/trunk/network/services
patch < ${CustomFiles}/Patches/revert_remove-alterId-config.patch -p0 -d ${Home}/package/other patch < ${CustomFiles}/Patches/revert_remove-alterId-config.patch -p0 -d ${Home}/package/other
patch < ${CustomFiles}/Patches/fix_ntfs3_antfs_conflict.patch -p0 -d ${Home}/feeds/packages/utils
case "${TARGET_PROFILE}" in case "${TARGET_PROFILE}" in
d-team_newifi-d2) d-team_newifi-d2)