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

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