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

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