Resolves: bz 433350

This commit is contained in:
Neil Horman 2008-02-19 20:01:55 +00:00
parent f6d49182ff
commit 79df4118e8
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Name: kexec-tools Name: kexec-tools
Version: 1.102pre Version: 1.102pre
Release: 4%{?dist} Release: 5%{?dist}
License: GPL License: GPL
Group: Applications/System Group: Applications/System
Summary: The kexec/kdump userspace component. Summary: The kexec/kdump userspace component.
@ -220,6 +220,9 @@ done
%doc kexec-kdump-howto.txt %doc kexec-kdump-howto.txt
%changelog %changelog
* Tue Feb 19 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-5
- Modifying mkdumprd to include dynamic executibles (bz 433350)
* Wed Feb 12 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-4 * Wed Feb 12 2008 Neil Horman <nhorman@redhat.com> - 1.102pre-4
- bumping rev number for rebuild - bumping rev number for rebuild

View File

@ -814,7 +814,7 @@ emitdm()
if [ -n "$UUID" ]; then if [ -n "$UUID" ]; then
UUID="--uuid $UUID" UUID="--uuid $UUID"
fi fi
emit "echo \"$(/sbin/dmsetup table $1)\" | /sbin/dmsetup.static create \"$1\" $UUID" emit "echo \"$(/sbin/dmsetup table $1)\" | /sbin/dmsetup create \"$1\" $UUID"
} }
emitdms() emitdms()
@ -830,7 +830,7 @@ emitdms()
emitdm "$NAME" emitdm "$NAME"
;; ;;
part) part)
emit /sbin/kpartx.static -pp -a \"/dev/mapper/$NAME\" emit /sbin/kpartx -pp -a \"/dev/mapper/$NAME\"
;; ;;
esac esac
done done
@ -1269,7 +1269,7 @@ fi
# FIXME -- this can really go poorly with clvm or duplicate vg names. # FIXME -- this can really go poorly with clvm or duplicate vg names.
# nash should do lvm probing for us and write its own configs. # nash should do lvm probing for us and write its own configs.
if [ -n "$vg_list" ]; then if [ -n "$vg_list" ]; then
inst /sbin/lvm.static "$MNTIMAGE/bin/lvm" inst /sbin/lvm "$MNTIMAGE/bin/lvm"
if [ -f /etc/lvm/lvm.conf ]; then if [ -f /etc/lvm/lvm.conf ]; then
cp $verbose --parents /etc/lvm/lvm.conf $MNTIMAGE/ cp $verbose --parents /etc/lvm/lvm.conf $MNTIMAGE/
fi fi
@ -1419,7 +1419,7 @@ if [ -n "$vg_list" ]; then
emit " DM_NUM=\`echo \$DM_NUM 1 + p | dc\`" emit " DM_NUM=\`echo \$DM_NUM 1 + p | dc\`"
emit " if [ -z \"\$noresume\" ]" emit " if [ -z \"\$noresume\" ]"
emit " then" emit " then"
emit " /sbin/dmsetup.static resume /dev/mapper/\$VGRP-\$i" emit " /sbin/dmsetup resume /dev/mapper/\$VGRP-\$i"
emit " fi" emit " fi"
emit " fi" emit " fi"
emit "done" emit "done"
@ -1447,7 +1447,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
emit "hwclock --hctosys \$TIME_FORMAT" emit "hwclock --hctosys \$TIME_FORMAT"
emit "DATE=\`date +%Y-%m-%d-%T\`" emit "DATE=\`date +%Y-%m-%d-%T\`"
bin="/sbin/dmsetup.static /sbin/kpartx.static" bin="/sbin/dmsetup /sbin/kpartx"
if [ -n "$CORE_COLLECTOR" ]; then if [ -n "$CORE_COLLECTOR" ]; then
bin="$bin /sbin/makedumpfile" bin="$bin /sbin/makedumpfile"