From e8780edca66cdcedf6f4bf2d6d723a70846429e2 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 8 Sep 2017 11:07:39 +0200 Subject: [PATCH 1/2] exfat: Update version from 1.2.6 to 1.2.7 Release notes [1]: > * Fixed handling of two last clusters: operations with files that > occupy these clusters could fail. > * Fixed crash when started with stdin, stdout or stderr closed. [1] https://github.com/relan/exfat/releases/tag/v1.2.7 --- exfat.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exfat.be0 b/exfat.be0 index 5697864f5..c8e8e86e8 100755 --- a/exfat.be0 +++ b/exfat.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION exfat-1.2.6-0 +# BEE_VERSION exfat-1.2.7-0 ## The source URL(s) array SRCURL[0]="https://github.com/relan/exfat/archive/v${PKGVERSION}.tar.gz" From dd6b7020ed1669d2cbbe7811af68cd876f7d813f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 8 Sep 2017 11:07:39 +0200 Subject: [PATCH 2/2] exfat: Create symbolic link `/sbin/mount.exfat` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently using `udisks --mount /dev/sdb1` with an exFAT partition, currently doesn’t work. Using `strace`, it looks like, `mount` only looks in `/sbin`. ``` $ sudo strace mount /scratch/local/exfat.img /scratch/local/mnt2 […] munmap(0x7f53721c7000, 266240) = 0 stat("/sbin/mount.exfat", 0x7fffaf76fa60) = -1 ENOENT (No such file or directory) stat("/sbin/fs.d/mount.exfat", 0x7fffaf76fa60) = -1 ENOENT (No such file or directory) stat("/sbin/fs/mount.exfat", 0x7fffaf76fa60) = -1 ENOENT (No such file or directory) lstat("/run/mount/utab", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/run/mount/utab", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3 close(3) […] ``` So create a symbolic link. It works then. --- exfat.be0 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exfat.be0 b/exfat.be0 index c8e8e86e8..7051085f6 100755 --- a/exfat.be0 +++ b/exfat.be0 @@ -46,3 +46,8 @@ mee_patch_post() { #mee_install() { # bee_install #} + +mee_install_post() { + start_cmd mkdir ${D}/sbin + start_cmd ln -s ${D}/usr/sbin/mount.exfat ${D}/sbin/ +}