Harald Hoyer d9da66
From 47f83419a711d540cf758b56c8ad4fadaa964592 Mon Sep 17 00:00:00 2001
Harald Hoyer d9da66
From: Harald Hoyer <harald@hoyer.xyz>
Harald Hoyer d9da66
Date: Thu, 11 Jan 2018 15:33:45 +0100
Harald Hoyer d9da66
Subject: [PATCH] Merge pull request #353 from lnykryn/ntfs_3
Harald Hoyer d9da66
Harald Hoyer d9da66
90dmsquash-live: we don't have find_binary inside initramdisk
Harald Hoyer d9da66
---
Harald Hoyer d9da66
 modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +-
Harald Hoyer d9da66
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer d9da66
Harald Hoyer d9da66
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh
Harald Hoyer d9da66
index 1458329c..8f3b2bf9 100755
Harald Hoyer d9da66
--- a/modules.d/90dmsquash-live/dmsquash-live-root.sh
Harald Hoyer d9da66
+++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh
Harald Hoyer d9da66
@@ -84,7 +84,7 @@ else
Harald Hoyer d9da66
         # Symlinking /usr/bin/ntfs-3g as /sbin/mount.ntfs seems to boot
Harald Hoyer d9da66
         # at the first glance, but ends with lots and lots of squashfs
Harald Hoyer d9da66
         # errors, because systemd attempts to kill the ntfs-3g process?!
Harald Hoyer d9da66
-        if [ -x "$(find_binary "ntfs-3g")" ]; then
Harald Hoyer d9da66
+        if [ -x "/usr/bin/ntfs-3g" ]; then
Harald Hoyer d9da66
             ( exec -a @ntfs-3g ntfs-3g -o ${liverw:-ro} $livedev /run/initramfs/live ) | vwarn
Harald Hoyer d9da66
         else
Harald Hoyer d9da66
             die "Failed to mount block device of live image: Missing NTFS support"
Harald Hoyer d9da66