Changeset 1236 in MondoRescue for branches/2.2.2/tools/svn2build


Ignore:
Timestamp:
Mar 12, 2007, 12:23:16 AM (17 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/svn2build

    r1038 r1236  
    2222TAG=`cat ${TOOLHOME}/../mondo/TAG`
    2323DEST=${TOPDIR}/${VER}-$TAG
     24TEST="false"
     25OPT=""
    2426mkdir -p $DEST
    2527
     28if [ "$1" = "--test" ]; then
     29    TEST="true"
     30    OPT="-r BASE"
     31    shift
     32fi 
     33
    2634if [ "$1" = "" ]; then
    27         c="mondo-doc mindi mindi-busybox mondo"
     35    c="mondo-doc mindi mindi-busybox mondo"
    2836else
    2937    if [ "$1" = "all" ]; then
     
    4351    dest="$DEST/$p-$v"
    4452    rm -fr $dest
    45     svn export ${TOOLHOME}/../$p $dest
     53    svn $OPT export ${TOOLHOME}/../$p $dest
    4654    echo "$REVISION" > $dest/REVISION
    4755    echo "Generating SVN log file ..."
    48     svn log -v ${TOOLHOME}/../$p > $dest/svn.log
     56    svn $OPT log -v ${TOOLHOME}/../$p > $dest/svn.log
    4957
    5058    for d in `cat ${TOOLHOME}/DISTROS`; do
     
    7280                exit -1
    7381            fi
    74             echo "Using $inc customization to build SPEC file"
    7582
    7683            $TOOLHOME/mkchangelog.pl $dtype $p $MONDOTMP/$p.spec
     
    148155    echo -n "Creating $p tar files (gzip... "
    149156    tar cfphz ${DEST}/$p-$v.tar.gz $p-$v
    150     echo -n " bzip2..."
    151     tar cfphj ${DEST}/$p-$v.tar.bz2 $p-$v
     157    if [ $TEST = "false" ]; then
     158        echo -n " bzip2..."
     159        tar cfphj ${DEST}/$p-$v.tar.bz2 $p-$v
     160    fi
    152161    echo " )"
     162    if [ $TEST = "true" ]; then
     163        echo "Use source under $DEST/$p-$v"
     164    fi
    153165done
    154166
Note: See TracChangeset for help on using the changeset viewer.