dracut.sh: add command line option for install_i18_all
--no-hostonly-i18n -> install_i18n_all=yes --hostonly-i18n -> install_i18n_all=no
parent
7c0b1d864d
commit
34b551a1c4
|
|
@ -369,6 +369,8 @@ rearrange_params()
|
|||
--long noimageifnotneeded \
|
||||
--long early-microcode \
|
||||
--long no-early-microcode \
|
||||
--long no-hostonly-i18n \
|
||||
--long hostonly-i18n \
|
||||
-- "$@")
|
||||
|
||||
if (( $? != 0 )); then
|
||||
|
|
@ -528,6 +530,10 @@ while :; do
|
|||
hostonly_l="no" ;;
|
||||
--hostonly-cmdline)
|
||||
hostonly_cmdline_l="yes" ;;
|
||||
--hostonly-i18n)
|
||||
i18n_install_all_l="no" ;;
|
||||
--no-hostonly-i18n)
|
||||
i18n_install_all_l="yes" ;;
|
||||
--no-hostonly-cmdline)
|
||||
hostonly_cmdline_l="no" ;;
|
||||
--persistent-policy)
|
||||
|
|
@ -769,6 +775,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
|
|||
[[ $prefix = "/" ]] && unset prefix
|
||||
[[ $hostonly_l ]] && hostonly=$hostonly_l
|
||||
[[ $hostonly_cmdline_l ]] && hostonly_cmdline=$hostonly_cmdline_l
|
||||
[[ $i18n_install_all_l ]] && i18n_install_all=$i18n_install_all_l
|
||||
[[ $persistent_policy_l ]] && persistent_policy=$persistent_policy_l
|
||||
[[ $use_fstab_l ]] && use_fstab=$use_fstab_l
|
||||
[[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l
|
||||
|
|
|
|||
Loading…
Reference in New Issue