From: Harald Hoyer <harald.hoyer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Guido Trentalancia
<guido-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>,
initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links
Date: Thu, 21 Apr 2016 14:16:14 +0200 [thread overview]
Message-ID: <5718C48E.4000808@gmail.com> (raw)
In-Reply-To: <1460718405.2616.14.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
On 15.04.2016 13:06, Guido Trentalancia wrote:
>
> Avoid keymap/font not found error when loadkeys/setfont
> are compiled with the default data directory path.
>
> Signed-off-by: Guido Trentalancia <guido-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
> ---
> modules.d/10i18n/module-setup.sh | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> --- dracut-038/modules.d/10i18n/module-setup.sh 2016-04-15 12:58:46.105952161 +0200
> +++ dracut-038-10i18n-create-usr-share-symlinks-v2/modules.d/10i18n/module-setup.sh 2016-04-15 12:59:06.874241231 +0200
> @@ -100,6 +100,13 @@ install() {
> inst_rules ${moddir}/10-console.rules
> inst_hook cmdline 20 "${moddir}/parse-i18n.sh"
> fi
> +
> + if [[ ${kbddir} != "/usr/share" ]]; then
> + inst_dir /usr/share
> + for _src in $(eval echo {${KBDSUBDIRS}}); do
> + [ ! -e "${initdir}/usr/share/${_src}" ] && ln -s "${kbddir}/${_src}" "${initdir}/usr/share/${_src}"
> + done
> + fi
> }
>
> install_all_kbd()
Thanks.. pushed
next prev parent reply other threads:[~2016-04-21 12:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-11 15:14 [PATCH 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links Guido Trentalancia
[not found] ` <1460387675.2670.21.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
2016-04-15 11:06 ` [PATCH v2 " Guido Trentalancia
[not found] ` <1460718405.2616.14.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
2016-04-21 12:16 ` Harald Hoyer [this message]
[not found] ` <5718C48E.4000808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-21 12:34 ` Guido Trentalancia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5718C48E.4000808@gmail.com \
--to=harald.hoyer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=guido-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.