All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/systemd: select kdb
@ 2023-07-31 21:45 James Hilliard
  2023-07-31 21:57 ` Thomas Petazzoni via buildroot
  2023-08-01 20:01 ` Yann E. MORIN
  0 siblings, 2 replies; 7+ messages in thread
From: James Hilliard @ 2023-07-31 21:45 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Norbert Lange, Sen Hastings, Yann E . MORIN

We need to select BR2_PACKAGE_KBD when building systemd with vconsole.

Fixes:
systemd-vconsole-setup[129]: /usr/bin/loadkeys failed with exit status 1.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/systemd/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index bea717a456..f3e561e661 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -563,6 +563,7 @@ config BR2_PACKAGE_SYSTEMD_UTMP
 config BR2_PACKAGE_SYSTEMD_VCONSOLE
 	bool "enable vconsole tool"
 	default y
+	select BR2_PACKAGE_KBD
 	help
 	  systemd-vconsole-setup is an early boot service that
 	  configures the virtual console font and console keymap.
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/systemd: select kdb
  2023-07-31 21:45 [Buildroot] [PATCH 1/1] package/systemd: select kdb James Hilliard
@ 2023-07-31 21:57 ` Thomas Petazzoni via buildroot
  2023-07-31 22:07   ` James Hilliard
  2023-08-01 20:01 ` Yann E. MORIN
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-31 21:57 UTC (permalink / raw)
  To: James Hilliard; +Cc: Norbert Lange, Sen Hastings, Yann E . MORIN, buildroot

Hello James,

On Mon, 31 Jul 2023 15:45:59 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> We need to select BR2_PACKAGE_KBD when building systemd with vconsole.
> 
> Fixes:
> systemd-vconsole-setup[129]: /usr/bin/loadkeys failed with exit status 1.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Same question as always: since when is this needed? I suppose since
commit 36d275f695936b7a54738c0354572944c1f08d87 ("package/systemd: bump
to version 254"), but I don't know, and Peter will have an even harder
time figuring this out when he will try to figure out which commits in
master need to be backported to the stable branch.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/systemd: select kdb
  2023-07-31 21:57 ` Thomas Petazzoni via buildroot
@ 2023-07-31 22:07   ` James Hilliard
  2023-07-31 22:18     ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 7+ messages in thread
From: James Hilliard @ 2023-07-31 22:07 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Norbert Lange, Sen Hastings, Yann E . MORIN, buildroot

On Mon, Jul 31, 2023 at 3:57 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello James,
>
> On Mon, 31 Jul 2023 15:45:59 -0600
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > We need to select BR2_PACKAGE_KBD when building systemd with vconsole.
> >
> > Fixes:
> > systemd-vconsole-setup[129]: /usr/bin/loadkeys failed with exit status 1.
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> Same question as always: since when is this needed? I suppose since
> commit 36d275f695936b7a54738c0354572944c1f08d87 ("package/systemd: bump
> to version 254"), but I don't know, and Peter will have an even harder
> time figuring this out when he will try to figure out which commits in
> master need to be backported to the stable branch.

It looks like it should be backported, I looked at the code and found no obvious
reason why it should have worked previously without kdb.

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/systemd: select kdb
  2023-07-31 22:07   ` James Hilliard
@ 2023-07-31 22:18     ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-31 22:18 UTC (permalink / raw)
  To: James Hilliard
  Cc: Norbert Lange, Romain Naour, Sen Hastings, Yann E . MORIN, buildroot

