Re: [PATCH v2 2/2]: dracut: 10i18n: support default loadkeys/setfont data paths using symbolic links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux