Resolves: bz 494416
This commit is contained in:
parent
3c9bca6934
commit
64c7c7b164
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -243,6 +243,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 07 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-12
|
||||||
|
- Simplifed rootfs mounting code in mkdumprd (bz 494416)
|
||||||
|
|
||||||
* Sun Apr 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.0.0-11
|
* Sun Apr 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.0.0-11
|
||||||
- Install the correct configuration for i586
|
- Install the correct configuration for i586
|
||||||
|
|
||||||
|
16
mkdumprd
16
mkdumprd
@ -2102,19 +2102,9 @@ emit "fi"
|
|||||||
|
|
||||||
emit "echo Checking root filesystem."
|
emit "echo Checking root filesystem."
|
||||||
emit "fsck \$ROOTDEV"
|
emit "fsck \$ROOTDEV"
|
||||||
emit "echo Mounting root filesystem."
|
emit "echo Mounting root filesystem: mount -t $rootfs \$ROOTDEV /sysroot"
|
||||||
emit "for FSTYPE in ext3 ext2 minix"
|
emit "mount -t $rootfs \$ROOTDEV /sysroot >/dev/null 2>&1 "
|
||||||
emit "do"
|
emit "if [ \$? != 0 ]"
|
||||||
emit " echo Trying mount -t \$FSTYPE \$ROOTDEV /sysroot"
|
|
||||||
emit " mount -t \$FSTYPE \$ROOTDEV /sysroot >/dev/null 2>&1 "
|
|
||||||
emit " if [ \$? == 0 ]"
|
|
||||||
emit " then"
|
|
||||||
emit " echo Using \$FSTYPE on root filesystem"
|
|
||||||
emit " ROOT_MOUNT_GOOD=1"
|
|
||||||
emit " break;"
|
|
||||||
emit " fi"
|
|
||||||
emit "done"
|
|
||||||
emit "if [ -z \"\$ROOT_MOUNT_GOOD\" ]"
|
|
||||||
emit "then"
|
emit "then"
|
||||||
emit " echo unable to mount rootfs. Dropping to shell"
|
emit " echo unable to mount rootfs. Dropping to shell"
|
||||||
emit " /bin/msh"
|
emit " /bin/msh"
|
||||||
|
Loading…
Reference in New Issue
Block a user