* [PATCH 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links
@ 2016-04-11 15:14 Guido Trentalancia
[not found] ` <1460387675.2670.21.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Guido Trentalancia @ 2016-04-11 15:14 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
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 2014-06-30 12:03:12.000000000 +0200
+++ dracut-038-10i18n-create-usr-share-symlinks/modules.d/10i18n/module-setup.sh 2016-04-11 16:56:45.046582794 +0200
@@ -102,6 +102,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
+ ln -s "${kbddir}/${_src}" "${initdir}/usr/share/${_src}"
+ done
+ fi
}
install_all_kbd() {
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links
[not found] ` <1460387675.2670.21.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
@ 2016-04-15 11:06 ` Guido Trentalancia
[not found] ` <1460718405.2616.14.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Guido Trentalancia @ 2016-04-15 11:06 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
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() {
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links
[not found] ` <1460718405.2616.14.camel-D1bseh+SzQhuxeB9wqlrNw@public.gmane.org>
@ 2016-04-21 12:16 ` Harald Hoyer
[not found] ` <5718C48E.4000808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Harald Hoyer @ 2016-04-21 12:16 UTC (permalink / raw)
To: Guido Trentalancia, initramfs-u79uwXL29TY76Z2rM5mHXA
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links
[not found] ` <5718C48E.4000808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-04-21 12:34 ` Guido Trentalancia
0 siblings, 0 replies; 4+ messages in thread
From: Guido Trentalancia @ 2016-04-21 12:34 UTC (permalink / raw)
To: Harald Hoyer, initramfs-u79uwXL29TY76Z2rM5mHXA
On Thu, 21/04/2016 at 14.16 +0200, Harald Hoyer wrote:
> 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
You're welcome.
And, important to note, it's not a bug, it's a robustness feature that we added...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-21 12:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[not found] ` <5718C48E.4000808-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-21 12:34 ` Guido Trentalancia
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.