[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] systemd-getty-generator present but undesired
From:       "Khem Raj" <raj.khem () gmail ! com>
Date:       2020-07-30 5:12:31
Message-ID: ebf0e077-41b4-2285-8ffe-883f9d588fa0 () gmail ! com
[Download RAW message or body]

On 7/28/20 6:33 AM, Mike Looijmans wrote:
> I had a hard time getting a serial attached bluetooth device to work, 
> untilI discovered that systemd is running a "getty" on that port (which 
> happens tobe "ttyS0").
> 
> The cause is that "systemd-getty-generator" detects that the port comes 
> online (runtime, it's inside an FGPA) and then dynamically adds a 
> service for it and starts a getty on it.
> 
> So when I went to solve that, I found that OE already attempted to solve 
> that. There's a "systemd-getty-generator" PACKAGECONFIG that suggests 
> that it should not be installed by default, but it gets installed 
> anyway, even though this config is not set.
> 
> Is this something that needs fixing in OE?
> 
> Any better pointers at preventing systemd starting a getty on ttyS0?
> 

you need to add serial-getty-generator to systemd PACKAGECONFIG to 
ignore the oe provided serial getty recipe.

I think it also has to do with SERIAL_CONSOLES setting for machine, 
perhaps it contains ttyS0 in your case.

> Met vriendelijke groet / kind regards,
> 
> Mike Looijmans
> System Expert
> 
> 
> TOPIC Embedded Products B.V.
> Materiaalweg 4, 5681 RJ Best
> The Netherlands
> 
> T: +31 (0) 499 33 69 69
> E: mike.looijmans@topicproducts.com
> W: www.topicproducts.com
> 
> Please consider the environment before printing this e-mail
> 
> Met vriendelijke groet / kind regards,
> 
> Mike Looijmans
> System Expert
> 
> 
> TOPIC Embedded Products B.V.
> Materiaalweg 4, 5681 RJ Best
> The Netherlands
> 
> T: +31 (0) 499 33 69 69
> E: mike.looijmans@topicproducts.com
> W: www.topicproducts.com
> 
> Please consider the environment before printing this e-mail
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141115): https://lists.openembedded.org/g/openembedded-core/message/141115
Mute This Topic: https://lists.openembedded.org/mt/75843935/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic