From: Lukas Nykryn Date: Thu, 11 Jan 2018 12:31:43 +0000 (+0100) Subject: 90dmsquash-live: we don't have find_binary inside initramdisk X-Git-Tag: 047~36^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F353%2Fhead;p=thirdparty%2Fdracut.git 90dmsquash-live: we don't have find_binary inside initramdisk --- diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index 1458329c2..8f3b2bf99 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -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"