[kexec-tools/f14/master] resolves: bz 682859

Neil Horman nhorman at fedoraproject.org
Thu Mar 10 19:09:45 UTC 2011


commit 7b3e442dca9adffcdb892e79a3662d4776b4f9d2
Author: Neil Horman <nhorman at tuxdriver.com>
Date:   Thu Mar 10 14:09:28 2011 -0500

    resolves: bz 682859

 kexec-tools.spec |    5 ++++-
 mkdumprd         |   20 --------------------
 2 files changed, 4 insertions(+), 21 deletions(-)
---
diff --git a/kexec-tools.spec b/kexec-tools.spec
index b5604f2..8841259 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -1,6 +1,6 @@
 Name: kexec-tools
 Version: 2.0.0 
-Release: 39%{?dist}.1
+Release: 40%{?dist}
 License: GPLv2
 Group: Applications/System
 Summary: The kexec/kdump userspace component.
@@ -280,6 +280,9 @@ done
 
 
 %changelog
+* Thu Mar 10 2011 Neil Horman <nhorman at redhat.com> - 2.0.0-40
+- Remove emitdms code from mkdumprd (bz 682859)
+
 * Wed Sep 29 2010 jkeating - 2.0.0-39.1
 - Rebuilt for gcc bug 634757
 
diff --git a/mkdumprd b/mkdumprd
index e7b1e26..e0e30a0 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -945,25 +945,6 @@ emitdm()
     emit "echo \"$(/sbin/dmsetup table $1)\" | /sbin/dmsetup create \"$1\" $UUID"
 }
 
-emitdms()
-{
-    [ -z "$MPATHS" -a -z "$DMRAIDS" ] && return 0
-    echo dm list $MPATHS $DMRAIDS | nash --force --quiet | \
-            while read ACTION NAME ; do
-        case $ACTION in
-        rmparts)
-            emit rmparts "$NAME"
-            ;;
-        create)
-            emitdm "$NAME"
-            ;;
-        part)
-            emit /sbin/kpartx -pp -a \"/dev/mapper/$NAME\"
-            ;;
-        esac
-    done
-}
-
 if [ -z "$MNTIMAGE" -o -z "$IMAGE" ]; then
     error "Error creating temporaries.  Try again"
     exit 1
@@ -1839,7 +1820,6 @@ if [ -n "$net_list" ]; then
     done
 fi
 
-emitdms
 
 if [ -n "$raiddevices" ]; then
     for dev in $raiddevices; do


More information about the scm-commits mailing list