From e09cb1c57e77738863cb9911cc518cc4c26a1958 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 28 Apr 2014 12:47:52 +0200 Subject: [PATCH] dracut: added patch to fix 10i18n module. --- srcpkgs/dracut/patches/fix-parse-i18n.sh.patch | 13 +++++++++++++ srcpkgs/dracut/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/dracut/patches/fix-parse-i18n.sh.patch diff --git a/srcpkgs/dracut/patches/fix-parse-i18n.sh.patch b/srcpkgs/dracut/patches/fix-parse-i18n.sh.patch new file mode 100644 index 00000000000..3154799ca22 --- /dev/null +++ b/srcpkgs/dracut/patches/fix-parse-i18n.sh.patch @@ -0,0 +1,13 @@ +typo fix that avoids '1=""' in generated vconsole.conf. + +--- modules.d/10i18n/parse-i18n.sh.orig 2014-04-28 12:44:54.540715927 +0200 ++++ modules.d/10i18n/parse-i18n.sh 2014-04-28 12:45:10.587813907 +0200 +@@ -12,7 +12,7 @@ inst_key_val() { + _value="$(getarg $@)" + [ -z "${_value}" ] && _value=$_default + if [ -n "${_value}" ]; then +- printf '%s="%s"\n' $key ${_value} >> $_file ++ printf '%s="%s"\n' ${_key} ${_value} >> $_file + fi + unset _file + unset _value diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index 21d526e6921..451b7f929f8 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -1,7 +1,7 @@ # Template file for 'dracut' pkgname=dracut version=037 -revision=1 +revision=2 build_style=meta hostmakedepends="libxslt docbook-xsl asciidoc" makedepends="psmisc cpio xz"