remove emitdms call and code as its no longer needed
This commit is contained in:
parent
848928b196
commit
2fb552037c
@ -1,6 +1,6 @@
|
||||
Name: kexec-tools
|
||||
Version: 2.0.0
|
||||
Release: 42%{?dist}
|
||||
Release: 43%{?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@redhat.com> - 2.0.0-43
|
||||
- Remove vestigual emitdms code and call from mkdumprd
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
21
mkdumprd
21
mkdumprd
@ -947,25 +947,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
|
||||
@ -1850,8 +1831,6 @@ if [ -n "$net_list" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
emitdms
|
||||
|
||||
if [ -n "$raiddevices" ]; then
|
||||
for dev in $raiddevices; do
|
||||
cp -a /dev/${dev} $MNTIMAGE/dev
|
||||
|
Loading…
Reference in New Issue
Block a user