Skip to contentSkip to conversation

fuse-exfat: fix mount detection of mount.exfat

PATCH Superseded Tom Hayward 2 participants 3 messages Mar 2, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fuse-exfat: fix mount detection of mount.exfat

When package was switched to autotools, "DESTDIR=${D}/${base_sbindir}" was removed from the recipe. This left the installation target as sbindir (/usr/sbin/). This breaks mount -t exfat /dev/sda1 /media/sda1, because mount only searches for mount.exfat in /sbin/, /sbin/fs.d/, and /sbin/fs/.

With sbindir = "${base_sbindir}", mount.exfat is installed at /sbin/mount.exfat where mount can find it.

---
 meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.2.3.bb |    1 +
 1 file changed, 1 insertion(+)
meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.2.3.bb +1 -0
index 639e33c..0db1252 100644
@@ -18,3 +18,4 @@ SRC_URI[md5sum] = "fca71e6598f79d037a3c7c969cb5710c"
 SRC_URI[sha256sum] = "f2e06eba5a21c621aac1d6da21b12a5a324fdd1e20f9c8acd357dd463c2355d9"
 
 S = "${WORKDIR}/${PN}-${PV}"
+sbindir = "${base_sbindir}"
Signature · 1 line
1.7.10.4
#1 lore raw

Can we pass correct installation path in configure instead of changing the variable itself?

Also missing your SOB line.

Quoted 34 lines · Tom Hayward

When package was switched to autotools, "DESTDIR=${D}/${base_sbindir}" was removed from the recipe. This left the installation target as sbindir (/usr/sbin/). This breaks mount -t exfat /dev/sda1 /media/sda1, because mount only searches for mount.exfat in /sbin/, /sbin/fs.d/, and /sbin/fs/.

With sbindir = "${base_sbindir}", mount.exfat is installed at /sbin/mount.exfat
where mount can find it.
---
meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.2.3.bb |
1 +

 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

exfat_1.2.3.bb b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse- exfat_1.2.3.bb
index 639e33c..0db1252 100644

meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.2.3.bb +0 -0
@@ -18,3 +18,4 @@ SRC_URI[md5sum] = "fca71e6598f79d037a3c7c969cb5710c"
 SRC_URI[sha256sum] = "f2e06eba5a21c621aac1d6da21b12a

5a324fdd1e20f9c8acd357dd463c2355d9"

S = "${WORKDIR}/${PN}-${PV}"
+sbindir = "${base_sbindir}"
--
1.7.10.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 2 lines · Martin Jansa

Can we pass correct installation path in configure instead of changing the variable itself?

Yes,

EXTRA_OECONF += "sbindir=${base_sbindir}"

accomplishes the same thing. I'll resubmit this with my sign-off.

Tom