5c6c2a
From 5aadb107913d8c93c787b854fcf3e2b9cd37e0d7 Mon Sep 17 00:00:00 2001
5c6c2a
From: Lukas Nykryn <lnykryn@redhat.com>
5c6c2a
Date: Thu, 11 Jan 2018 13:31:43 +0100
5c6c2a
Subject: [PATCH] 90dmsquash-live: we don't have find_binary inside initramdisk
5c6c2a
5c6c2a
Cherry-picked from: c42c387cca3ecbb3ec7cef0ee1b8dd67b64782d1
5c6c2a
Resolves: #1449410
5c6c2a
---
5c6c2a
 modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +-
5c6c2a
 1 file changed, 1 insertion(+), 1 deletion(-)
5c6c2a
5c6c2a
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh
5c6c2a
index 5fb798c7..6b3c2eb9 100755
5c6c2a
--- a/modules.d/90dmsquash-live/dmsquash-live-root.sh
5c6c2a
+++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh
5c6c2a
@@ -85,7 +85,7 @@ else
5c6c2a
         # Symlinking /usr/bin/ntfs-3g as /sbin/mount.ntfs seems to boot
5c6c2a
         # at the first glance, but ends with lots and lots of squashfs
5c6c2a
         # errors, because systemd attempts to kill the ntfs-3g process?!
5c6c2a
-        if [ -x "$(find_binary "ntfs-3g")" ]; then
5c6c2a
+        if [ -x "/usr/bin/ntfs-3g" ]; then
5c6c2a
             ( exec -a @ntfs-3g ntfs-3g -o ${liverw:-ro} $livedev /run/initramfs/live ) | vwarn
5c6c2a
         else
5c6c2a
             die "Failed to mount block device of live image: Missing NTFS support"