Move mount binaries into usr/sbin

This commit is contained in:
2025-12-14 19:14:37 +02:00
parent 90f2d754c3
commit cf173ad023
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -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
+2 -5
View File
@@ -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