mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26: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_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
|
||||
PKG_CONFIGURE_OPTS_TARGET="--exec-prefix=/usr/ \
|
||||
--disable-dependency-tracking \
|
||||
--disable-library \
|
||||
--enable-posix-acls \
|
||||
--enable-mtab \
|
||||
@ -42,11 +43,18 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
|
||||
|
||||
post_makeinstall_target() {
|
||||
# dont include ntfsprogs.
|
||||
rm -rf $INSTALL/usr/sbin
|
||||
rm -rf $INSTALL/usr/bin
|
||||
rm -rf $INSTALL/bin/lowntfs-3g
|
||||
rm -rf $INSTALL/sbin/mount.lowntfs-3g
|
||||
for i in $INSTALL/usr/bin/*; do
|
||||
if [ "$(basename $i)" != "ntfs-3g" ]; then
|
||||
rm $i
|
||||
fi
|
||||
done
|
||||
|
||||
mkdir -p $INSTALL/sbin
|
||||
ln -sf /bin/ntfs-3g $INSTALL/sbin/mount.ntfs
|
||||
rm -rf $INSTALL/sbin
|
||||
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