Resolves: bz 572569
This commit is contained in:
parent
66d844ee90
commit
68d2a8081e
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 32%{?dist}
|
Release: 33%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -268,6 +268,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 11 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-33
|
||||||
|
- Remove nash references from mkdumprd
|
||||||
|
|
||||||
* Wed Feb 17 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-32
|
* Wed Feb 17 2010 Neil Horman <nhorman@redhat.com> - 2.0.0-32
|
||||||
- Fixed spec file error
|
- Fixed spec file error
|
||||||
|
|
||||||
|
10
mkdumprd
10
mkdumprd
@ -140,11 +140,11 @@ findone() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
findall() {
|
findall() {
|
||||||
echo nash-find "$@" | /sbin/nash --force --quiet
|
find "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
dm_get_uuid() {
|
dm_get_uuid() {
|
||||||
echo dm get_uuid "$1" | /sbin/nash --force --quiet
|
dmsetup info "$1" | awk '/^.*UUID.*/ {print $2}'
|
||||||
}
|
}
|
||||||
|
|
||||||
findmodule() {
|
findmodule() {
|
||||||
@ -260,12 +260,9 @@ inst() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
readlink() {
|
readlink() {
|
||||||
echo nash-readlink "$1" | /sbin/nash --force --quiet
|
readlink "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
access() {
|
|
||||||
echo nash-access -w $t | /sbin/nash --force --quiet
|
|
||||||
}
|
|
||||||
|
|
||||||
findstoragedriverinsys () {
|
findstoragedriverinsys () {
|
||||||
while [ ! -L device ]; do
|
while [ ! -L device ]; do
|
||||||
@ -645,7 +642,6 @@ modulefile=/etc/modprobe.conf
|
|||||||
TMPDIR=""
|
TMPDIR=""
|
||||||
for t in /tmp /var/tmp /root ${PWD}; do
|
for t in /tmp /var/tmp /root ${PWD}; do
|
||||||
if [ ! -d $t ]; then continue; fi
|
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;}')
|
fs=$(df -T $t 2>/dev/null | awk '{line=$1;} END {printf $2;}')
|
||||||
if [ "$fs" != "tmpfs" ]; then
|
if [ "$fs" != "tmpfs" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user