Changeset 3154 in MondoRescue for branches/3.0/mindi/mindi


Ignore:
Timestamp:
Jun 23, 2013, 12:34:33 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Remove the introduction of LogProgress in ListKernelModulePaths which should stay quiet
  • Remove a remaining support of max-noof-media in confidure.in now gone.
  • Fix #640 by cleaning up fully the managemnt of tmpdir and scratchdir (one function for the creation, one point of removal at end, intermediate removal if needed, clean naming conventions, unify mkdtemp usage, remove sensibly_set_tmpdir_and_scratchdir function). Consequence is that default dir for scratchdir if nothing else specified is /tmp using CLI and the largest partition using the GUI.
  • Fix a bug introduced in process_the_s_switch with intermediate variables which weren't initialized correctly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3149 r3154  
    841841### Sq-Mod End
    842842###
    843     noof_lines=0
    844843    # Get rid of duplicates, so that if a live kernel module also appears
    845844    # in $EXTRA_MODS that it won't get reported as "live module file not found" twice.
    846     for module in `echo $module_list $EXTRA_MODS | tr ' ' '\n' | sort -u` ; do
    847         noof_lines=$(($noof_lines+1))
    848     done
    849     progress=0
    850845    for module in `echo $module_list $EXTRA_MODS | tr ' ' '\n' | sort -u` ; do
    851846        r=`find /lib/modules/$kern -type f | grep "/${module}\..*o" | tail -n1`
     
    860855        fi
    861856        LogFile "INFO: module $module --> $r"
    862         progress=$(($progress+1))
    863         LogProgress $progress $noof_lines
    864857    done
    865858    find /lib/modules/$kern/modules.* -type f 2> /dev/null
Note: See TracChangeset for help on using the changeset viewer.