You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ -z$DRACUT_KMODDIR_OVERRIDE&&-n$drivers_dir ]];then
1211
1211
drivers_basename="${drivers_dir##*/}"
1212
1212
if [[ -n$drivers_basename&&$drivers_basename!="$kernel" ]];then
1213
-
printf"%s\n""dracut: The provided directory where to look for kernel modules ($drivers_basename)">&2
1214
-
printf"%s\n""dracut: does not match the kernel version set for the initramfs ($kernel).">&2
1215
-
printf"%s\n""dracut: Set DRACUT_KMODDIR_OVERRIDE=1 to ignore this check.">&2
1213
+
printf"%s\n""dracut[F]: The provided directory where to look for kernel modules ($drivers_basename)">&2
1214
+
printf"%s\n""dracut[F]: does not match the kernel version set for the initramfs ($kernel).">&2
1215
+
printf"%s\n""dracut[F]: Set DRACUT_KMODDIR_OVERRIDE=1 to ignore this check.">&2
1216
1216
exit 1
1217
1217
fi
1218
1218
drivers_dirname="${drivers_dir%/*}/"
1219
1219
if [[ !$drivers_dirname=~ .*/lib/modules/$ ]];then
1220
-
printf"%s\n""dracut: drivers_dir path ${drivers_dir_l:+"set via -k/--kmoddir "}must contain \"/lib/modules/\" as a parent of your kernel module directory,">&2
1221
-
printf"%s\n""dracut: or modules may not be placed in the correct location inside the initramfs.">&2
1222
-
printf"%s\n""dracut: was given: ${drivers_dir}">&2
printf"%s\n""dracut: Please move your modules into the correct directory structure and pass the new location,">&2
1225
-
printf"%s\n""dracut: or set DRACUT_KMODDIR_OVERRIDE=1 to ignore this check.">&2
1220
+
printf"%s\n""dracut[F]: drivers_dir path ${drivers_dir_l:+"set via -k/--kmoddir "}must contain \"/lib/modules/\" as a parent of your kernel module directory,">&2
1221
+
printf"%s\n""dracut[F]: or modules may not be placed in the correct location inside the initramfs.">&2
1222
+
printf"%s\n""dracut[F]: was given: ${drivers_dir}">&2
0 commit comments