Merge "Add intel multi-drivers-switch kernel parameter support to kickstarts"
This commit is contained in:
commit
67e2c4aaef
@ -2406,6 +2406,18 @@ if [ ! -z "${insthwsettle}" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Search the install kernel command line for the multi-drivers-switch=
|
||||||
|
# option and if present propagate that to the disk boot kernel options.
|
||||||
|
CMDLINE=`cat /proc/cmdline`
|
||||||
|
param="multi-drivers-switch"
|
||||||
|
for option in ${CMDLINE} ; do
|
||||||
|
opt=${option%%=*}
|
||||||
|
if [ "${param}" = "${opt}" ]; then
|
||||||
|
add_kernel_option "${option}"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
########################################################################################
|
########################################################################################
|
||||||
|
|
||||||
ilog "Adding these kernel params to disk boot: ${KERN_OPTS}"
|
ilog "Adding these kernel params to disk boot: ${KERN_OPTS}"
|
||||||
|
@ -2595,6 +2595,18 @@ if [ -n "${extra_boot_params}" ]; then
|
|||||||
add_kernel_option "${extra_boot_params}"
|
add_kernel_option "${extra_boot_params}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Search the install kernel command line for the multi-drivers-switch=
|
||||||
|
# option and if present propagate that to the disk boot kernel options.
|
||||||
|
CMDLINE=`cat /proc/cmdline`
|
||||||
|
param="multi-drivers-switch"
|
||||||
|
for option in ${CMDLINE} ; do
|
||||||
|
opt=${option%%=*}
|
||||||
|
if [ "${param}" = "${opt}" ]; then
|
||||||
|
add_kernel_option "${option}"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
########################################################################################
|
########################################################################################
|
||||||
|
|
||||||
ilog "Adding these kernel params to disk boot: ${KERN_OPTS}"
|
ilog "Adding these kernel params to disk boot: ${KERN_OPTS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user