Patch submission for mindi

Benoit SERRA <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Hello, 

First, I would like to thank you very much for your software, my
company is using it to backup our linux systems and test the backup on
our DRP site. 

I'm trying to use it at home to backup my debian box and I've ran into
a small problem in /usr/sbin/mindi while trying to do so. 

After a bit of research, I found that there seems to be a problem in
the following code : 

if [ $boottype = "syslinux" ]; then	FindLdlinuxe64Binary	
if [ -e "$LDLINUXE64" ]; then		LogFile "INFO: Copying
$LDLINUXE64 to $efidir"		cp $LDLINUXE64 $efidir 2>>
$LOGFILE || Die "Cannot copy $LDLINUXE64 to $efidir). Did you run out
of disk space?"		cp $LDLINUXE64/../libutil.c32 $efidir
2>> $LOGFILE || Die "Cannot copy $LDLINUXE64 to $efidir). Did you run
out of disk space?"	fifi
The problem is with this line :

cp $LDLINUXE64/../libutil.c32 $efidir 2>> $LOGFILE || Die "Cannot copy
$LDLINUXE64 to $efidir). Did you run out of disk space?"
the /../libutil.c32 leads to a "is not a directory" message

So the correct code here is : 

if [ $boottype = "syslinux" ]; then	FindLdlinuxe64Binary	
if [ -e "$LDLINUXE64" ]; then		LogFile "INFO: Copying
$LDLINUXE64 to $efidir"		cp $LDLINUXE64 $efidir 2>>
$LOGFILE || Die "Cannot copy $LDLINUXE64 to $efidir). Did you run out
of disk space?"		dir=`dirname $LDLINUXE64`		
cp $dir/libutil.c32 $efidir 2>> $LOGFILE || Die "Cannot copy
$LDLINUXE64 to $efidir). Did you run out of disk space?"	fifi
Could you please include this correction ? 

With the correction, I'm now able to backup my system. 

Thanks a lot.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.