mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
ntfs-3g_ntfsprogs: use unified /usr
This commit is contained in:
parent
d260d4f905
commit
602106cfd8
@ -31,7 +31,8 @@ PKG_LONGDESC="The NTFS-3G_ntfsprogs driver is an open source, freely available N
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
|
PKG_CONFIGURE_OPTS_TARGET="--exec-prefix=/usr/ \
|
||||||
|
--disable-dependency-tracking \
|
||||||
--disable-library \
|
--disable-library \
|
||||||
--enable-posix-acls \
|
--enable-posix-acls \
|
||||||
--enable-mtab \
|
--enable-mtab \
|
||||||
@ -42,11 +43,18 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
|
|||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
# dont include ntfsprogs.
|
# dont include ntfsprogs.
|
||||||
rm -rf $INSTALL/usr/sbin
|
for i in $INSTALL/usr/bin/*; do
|
||||||
rm -rf $INSTALL/usr/bin
|
if [ "$(basename $i)" != "ntfs-3g" ]; then
|
||||||
rm -rf $INSTALL/bin/lowntfs-3g
|
rm $i
|
||||||
rm -rf $INSTALL/sbin/mount.lowntfs-3g
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
mkdir -p $INSTALL/sbin
|
rm -rf $INSTALL/sbin
|
||||||
ln -sf /bin/ntfs-3g $INSTALL/sbin/mount.ntfs
|
rm -rf $INSTALL/usr/sbin/ntfsclone
|
||||||
|
rm -rf $INSTALL/usr/sbin/ntfscp
|
||||||
|
rm -rf $INSTALL/usr/sbin/ntfsundelete
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/sbin
|
||||||
|
ln -sf /usr/bin/ntfs-3g $INSTALL/usr/sbin/mount.ntfs
|
||||||
|
ln -sf /usr/sbin/mkntfs $INSTALL/usr/sbin/mkfs.ntfs
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user