Move mount binaries into usr/sbin
This commit is contained in:
@@ -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