[kexec-tools/f18] pass persistent name to dracut --device
Dave Young
yangrr at fedoraproject.org
Thu Sep 20 03:08:43 UTC 2012
commit 4ff4287ce798bd7b83387a383c9d80e2c3069572
Author: Dave Young <dyoung at redhat.com>
Date: Thu Sep 20 11:03:24 2012 +0800
pass persistent name to dracut --device
For raw device dump, also pass persistent name to dracut --device to fix
the device renaming problem.
Signed-off-by: Dave Young <dyoung at redhat.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
mkdumprd | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mkdumprd b/mkdumprd
index 43e4689..610b3dd 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -230,7 +230,7 @@ do
echo "Bad raw disk $config_val"
exit 1
}
- add_dracut_arg "--device" "$config_val"
+ add_dracut_arg "--device" "$(get_persistent_dev $config_val)"
check_size raw $config_val
;;
ssh)
More information about the scm-commits
mailing list