Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Running several virtual consoles and customizing the keymap
@ 2018-03-02 17:55 Shérab
  2018-03-02 20:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Shérab @ 2018-03-02 17:55 UTC (permalink / raw)
  To: buildroot

Dear all,

I am new to build root. First of all thanks a lot for having designed
such a tool, and for having done so in such an elegant way.

I use a system in pure text-mode, booted by systemd.

There are two things I don't know how to achieve right now.

1. Define a (french) keymap. Is there a way to do that in the .config
file while not running an X server?

2. I am able to run one virtual console but would love to have several of
them, typically 6 as on my PC. Can tht be achieved?

Many thanks in advance for any hint,

Sh?rab.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Running several virtual consoles and customizing the keymap
  2018-03-02 17:55 [Buildroot] Running several virtual consoles and customizing the keymap Shérab
@ 2018-03-02 20:30 ` Thomas Petazzoni
  2018-03-03  9:31   ` Shérab
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2018-03-02 20:30 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 2 Mar 2018 18:55:32 +0100, Sh?rab wrote:

> I am new to build root. First of all thanks a lot for having designed
> such a tool, and for having done so in such an elegant way.

Thanks!

> I use a system in pure text-mode, booted by systemd.
> 
> There are two things I don't know how to achieve right now.
> 
> 1. Define a (french) keymap. Is there a way to do that in the .config
> file while not running an X server?

Use "loadkeys fr"

> 2. I am able to run one virtual console but would love to have several of
> them, typically 6 as on my PC. Can tht be achieved?

Add more symlinks from /etc/systemd/system/getty.target.wants/ to
lib/systemd/system/getty at service. See SYSTEMD_INSTALL_SERVICE_TTY in
package/systemd/systemd.mk.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Running several virtual consoles and customizing the keymap
  2018-03-02 20:30 ` Thomas Petazzoni
@ 2018-03-03  9:31   ` Shérab
  0 siblings, 0 replies; 3+ messages in thread
From: Shérab @ 2018-03-03  9:31 UTC (permalink / raw)
  To: buildroot

Hi Thomas!

Many thanks for your so prompt and helpful response!

Thomas Petazzoni (2018/03/02 21:30 +0100):
> Hello,
> 
> On Fri, 2 Mar 2018 18:55:32 +0100, Sh?rab wrote:
> 
> > I am new to build root. First of all thanks a lot for having designed
> > such a tool, and for having done so in such an elegant way.
> 
> Thanks!
> 
w> > I use a system in pure text-mode, booted by systemd.
> > 
> > There are two things I don't know how to achieve right now.
> > 
> > 1. Define a (french) keymap. Is there a way to do that in the .config
> > file while not running an X server?
> 
> Use "loadkeys f"

Ah! So should I add this to some startup script,e.g.on the overlay file
system that will be copied on the target?

Where would it be appropriate to add such a command ona system started
with systemd?

> > 2. I am able to run one virtual console but would love to have several of
> > them, typically 6 as on my PC. Can tht be achieved?
> 
> Add more symlinks from /etc/systemd/system/getty.target.wants/ to
> lib/systemd/system/getty at service. See SYSTEMD_INSTALL_SERVICE_TTY in
> package/systemd/systemd.mk.

Thanks for that, too! Again should these links be added to the overlay
filesystem?

Cheers and thanks again for such a nice thing!

Sh?rab.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-03  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-02 17:55 [Buildroot] Running several virtual consoles and customizing the keymap Shérab
2018-03-02 20:30 ` Thomas Petazzoni
2018-03-03  9:31   ` Shérab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox