Changeset 1236 in MondoRescue for branches/2.2.2/tools/distro-env


Ignore:
Timestamp:
Mar 12, 2007, 12:23:16 AM (13 years ago)
Author:
Bruno Cornec
Message:

Port from stable important patches for 2.2.2:
mindi-busybox:

  • Improve Gentoo packaging

mindi:

  • Better messages for analyze-my-lvm
  • Add support for newer Qlogic drivers (qla2300 & 2400), mpt, dm and ohci
  • Fix a bug in mindi for the FAILSAFE support
  • PATH fixed for init in restore (/usr/games added for petris)
  • Fiw a bug where restore failing because no archive files are found when -G is used
  • /media is now completely excluded as per StandardsCompliance

mondo:

  • Handle no compression + verify correctly
  • various HOWTO fixes
  • Fix temporarily a bug when a biggiefile > 32MB was compressed below the size

of a slice (16MB)

  • Better module loading in insmod_crucial_modules
  • Improve Gentoo packaging
  • Small typo fix for mondorestore man page
  • Small memory management improvements
  • Store NFS config only once
  • Fix a flaw in libmondo-mountlist.c (there since rev [1] !!)
  • Increased MAX_STR_LEN to 384 to make it divisible without remainder by eight

for 64 bits platforms

  • Fix a bug where no bzip2 format file would be found when supporting gzip
  • CentOS fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/tools/distro-env

    r1038 r1236  
    2929        elif grep -q CentOS /etc/redhat-release ; then
    3030            export ddir="centos"
    31             export dver=`awk '{print $3}' /etc/redhat-release`
     31            export dver=`awk '{print $3}' /etc/redhat-release | cut -d. -f1`
    3232        else
    3333            export ddir="redhat"
     
    6464            export dver = "sid"
    6565        fi
    66     elif [ -e /etc/motd && grep -q FreeBSD /etc/motd ]; then
    67         export ddir="freebsd"
    68         export dver=`awk '{print $2}' /etc/motd | cut -d- -f1`
     66    elif [ -e /etc/motd ]; then
     67        head -1 /etc/motd | grep -q FreeBSD
     68        if [ $? -eq 0 ]; then
     69            export ddir="freebsd"
     70            export dver=`head -1 /etc/motd | awk '{print $2}' /etc/motd | cut -d- -f1`
     71        else
     72            export ddir="unknown"
     73            export dver=""
     74        fi
    6975    else
    7076        export ddir="unknown"
     
    148154elif [ _"$dtype" = _"deb" ]; then
    149155    mkdir -p ${TOPBUILDDIR}
     156elif [ _"$dtype" = _"port" ]; then
     157    mkdir -p ${TOPBUILDDIR}
    150158elif [ _"$dfam" = _"slackware" ]; then
    151159    mkdir -p ${TOPBUILDDIR}/install
Note: See TracChangeset for help on using the changeset viewer.