Move mount binaries into usr/sbin
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: ntfs-3g
|
name: ntfs-3g
|
||||||
description: NTFS filesystem driver and utilities
|
description: NTFS filesystem driver and utilities
|
||||||
version: 2022.10.3
|
version: 2022.10.3
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://github.com/tuxera/ntfs-3g
|
url: https://github.com/tuxera/ntfs-3g
|
||||||
license: GPL2-or-later,LGPL2-or-later
|
license: GPL2-or-later,LGPL2-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -30,13 +30,10 @@ build() {
|
|||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" rootbindir=/usr/bin install
|
make DESTDIR="$BPM_OUTPUT" rootbindir=/usr/bin rootsbindir=/usr/sbin install
|
||||||
|
|
||||||
# Move mount binaries
|
|
||||||
mv "$BPM_OUTPUT"/usr/sbin/mount* -t "$BPM_OUTPUT"/usr/bin
|
|
||||||
|
|
||||||
# Create symlink for mounting NTFS partitions
|
# 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
|
# Remove documentation for non-existent file
|
||||||
rm "$BPM_OUTPUT"/usr/share/man/man8/ntfsfallocate.8
|
rm "$BPM_OUTPUT"/usr/share/man/man8/ntfsfallocate.8
|
||||||
|
|||||||
Reference in New Issue
Block a user