Ignore:
Timestamp:
Jun 6, 2007, 1:46:19 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Avoid to backup ocfs/ocfs2 filesystems (+ afs forgotten in some places)
  • Use MINDI_TMP in analyze-my-lvm (good practice and may solve an issue with selinux)
  • export MINDI_TMP so that it may be used by subscripts
  • Suppress error messages from gunzip when testing for kernel content
  • mindi.conf isn't officially supported in that version so man page adapted
  • Fix a bug where MINDI_CACHE wasn't excluded from backup
  • Add support for Ubuntu 6.04 Dapper LTS
  • Fix a bug for CentOS/RHEL 5 where optimized libraries are located /lib/i686/nosegneg (Brandon Poyner <bpoyner_at_ccac.edu>)
  • Add support for RHAS 2.1 (rhel_2.1)

(merge -r1480:1488 $SVN_M/branches/2.2.4)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r1468 r1489  
    114114BOOT_MEDIA_MESSAGE="$mindi_boot_msg"
    115115FDISK=$MINDI_SBIN/parted2fdisk
    116 MINDI_TMP=`mktemp -d $TMPDIR/mindi.XXXXXXXXXX`
     116
     117# Now we can create what we need
     118export MINDI_TMP=`mktemp -d $TMPDIR/mindi.XXXXXXXXXX`
    117119
    118120# ----------------------------------------------------------------------------
     
    473475        echo -en "."
    474476        reason=""
    475         vanilla_lib_name=`echo "$optimized_lib_name" | sed -e 's/i[5-7]86//' -e 's/cmov//' | tr -s '/' '/'`
     477        vanilla_lib_name=`echo "$optimized_lib_name" | sed -e 's/i[5-7]86//' -e 's/cmov//' -e 's/nosegneg//' | tr -s '/' '/'`
    476478        echo "$vanilla_lib_name" >> $filelist
    477479        resolved=$vanilla_lib_name
     
    868870
    869871    # scan kernel image for initrd filessystem support
    870     lvScanRes=`dd ibs=1 skip=$lvOffset if=$lvKernelImage obs=1M 2>/dev/null | gunzip -c | strings | grep -e "$lcMagicCramfs" -e "$lcMagicExt2fs" -e "$lcMagicInitfs"`
     872    lvScanRes=`dd ibs=1 skip=$lvOffset if=$lvKernelImage obs=1M 2>/dev/null | gunzip -c 2> /dev/null | strings | grep -e "$lcMagicCramfs" -e "$lcMagicExt2fs" -e "$lcMagicInitfs"`
    871873
    872874    # determine which filesystem to use for initrd image: ext2fs, gzip'ed cpio (initramfs ) or cramfs
     
    31263128        mv $MINDI_TMP/* $MINDI_TMP/.??* $MONDO_TMP 2> /dev/null
    31273129        rmdir $MINDI_TMP
    3128         MINDI_TMP=$MONDO_TMP
     3130        export MINDI_TMP=$MONDO_TMP
    31293131        mkdir -p $MINDI_TMP
    31303132        # This is the scratch dir in mondo
Note: See TracChangeset for help on using the changeset viewer.