Changeset 1863 in MondoRescue


Ignore:
Timestamp:
Jan 16, 2008, 12:00:03 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Try to overcome OpenSuSE stupidity in fstab format (why change again and again !) Ok, it keeps me busy, but I've not need for that anyway :-)
  • Increase sleep time after launching udevd to be sure it has time to start (again SuSE issue ?)
Location:
branches/2.2.5/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1857 r1863  
    14221422            fi
    14231423        else
    1424             str_to_find_fmt_with=$current_partition
     1424            # Needs to handle the recent OpenSUSE fancy way of dealing with fstab :-(
     1425            # they use symlinks in fstab unrelated to what is shown in mount !
     1426            if [ _"$partition_mountpt" = _"" ]; then
     1427                for tmpp in `tr -s '\t' ' ' < $MY_FSTAB | /bin/grep -Ev "^#" | $AWK '{print $1}'`; do
     1428                        if [ _"`readlink -f $tmpp`" = "$current_partition" ]; then
     1429                            str_to_find_fmt_with=$tmpp
     1430                        fi
     1431                done
     1432            else
     1433                str_to_find_fmt_with=$current_partition
     1434            fi
    14251435        fi
    14261436
     
    28702880        LogIt "Hardware Information found and saved ..."
    28712881        cp -rp $CACHE_LOC/bkphw .
    2872         lis=`grep -Ev '^#' $CACHE_LOC/tools.files`
    2873         LocateDeps $lis > $MINDI_TMP/tools.lis
    2874         cp --parents -Rdf $lis `sort -u $MINDI_TMP/tools.lis` .
     2882        if [ -f $CACHE_LOC/tools.files ]; then
     2883            lis=`grep -Ev '^#' $CACHE_LOC/tools.files`
     2884            LocateDeps $lis > $MINDI_TMP/tools.lis
     2885            cp --parents -Rdf $lis `sort -u $MINDI_TMP/tools.lis` .
     2886        fi
    28752887        if [ -f $CACHE_LOC/mindi-rsthw ]; then
    28762888            mv -f $CACHE_LOC/mindi-rsthw .
  • branches/2.2.5/mindi/rootfs/sbin/init

    r1837 r1863  
    316316    # Depending on udevd version it gives back the hand or not :-(
    317317    /sbin/udevd --daemon &
    318     sleep 2
     318    sleep 5
    319319    mkdir -p /dev/.udev/queue/
    320320    if [ -x /sbin/udevtrigger ]; then
Note: See TracChangeset for help on using the changeset viewer.