dracut-module-setup.sh: remove UUID/LABEL quotes before using it
blkid do not support UUID/LABEL with quotes, remove the quotes before converting to dev name, or the result devname will be nul. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
parent
81735539b8
commit
ff7d629a56
@ -23,7 +23,7 @@ is_ssh_dump_target()
|
|||||||
}
|
}
|
||||||
|
|
||||||
kdump_to_udev_name() {
|
kdump_to_udev_name() {
|
||||||
local dev="$1"
|
local dev="${1//\"/}"
|
||||||
|
|
||||||
case "$dev" in
|
case "$dev" in
|
||||||
UUID=*)
|
UUID=*)
|
||||||
|
Loading…
Reference in New Issue
Block a user