title: Yocto - Bitbake - Example recipe to add a line in /etc/inittab file
body: <p>I created a recipe "loader_0.1.bb" as examplified below:</p>
  
  <pre><code>PACKAGE_ARCH = "all"
  
  SRC_URI = "file://startapp.py"
  
  
  do_install () {
     install -d ${D}/sbin
     install -m 755 ${WORKDIR}/startapp.py ${D}/sbin/startapp.py
  }
  
  FILES_${PN} += "/sbin/startapp.py"
  
  RDEPENDS_${PN} = "python"
  </code></pre>
  
  <p>But I need to create a new command inside inittab something like</p>
  
  <pre><code>MM:12345:respawn:/sbin/startapp.py
  </code></pre>
  
  <p>I found some solutions to add the entire file "inittab", but I can't use this way, because there will be other recipes with other entries in inittab.</p>
  
  <p>Any ideas ?
  Thanks in advance</p>