From 1e1beae2039ec198022159662f3fec71eae1d5e1 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 28 Oct 2018 22:44:58 +0100 Subject: [PATCH] - move ntfs-3g softlink creation to ntfs-3g target --- make/rootfs.mk | 2 -- make/system-tools.mk | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/make/rootfs.mk b/make/rootfs.mk index 8f768d70..5f9ff850 100644 --- a/make/rootfs.mk +++ b/make/rootfs.mk @@ -120,8 +120,6 @@ endif ln -sf crond K55crond && \ ln -sf inetd S53inetd && \ ln -sf inetd K80inetd - pushd $(BOX)/sbin && \ - ln -sf ntfs-3g mount.ntfs ifeq ($(BOXSERIES), hd1) pushd $(BOX)/lib && \ ln -sf libnxp.so libconexant.so diff --git a/make/system-tools.mk b/make/system-tools.mk index 17eb526d..c2b6d444 100644 --- a/make/system-tools.mk +++ b/make/system-tools.mk @@ -542,7 +542,8 @@ $(D)/ntfs-3g: $(ARCHIVE)/ntfs-3g_ntfsprogs-$(NTFS3G_VER).tgz | $(TARGET_DIR) --disable-library \ ; \ $(MAKE); \ - install -m 755 $(BUILD_TMP)/ntfs-3g_ntfsprogs-$(NTFS3G_VER)/src/ntfs-3g $(TARGET_DIR)/sbin/ntfs-3g + install -D -m 755 $(BUILD_TMP)/ntfs-3g_ntfsprogs-$(NTFS3G_VER)/src/ntfs-3g $(TARGET_DIR)/sbin/ntfs-3g + ln -sf ntfs-3g $(TARGET_DIR)/sbin/mount.ntfs $(REMOVE)/ntfs-3g_ntfsprogs-$(NTFS3G_VER) $(TOUCH)