Changeset 904 in MondoRescue for trunk/mondo


Ignore:
Timestamp:
Oct 25, 2006, 1:51:57 AM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r890:902 $SVN_M/branches/stable

Location:
trunk/mondo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/configure.in

    r788 r904  
    1818AC_ARG_PROGRAM
    1919
    20 AM_INIT_AUTOMAKE([mondo], MONDO_VER)
     20AM_INIT_AUTOMAKE([src], MONDO_VER)
    2121AM_MAINTAINER_MODE
    2222
  • trunk/mondo/distributions/rpm/mondo.spec

    r839 r904  
    1919ExcludeArch:    ppc
    2020OBS
    21 Requires:   mindi >= 1.0.9, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, DDD
     21Requires:   mindi >= 1.2.0, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, DDD
    2222%ifarch ia64
    2323Requires:   elilo, parted
  • trunk/mondo/src/restore-scripts/Makefile.am

    r426 r904  
    1 SUBDIRS = mondo usr
     1SUBDIRS = src usr
    22
    33restoreetcdir       = $(pkgdatadir)/restore-scripts/etc
  • trunk/mondo/src/restore-scripts/mondo/label-partitions-as-necessary

    r729 r904  
    11#!/bin/sh
    22#
    3 # 09/05
    4 # - replaced 'grep -w' with 'grep " $.. "'
     3# $Id$
    54#
    6 # 06/11
    7 # - added support for 5th column, for labels
    8 #
    9 # 02/02/2003
    10 # - something
    11 #
    12 # mid-2001
    13 # - first written
    145############################################
    156
    167
    17 #LogIt() {
    18 #    echo "$1" >> /dev/stderr
    19 #}
    20 
    21  
    228read_partition_line() {
    239    local tmp label mountpt mountline command format
     
    3420            LogIt "Not labeling $mountpt as anything because $label is not a label"
    3521        else
    36             command="e2label $mountpt $label"
    3722            if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then
    38                 LogIt "Running '$command'"
     23                command="e2label $mountpt $label"
     24                LogIt "Running $command"
    3925                $command
     26            elif [ "$format" = "swap" ] ; then
     27                command="mkswap -L $label $mountpt"
     28                LogIt "Running $command"
    4029            else
    41                 LogIt "I am NOT going to run '$command': the partition is format '$format', which doesn't like e2label anyway"
     30                LogIt "I am NOT going to run e2label: the partition is format '$format', which doesn't like e2label anyway"
    4231            fi
    4332    fi
Note: See TracChangeset for help on using the changeset viewer.