Package: mindi
Version: 1.04-4
Severity: important
Tags: patch
mindi is looking for LVM-Tools resolving symlinks and guessing paths in
a way that makes me completely messed. In my lvm-200 system, it fails to
find several utilities which reside in /sbin:
# mindi
lilo.real found; will be used instead of lilo (*grumble* *mutter*)
Changing TMP_ROOT to /home because you're using tmpfs for /tmp
Mindi Linux mini-distro generator v1.04 by Hugo Rabson
Latest Mindi is available from http://www.mondorescue.org
BusyBox sources are available from http://www.busybox.net
------------------------------------------------------------------------------
Do you want to use your own kernel to build the boot disk (y/n) ?y
Would you like to use LILO (instead of syslinux)
for your boot CD/floppies (y/n) ?n
Analyzing dependency requirements 92%
|Where are your LVM-Tools? Couldn't find /sbin/lvmcreate_initrd
Where are your LVM-Tools? Couldn't find /sbin/lvmiopversion
Where are your LVM-Tools? Couldn't find /sbin/pvdata
I hope this patch should provide with a safe workaround on this bug.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8)
Versions of packages mindi depends on:
ii bzip2 1.0.2-7 high-quality block-sorting file co
ii file 4.12-1 Determines file type using "magic"
ii gawk 1:3.1.4-2 GNU awk, a pattern scanning and pr
ii mindi-busybox 1.00-4 Collection of shell utilities in a
ii mindi-kernel 2.4.27-2 failsafe Linux kernel for Mindi/Mo
ii mindi-partimagehack 0.6.2-4 disk partition imaging utility for
ii mkisofs 4:2.01+01a01-2 Creates ISO-9660 CD-ROM filesystem
ii ms-sys 1.1.3-1 Write a Microsoft compatible boot
ii nano 1.2.4-5 free Pico clone with some new feat
ii parted 1.6.21-1 The GNU Parted disk partition resi
ii syslinux 2.11-0.1 Bootloader for Linux/i386 using MS
-- no debconf information
--- /usr/sbin/mindi 2006-02-06 20:35:55.934350458 +0300
+++ /usr/local/sbin/mindi 2006-02-06 20:40:58.544233314 +0300
@@ -811,12 +811,18 @@
echo "$tool" >> $tempfile
else
toolpath="/lib/lvm-"$lvmversion"/"$toolstripped
- fi
- if [ -e "$toolpath" ] ; then
- echo "$toolpath" >> $tempfile
- echo "$tool" >> $tempfile
- else
- echo "Where are your LVM-Tools? Couldn't find $tool"
+ if [ -e "$toolpath" ] ; then
+ echo "$toolpath" >> $tempfile
+ echo "$tool" >> $tempfile
+ else
+ toolpath=$tool
+ if [ -e "$toolpath" ] ; then
+ echo "$toolpath" >> $tempfile
+ echo "$tool" >> $tempfile
+ else
+ echo "Where are your LVM-Tools? Couldn't find
$tool"
+ fi
+ fi
fi
else
echo "$tool" >> $tempfile