Changeset 2163 in MondoRescue


Ignore:
Timestamp:
Mar 11, 2009, 3:25:17 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Apply other ia64 fixes after tests feedback from Giuseppe Grassi giuseppe.grassi2_at_italtel.it

(ARCH set earlier in init and flush logs + some more print in parted2fdisk)

Location:
branches/2.2.9/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/parted2fdisk.pl

    r2158 r2163  
    3939my $fake = 0;
    4040my $mega = 1048576;
     41
     42# Immediate flushing to avoids read error from mondorestore in log files
     43$| = 1;
    4144
    4245# Determine on which arch we're running
     
    142145                if ($i =~ /^p$/) {
    143146                    fdisk_list($device,undef,\%start,\%end, 1);
     147                    print "command (m for help) send back to fake fdisk for mondorestore\n";
    144148                } elsif ($i =~ /^n$/) {
    145149                    fdisk_list($device,undef,\%start,\%end, 0);
     
    275279                } else {
    276280                    print FLOG "Unknown command: $i\n";
     281                    print "command (m for help) send back to fake fdisk for mondorestore\n";
    277282                    next;
    278283                }
  • branches/2.2.9/mindi/rootfs/sbin/init

    r2158 r2163  
    534534WelcomeMessage()
    535535{
    536     export ARCH=`uname -m`
    537 
    538536    echo "********************************************************************"
    539537    echo "MINDI-LINUX by Mondo Dev Team - web site: http://www.mondorescue.org"
     
    600598GROOVY=/tmp/groovy-stuff
    601599USER=root
    602 export PATH GROOVY USER LOGFILE
     600ARCH=`uname -m`
     601
     602export PATH GROOVY USER LOGFILE ARCH
    603603
    604604echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV})"
Note: See TracChangeset for help on using the changeset viewer.