summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb')
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb15
1 files changed, 11 insertions, 4 deletions
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb
index 1559bfd3f9..6f5cb6cee9 100644
--- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb
+++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2017.3.23.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
8 8
9SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \ 9SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \
10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ 10 file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
11 ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-Make-build-support-usrmerge.patch','',d)} \
12" 11"
13S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}" 12S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}"
14SRC_URI[md5sum] = "d97474ae1954f772c6d2fa386a6f462c" 13SRC_URI[md5sum] = "d97474ae1954f772c6d2fa386a6f462c"
@@ -35,10 +34,18 @@ FILES_ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*"
35FILES_libntfs-3g = "${libdir}/*${SOLIBS}" 34FILES_libntfs-3g = "${libdir}/*${SOLIBS}"
36 35
37do_install_append() { 36do_install_append() {
38 # Standard mount will execute the program /sbin/mount.TYPE 37 # Standard mount will execute the program /sbin/mount.TYPE when called.
39 # when called. Add the symbolic to let mount could find ntfs. 38 # Add a symbolic link to let mount find ntfs.
40 ln -sf mount.ntfs-3g ${D}/${base_sbindir}/mount.ntfs 39 ln -sf mount.ntfs-3g ${D}${base_sbindir}/mount.ntfs
41 rmdir ${D}${libdir}/ntfs-3g 40 rmdir ${D}${libdir}/ntfs-3g
41
42 # Handle when usrmerge is in effect. Some files are installed to /sbin
43 # regardless of the value of ${base_sbindir}.
44 if [ "${base_sbindir}" != /sbin ] && [ -d ${D}/sbin ]; then
45 mkdir -p ${D}${base_sbindir}
46 mv ${D}/sbin/* ${D}${base_sbindir}
47 rmdir ${D}/sbin
48 fi
42} 49}
43 50
44# Satisfy the -dev runtime dependency 51# Satisfy the -dev runtime dependency