<?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>14702</bug_id>
          
          <creation_ts>2022-01-22 21:35:12 +0000</creation_ts>
          <short_desc>core-image-tiny-initrams fails to boot due to missing arith feature in busybox</short_desc>
          <delta_ts>2022-02-02 05:23:28 +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>unspecified</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>normal</bug_severity>
          <target_milestone>4.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro">alejandro</reporter>
          <assigned_to name="Alejandro">alejandro</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92390</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro">alejandro</who>
    <bug_when>2022-01-22 21:35:12 +0000</bug_when>
    <thetext>When running core-image-tiny-initramfs we get greeted with the following error:

`Waiting for removable media...                                                                   
/init: line 144: syntax error: support for $((arith)) is disabled                      
[   16.222552] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200         
[   16.223613] CPU1: stopping                                                                    [   16.224400] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.14-yocto-tiny #1`

This is caused by a line in tiny&apos;s init script which tries to use shell arithmetic, I suspect this is caused by a missing feature in busybox, although its unclear why it was working before, perhaps a busybox upgrade changed defaults?.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92449</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro">alejandro</who>
    <bug_when>2022-02-02 05:23:28 +0000</bug_when>
    <thetext>Fixed here:
https://git.yoctoproject.org/poky/commit/?id=74a8a74a553a33dc5f41939f8070d75e6d57d3da</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>