From: Chris Lamb Date: Fri, 8 Aug 2008 04:46:40 +0000 (+0100) Subject: Fix path issue with live-preseed causing noisy errors when booting. X-Git-Tag: debian/2.0.15-1~481 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=a3f5e94aedca5cebe374467749c1c94203be2a94;hp=11f6195097148e7b5738ffe29dc16061b2cfd770;p=live-boot-grml.git Fix path issue with live-preseed causing noisy errors when booting. --- diff --git a/bin/live-preseed b/bin/live-preseed index 36154ea..d98c4f3 100755 --- a/bin/live-preseed +++ b/bin/live-preseed @@ -11,10 +11,10 @@ seen="${4}" [ "${seen}" ] || seen=true -if ! (echo "SET ${question} ${value}"; echo "FSET ${question} seen ${seen}") | chroot "${1}" debconf-communicate -fnoninteractive live-initramfs >/dev/null +if ! (echo "SET ${question} ${value}"; echo "FSET ${question} seen ${seen}") | chroot "${1}" /usr/bin/debconf-communicate -fnoninteractive live-initramfs >/dev/null then -chroot "${1}" debconf-communicate -fnoninteractive live-initramfs >/dev/null << EOF +chroot "${1}" /usr/bin/debconf-communicate -fnoninteractive live-initramfs >/dev/null << EOF REGISTER debian-installer/dummy ${question} SET ${question} ${value} FSET ${question} seen ${seen}