On Mon, 31 Jul 2023 16:07:33 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> > Same question as always: since when is this needed? I suppose since
> > commit 36d275f695936b7a54738c0354572944c1f08d87 ("package/systemd: bump
> > to version 254"), but I don't know, and Peter will have an even harder
> > time figuring this out when he will try to figure out which commits in
> > master need to be backported to the stable branch.  
> 
> It looks like it should be backported, I looked at the code and found no obvious
> reason why it should have worked previously without kdb.

But test cases were working I believe, so there must be some other
explanation.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/systemd: select kdb
  2023-07-31 21:45 [Buildroot] [PATCH 1/1] package/systemd: select kdb James Hilliard
  2023-07-31 21:57 ` Thomas Petazzoni via buildroot
@ 2023-08-01 20:01 ` Yann E. MORIN
  2023-08-01 21:09   ` James Hilliard
  1 sibling, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2023-08-01 20:01 UTC (permalink / raw)
  To: James Hilliard; +Cc: Norbert Lange, Sen Hastings, buildroot

James, All,

On 2023-07-31 15:45 -0600, James Hilliard spake thusly:
> We need to select BR2_PACKAGE_KBD when building systemd with vconsole.
> 
> Fixes:
> systemd-vconsole-setup[129]: /usr/bin/loadkeys failed with exit status 1.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/systemd/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index bea717a456..f3e561e661 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -563,6 +563,7 @@ config BR2_PACKAGE_SYSTEMD_UTMP
>  config BR2_PACKAGE_SYSTEMD_VCONSOLE
>  	bool "enable vconsole tool"
>  	default y
> +	select BR2_PACKAGE_KBD

This is trivial to explain, indeed, but what is not trivial to explan
but most interesting, and as I did ask in my preview mail, is to explain
why:

  - in systemd 252, loadkeys was already needed and called from
    systemd-vconsole-setup (check the code, it was already there in 252
    and most probably even long before that...)

  - with systemd 252, our test cases were not failing, even though
    loadkeys was needed

  - with systemd 254, the same test case now fails.

This we need to understand.

That way, we know if our test was broken, or if the new dependency
should be backported to previous maintenance branches...

(and now I see that Thomas had the same questions).

>  	help
>  	  systemd-vconsole-setup is an early boot service that
>  	  configures the virtual console font and console keymap.
> -- 
> 2.34.1
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/systemd: select kdb
  2023-08-01 20:01 ` Yann E. MORIN
@ 2023-08-01 21:09   ` James Hilliard
  2023-08-02 14:11     ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: James Hilliard @ 2023-08-01 21:09 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Norbert Lange, Sen Hastings, buildroot

On Tue, Aug 1, 2023 at 2:01 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
>
> James, All,
>
> On 2023-07-31 15:45 -0600, James Hilliard spake thusly:
> > We need to select BR2_PACKAGE_KBD when building systemd with vconsole.
> >
> > Fixes:
> > systemd-vconsole-setup[129]: /usr/bin/loadkeys failed with exit status 1.
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> > ---
> >  package/systemd/Config.in | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> > index bea717a456..f3e561e661 100644
> > --- a/package/systemd/Config.in
> > +++ b/package/systemd/Config.in
> > @@ -563,6 +563,7 @@ config BR2_PACKAGE_SYSTEMD_UTMP
> >  config BR2_PACKAGE_SYSTEMD_VCONSOLE
> >       bool "enable vconsole tool"
> >       default y
> > +     select BR2_PACKAGE_KBD
>
> This is trivial to explain, indeed, but what is not trivial to explan
> but most interesting, and as I did ask in my preview mail, is to explain
> why:
>
>   - in systemd 252, loadkeys was already needed and called from
>     systemd-vconsole-setup (check the code, it was already there in 252
>     and most probably even long before that...)
>
>   - with systemd 252, our test cases were not failing, even though
>     loadkeys was needed
>
>   - with systemd 254, the same test case now fails.
>
> This we need to understand.

Yeah, I tried to figure that out, but I couldn't find any reason for
the test not
failing previously.

>
> That way, we know if our test was broken, or if the new dependency
> should be backported to previous maintenance branches...
>
> (and now I see that Thomas had the same questions).
>
> >       help
> >         systemd-vconsole-setup is an early boot service that
> >         configures the virtual console font and console keymap.
> > --
> > 2.34.1
> >
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/systemd: select kdb
  2023-08-01 21:09   ` James Hilliard
@ 2023-08-02 14:11     ` Yann E. MORIN
  0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2023-08-02 14:11 UTC (permalink / raw)
  To: James Hilliard; +Cc: Norbert Lange, Sen Hastings, buildroot

James, All,

On 2023-08-01 15:09 -0600, James Hilliard spake thusly:
> On Tue, Aug 1, 2023 at 2:01 PM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> > On 2023-07-31 15:45 -0600, James Hilliard spake thusly:
> > > We need to select BR2_PACKAGE_KBD when building systemd with vconsole.
> > This is trivial to explain, indeed, but what is not trivial to explan
> > but most interesting, and as I did ask in my preview mail, is to explain
> > why:
> Yeah, I tried to figure that out, but I couldn't find any reason for
> the test not
> failing previously.

In the meantime, Romain has sent a patch that explains the issue, and
adds the appropriate option to solve it.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-08-02 14:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-31 21:45 [Buildroot] [PATCH 1/1] package/systemd: select kdb James Hilliard
2023-07-31 21:57 ` Thomas Petazzoni via buildroot
2023-07-31 22:07   ` James Hilliard
2023-07-31 22:18     ` Thomas Petazzoni via buildroot
2023-08-01 20:01 ` Yann E. MORIN
2023-08-01 21:09   ` James Hilliard
2023-08-02 14:11     ` Yann E. MORIN

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.