Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to configure KEYMAP i18n on openrc-dracut?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 729
Location: Sota algun pi o alzina...

PostPosted: Sat May 18, 2024 12:13 pm    Post subject: how to configure KEYMAP i18n on openrc-dracut? Reply with quote

hi,

i noticed that dracut --kver 6.9.1-gentoo show this message.
dracut[I]: *** Including module: i18n ***
dracut[I]: No KEYMAP configured.

i looked for on net how to configure that on openrc-gentoo but dind't finde out the solution.

Code:
/etc/dracut.conf
# PUT YOUR CONFIG IN separate files
# in /etc/dracut.conf.d named "<name>.conf"
# SEE man dracut.conf(5) for options
compress="zstd"
hostonly="yes"
i18n_vars="/usr/share/keymaps /usr/share/consolefonts"


anybody knows how?

:wink:
_________________
--so ~amd64 & openrc --cpu 7700 non-x --ram 2x16GB --gpu RX 470
Back to top
View user's profile Send private message
Zentoo
Apprentice
Apprentice


Joined: 18 Nov 2002
Posts: 197
Location: /dev/console

PostPosted: Thu Oct 24, 2024 2:52 pm    Post subject: Reply with quote

I found your thread while trying to solve the same problem.
And I finally found the way to do it:

i18n_vars="/etc/conf.d/keymaps:keymap,extented_keymaps-EXT_KEYMAPS /etc/conf.d/consolefont:consolefont-FONT"

The syntax is: $file:$variable{-$dracut_variable}
That set $dracut_variable to $variable value set in $file

Hope that will help someone else :)
_________________
ACCEPT_KEYWORDS="~amd64"
USE="-systemd"
Desktop: openbox|picom|ROX-Filer|wbar|window maker dockapps
Hardware: Ryzen 7950X | 64 Gb | Nvidia 3080Ti
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 729
Location: Sota algun pi o alzina...

PostPosted: Thu Oct 31, 2024 8:05 pm    Post subject: Reply with quote

ups, I not remember what I was doing in that moment, but when I remember i see

:oops:
_________________
--so ~amd64 & openrc --cpu 7700 non-x --ram 2x16GB --gpu RX 470
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum