Blame SOURCES/0344-dracut.sh-add-command-line-option-for-install_i18_al.patch

712866
From 34b551a1c4d4513189807ee2a639c9214d887ddb Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Tue, 15 Sep 2015 16:04:09 +0200
712866
Subject: [PATCH] dracut.sh: add command line option for install_i18_all
712866
712866
--no-hostonly-i18n -> install_i18n_all=yes
712866
--hostonly-i18n -> install_i18n_all=no
712866
---
712866
 dracut.sh | 7 +++++++
712866
 1 file changed, 7 insertions(+)
712866
712866
diff --git a/dracut.sh b/dracut.sh
5c6c2a
index 65824ec7..d5f864f9 100755
712866
--- a/dracut.sh
712866
+++ b/dracut.sh
712866
@@ -369,6 +369,8 @@ rearrange_params()
712866
         --long noimageifnotneeded \
712866
         --long early-microcode \
712866
         --long no-early-microcode \
712866
+        --long no-hostonly-i18n \
712866
+        --long hostonly-i18n \
712866
         -- "$@")
712866
 
712866
     if (( $? != 0 )); then
712866
@@ -528,6 +530,10 @@ while :; do
712866
                        hostonly_l="no" ;;
712866
         --hostonly-cmdline)
712866
                        hostonly_cmdline_l="yes" ;;
712866
+        --hostonly-i18n)
712866
+                       i18n_install_all_l="no" ;;
712866
+        --no-hostonly-i18n)
712866
+                       i18n_install_all_l="yes" ;;
712866
         --no-hostonly-cmdline)
712866
                        hostonly_cmdline_l="no" ;;
712866
         --persistent-policy)
712866
@@ -769,6 +775,7 @@ stdloglvl=$((stdloglvl + verbosity_mod_l))
712866
 [[ $prefix = "/" ]] && unset prefix
712866
 [[ $hostonly_l ]] && hostonly=$hostonly_l
712866
 [[ $hostonly_cmdline_l ]] && hostonly_cmdline=$hostonly_cmdline_l
712866
+[[ $i18n_install_all_l ]] && i18n_install_all=$i18n_install_all_l
712866
 [[ $persistent_policy_l ]] && persistent_policy=$persistent_policy_l
712866
 [[ $use_fstab_l ]] && use_fstab=$use_fstab_l
712866
 [[ $mdadmconf_l ]] && mdadmconf=$mdadmconf_l