diff --git a/kexec-tools.spec b/kexec-tools.spec index 3c09843..517d31a 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.0 -Release: 32%{?dist} +Release: 33%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component. @@ -268,6 +268,9 @@ done %changelog +* Thu Mar 11 2010 Neil Horman - 2.0.0-33 +- Remove nash references from mkdumprd + * Wed Feb 17 2010 Neil Horman - 2.0.0-32 - Fixed spec file error diff --git a/mkdumprd b/mkdumprd index 54e9319..ac3a959 100644 --- a/mkdumprd +++ b/mkdumprd @@ -140,11 +140,11 @@ findone() { } findall() { - echo nash-find "$@" | /sbin/nash --force --quiet + find "$@" } dm_get_uuid() { - echo dm get_uuid "$1" | /sbin/nash --force --quiet + dmsetup info "$1" | awk '/^.*UUID.*/ {print $2}' } findmodule() { @@ -260,12 +260,9 @@ inst() { } readlink() { - echo nash-readlink "$1" | /sbin/nash --force --quiet + readlink "$1" } -access() { - echo nash-access -w $t | /sbin/nash --force --quiet -} findstoragedriverinsys () { while [ ! -L device ]; do @@ -645,7 +642,6 @@ modulefile=/etc/modprobe.conf TMPDIR="" for t in /tmp /var/tmp /root ${PWD}; do if [ ! -d $t ]; then continue; fi - if ! access -w $t ; then continue; fi fs=$(df -T $t 2>/dev/null | awk '{line=$1;} END {printf $2;}') if [ "$fs" != "tmpfs" ]; then