Changeset 2793 in MondoRescue for branches/2.2.8/mindi


Ignore:
Timestamp:
Apr 29, 2011, 3:37:48 PM (13 years ago)
Author:
Bruno Cornec
Message:

r2164@localhost (orig r2163): bruno | 2009-03-11 15:25:17 +0100

  • 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.8/mindi
Files:
2 edited

Legend:

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

    r2789 r2793  
    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.8/mindi/rootfs/sbin/init

    r2789 r2793  
    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.