From cf173ad0230f863858c3adbbf74f7830f67c5e31 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 14 Dec 2025 19:14:37 +0200 Subject: [PATCH] Move mount binaries into usr/sbin --- pkg.info | 2 +- source.sh | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pkg.info b/pkg.info index 4593af9..c5c93f6 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: ntfs-3g description: NTFS filesystem driver and utilities version: 2022.10.3 -revision: 1 +revision: 2 url: https://github.com/tuxera/ntfs-3g license: GPL2-or-later,LGPL2-or-later architecture: any diff --git a/source.sh b/source.sh index f8dd006..d03b38b 100644 --- a/source.sh +++ b/source.sh @@ -30,13 +30,10 @@ build() { # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - make DESTDIR="$BPM_OUTPUT" rootbindir=/usr/bin install - - # Move mount binaries - mv "$BPM_OUTPUT"/usr/sbin/mount* -t "$BPM_OUTPUT"/usr/bin + make DESTDIR="$BPM_OUTPUT" rootbindir=/usr/bin rootsbindir=/usr/sbin install # Create symlink for mounting NTFS partitions - ln -sf ntfs-3g "${BPM_OUTPUT}"/usr/bin/mount.ntfs + ln -sf ../bin/ntfs-3g "${BPM_OUTPUT}"/usr/sbin/mount.ntfs # Remove documentation for non-existent file rm "$BPM_OUTPUT"/usr/share/man/man8/ntfsfallocate.8