Move mount binaries into usr/sbin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user