]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90dmsquash-live: we don't have find_binary inside initramdisk 353/head
authorLukas Nykryn <lnykryn@redhat.com>
Thu, 11 Jan 2018 12:31:43 +0000 (13:31 +0100)
committerLukas Nykryn <lnykryn@redhat.com>
Thu, 11 Jan 2018 12:31:43 +0000 (13:31 +0100)
modules.d/90dmsquash-live/dmsquash-live-root.sh

index 1458329c211d6d3cc100087552c610e9a66985c0..8f3b2bf99336a12082a063d77f1486a14e4e22de 100755 (executable)
@@ -84,7 +84,7 @@ else
         # Symlinking /usr/bin/ntfs-3g as /sbin/mount.ntfs seems to boot
         # at the first glance, but ends with lots and lots of squashfs
         # errors, because systemd attempts to kill the ntfs-3g process?!
-        if [ -x "$(find_binary "ntfs-3g")" ]; then
+        if [ -x "/usr/bin/ntfs-3g" ]; then
             ( exec -a @ntfs-3g ntfs-3g -o ${liverw:-ro} $livedev /run/initramfs/live ) | vwarn
         else
             die "Failed to mount block device of live image: Missing NTFS support"