From f178fa14a00e7a95edebe6671df19d40408662f6 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Thu, 24 Apr 2008 17:09:32 +0000 Subject: [PATCH] Resolves: bz 443878 --- kexec-tools.spec | 5 ++++- mkdumprd | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index f738046..98ff7ea 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 1.102pre -Release: 9%{?dist} +Release: 10%{?dist} License: GPL Group: Applications/System Summary: The kexec/kdump userspace component. @@ -229,6 +229,9 @@ done %doc kexec-kdump-howto.txt %changelog +* Thu Apr 24 2008 Neil Horman - 1.102pre-10 +- Fix mkdumprd to properly pull in libs for lvm/mdadm (bz 443878) + * Wed Apr 16 2008 Neil Horman - 1.102pre-9 - Fix cmdline length issue diff --git a/mkdumprd b/mkdumprd index 8f03a20..78e8cf7 100644 --- a/mkdumprd +++ b/mkdumprd @@ -1365,7 +1365,7 @@ fi # FIXME -- this can really go poorly with clvm or duplicate vg names. # nash should do lvm probing for us and write its own configs. if [ -n "$vg_list" ]; then - inst /sbin/lvm "$MNTIMAGE/bin/lvm" + bin="$bin /sbin/lvm" if [ -f /etc/lvm/lvm.conf ]; then cp $verbose --parents /etc/lvm/lvm.conf $MNTIMAGE/ fi @@ -1567,7 +1567,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then emit "hwclock --hctosys \$TIME_FORMAT" emit "DATE=\`date +%Y-%m-%d-%T\`" - bin="/sbin/dmsetup /sbin/kpartx" + bin="$bin /sbin/dmsetup /sbin/kpartx" if [ -n "$CORE_COLLECTOR" ]; then bin="$bin /sbin/makedumpfile"