<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12653</bug_id>
          
          <creation_ts>2018-04-04 18:41:05 +0000</creation_ts>
          <short_desc>update machine config files removing deprecated &quot;SERIAL_CONSOLE&quot;</short_desc>
          <delta_ts>2018-09-26 10:50:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephano Cetola">stephano</reporter>
          <assigned_to name="Maciej Pijanowski">maciej.pijanowski</assigned_to>
          <cc>maciej.pijanowski</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80103</commentid>
    <comment_count>0</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2018-04-04 18:41:05 +0000</bug_when>
    <thetext>We deprecated SERIAL_CONSOLE in 2013, yet many of our machine files still use the variable:

x86-base.inc
mpc8315e-rdb.conf
edgerouter.conf
beaglebone-yocto.conf

This is confusing to users looking to us for an example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80104</commentid>
    <comment_count>1</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2018-04-04 18:59:46 +0000</bug_when>
    <thetext>Note that this will require that documentation be changed since we use the beaglebone as our example here:

https://www.yoctoproject.org/docs/2.5/bsp-guide/bsp-guide.html#creating-a-new-bsp-layer-using-the-bitbake-layers-script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80118</commentid>
    <comment_count>2</comment_count>
    <who name="Denys Dmytriyenko">denis</who>
    <bug_when>2018-04-05 08:03:54 +0000</bug_when>
    <thetext>Stephano, can you please provide a link to deprecation notice from 2013 for the record? Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80929</commentid>
    <comment_count>3</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2018-06-26 22:54:59 +0000</bug_when>
    <thetext>https://patchwork.openembedded.org/patch/49185/

http://lists.openembedded.org/pipermail/openembedded-core/2013-May/077916.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81265</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Pijanowski">maciej.pijanowski</who>
    <bug_when>2018-08-06 19:29:58 +0000</bug_when>
    <thetext>Currently, following machine configuration files seem to need the transition
from SERIAL_CONSOLE to SERIAL_CONSOLES:

./meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf:SERIAL_CONSOLE = &quot;115200 ttyS0&quot;
./meta-yocto-bsp/conf/machine/edgerouter.conf:SERIAL_CONSOLE = &quot;115200 ttyS0&quot;
./meta-yocto-bsp/conf/machine/beaglebone-yocto.conf:SERIAL_CONSOLE = &quot;115200 ttyO0&quot;
./meta/conf/machine/include/x86-base.inc:SERIAL_CONSOLE ?= &quot;115200 ttyS0&quot;

There is also the serialgetty recipe which still uses SERIAL_CONSOLE:

./meta/recipes-core/systemd/systemd-serialgetty.bb:SERIAL_CONSOLE ?= &quot;115200 ttyS0&quot;

If we want to leave the default value, I think we should still transition it to
SERIAL_CONSOLES. The recipe is already using SERIAL_CONSOLES variable internally
in the do_install().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81412</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Pijanowski">maciej.pijanowski</who>
    <bug_when>2018-08-22 20:01:15 +0000</bug_when>
    <thetext>As suggested on the oe-core ML, patch was send to the poky ML: https://lists.yoctoproject.org/pipermail/poky/2018-August/011462.html
Would that be the correct place for it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81625</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-09-26 10:50:35 +0000</bug_when>
    <thetext>Merged in:

meta-yocto a0c5332aefe75cf314e78284f578b17c51b8ab27
OE-Core e5bde3d466869df9fce559e49842ac245153d045</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>