<?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>15583</bug_id>
          
          <creation_ts>2024-08-28 18:32:51 +0000</creation_ts>
          <short_desc>core-image-tiny-initramfs fails to build due to misconfiguration in busysbox</short_desc>
          <delta_ts>2024-08-29 14:41:44 +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>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Iuliu Vasilescu">iuliuv</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tim.orling</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>99580</commentid>
    <comment_count>0</comment_count>
    <who name="Iuliu Vasilescu">iuliuv</who>
    <bug_when>2024-08-28 18:32:51 +0000</bug_when>
    <thetext>I&apos;ve tried to build core-image-tiny-initramfs, for raspberypi4-64. This fails due to dependency on busybox-mdev that should be created by the busybox recipe. However in this recipe, in:
poky/meta/recipe-core/busybox/busybox/defconfig

these lines are commented:
# CONFIG_MDEV
# CONFIG_FEATURE_MDEV_CONF
...

This is why the package busybox-mdev never gets built. In my opinion, these options should be activated by default. I can&apos;t think of a reason why they are not, requiring another layer to activated them. Activating them make the core-image-tiny-initramfs compile without error.

Iuliu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99583</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2024-08-29 14:39:56 +0000</bug_when>
    <thetext>The mdev feature is controlled by a config fragment, i.e. meta/recipes-core/busybox/busybox/mdev.cfg 

In meta/recipes-core/busybox/busybox_1.36.1.bb this is controlled by:

${@[&quot;&quot;, &quot;file://mdev.cfg&quot;][(d.getVar(&apos;VIRTUAL-RUNTIME_dev_manager&apos;) == &apos;busybox-mdev&apos;)]} \

so it is only enabled when the init manager is selected.

I don&apos;t think we should enable this unless something is using it. That is a distro policy decision (which can add the cfg to busybox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99585</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-08-29 14:41:44 +0000</bug_when>
    <thetext>And since you are using a raspberrypi4-64 machine, you may want to ask in a meta-rapsberrypi issue on GitHub https://github.com/agherzan/meta-raspberrypi

But first make sure you have your &quot;distro&quot; configured properly, as RP said.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>