Merge "Add intel multi-drivers-switch kernel parameter support to kickstarts"

This commit is contained in:
Zuul 2023-07-11 19:55:39 +00:00 committed by Gerrit Code Review
commit 67e2c4aaef
2 changed files with 24 additions and 0 deletions

View File

@ -2406,6 +2406,18 @@ if [ ! -z "${insthwsettle}" ]; then
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}"

View File

@ -2595,6 +2595,18 @@ if [ -n "${extra_boot_params}" ]; then
add_kernel_option "${extra_boot_params}"
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}"