blacklist patch apply fix
The original blacklist patch was applied without conflict. But in fact there's exactly same context with amerigo's original patch and it's in wrong place! Moving it to the right switch branch.. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
f9c56b3f6e
commit
ea5c605d16
6
mkdumprd
6
mkdumprd
@ -50,9 +50,6 @@ check_size() {
|
||||
raw)
|
||||
avail=$(get_raw_size "$2")
|
||||
;;
|
||||
blacklist)
|
||||
add_dracut_arg "--omit-drivers" "$config_val"
|
||||
;;
|
||||
*)
|
||||
return
|
||||
esac
|
||||
@ -184,6 +181,9 @@ do
|
||||
extra_bins)
|
||||
add_dracut_arg "-I" "$config_val"
|
||||
;;
|
||||
blacklist)
|
||||
add_dracut_arg "--omit-drivers" "$config_val"
|
||||
;;
|
||||
*)
|
||||
if [ -n $(echo $config_opt | grep "^#.*$") ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user