Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] genericx86-64.conf: Add SERIAL_CONSOLES_CHECK = "ttyS0"
@ 2016-09-28 23:27 California Sullivan
  2016-09-28 23:39 ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: California Sullivan @ 2016-09-28 23:27 UTC (permalink / raw)
  To: openembedded-core

Trying to start getty on a non-existent console will spew I/O errors
into auth.log on some hardware. Avoid this behavior by checking that
ttyS0 is a console that exists.

Fixes [YOCTO #10291].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
---
 meta-yocto-bsp/conf/machine/genericx86-64.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-yocto-bsp/conf/machine/genericx86-64.conf
index ceee247..d843fd2 100644
--- a/meta-yocto-bsp/conf/machine/genericx86-64.conf
+++ b/meta-yocto-bsp/conf/machine/genericx86-64.conf
@@ -8,3 +8,5 @@ require conf/machine/include/tune-core2.inc
 require conf/machine/include/genericx86-common.inc
 
 PREFERRED_VERSION_linux-yocto_genericx86-64 ?= "4.8%"
+
+SERIAL_CONSOLES_CHECK = "ttyS0"
-- 
2.5.5



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

* Re: [PATCH 1/1] genericx86-64.conf: Add SERIAL_CONSOLES_CHECK = "ttyS0"
  2016-09-28 23:27 [PATCH 1/1] genericx86-64.conf: Add SERIAL_CONSOLES_CHECK = "ttyS0" California Sullivan
@ 2016-09-28 23:39 ` Saul Wold
  2016-09-28 23:47   ` Cal Sullivan
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2016-09-28 23:39 UTC (permalink / raw)
  To: California Sullivan, openembedded-core

On Wed, 2016-09-28 at 16:27 -0700, California Sullivan wrote:
> Trying to start getty on a non-existent console will spew I/O errors
> into auth.log on some hardware. Avoid this behavior by checking that
> ttyS0 is a console that exists.
> 
> Fixes [YOCTO #10291].
> 
> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
> ---
>  meta-yocto-bsp/conf/machine/genericx86-64.conf | 2 ++
As this is meta-yocto-bps, this should really go to poky@yoctoproject.o
rg, otherwise this looks good.

<Reviewed-by: Saul Wold <sgw@linux.intel.com>


>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-
> yocto-bsp/conf/machine/genericx86-64.conf
> index ceee247..d843fd2 100644
> --- a/meta-yocto-bsp/conf/machine/genericx86-64.conf
> +++ b/meta-yocto-bsp/conf/machine/genericx86-64.conf
> @@ -8,3 +8,5 @@ require conf/machine/include/tune-core2.inc
>  require conf/machine/include/genericx86-common.inc
>  
>  PREFERRED_VERSION_linux-yocto_genericx86-64 ?= "4.8%"
> +
> +SERIAL_CONSOLES_CHECK = "ttyS0"
> -- 
> 2.5.5
> 


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

* Re: [PATCH 1/1] genericx86-64.conf: Add SERIAL_CONSOLES_CHECK = "ttyS0"
  2016-09-28 23:39 ` Saul Wold
@ 2016-09-28 23:47   ` Cal Sullivan
  0 siblings, 0 replies; 3+ messages in thread
From: Cal Sullivan @ 2016-09-28 23:47 UTC (permalink / raw)
  To: Saul Wold, openembedded-core

Alrighty. I will resend there.

Thanks,
Cal

On 09/28/2016 04:39 PM, Saul Wold wrote:
> On Wed, 2016-09-28 at 16:27 -0700, California Sullivan wrote:
>> Trying to start getty on a non-existent console will spew I/O errors
>> into auth.log on some hardware. Avoid this behavior by checking that
>> ttyS0 is a console that exists.
>>
>> Fixes [YOCTO #10291].
>>
>> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
>> ---
>>   meta-yocto-bsp/conf/machine/genericx86-64.conf | 2 ++
> As this is meta-yocto-bps, this should really go to poky@yoctoproject.o
> rg, otherwise this looks good.
>
> <Reviewed-by: Saul Wold <sgw@linux.intel.com>
>
>
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-
>> yocto-bsp/conf/machine/genericx86-64.conf
>> index ceee247..d843fd2 100644
>> --- a/meta-yocto-bsp/conf/machine/genericx86-64.conf
>> +++ b/meta-yocto-bsp/conf/machine/genericx86-64.conf
>> @@ -8,3 +8,5 @@ require conf/machine/include/tune-core2.inc
>>   require conf/machine/include/genericx86-common.inc
>>   
>>   PREFERRED_VERSION_linux-yocto_genericx86-64 ?= "4.8%"
>> +
>> +SERIAL_CONSOLES_CHECK = "ttyS0"
>> -- 
>> 2.5.5
>>



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

end of thread, other threads:[~2016-09-28 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 23:27 [PATCH 1/1] genericx86-64.conf: Add SERIAL_CONSOLES_CHECK = "ttyS0" California Sullivan
2016-09-28 23:39 ` Saul Wold
2016-09-28 23:47   ` Cal Sullivan

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