<?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>13156</bug_id>
          
          <creation_ts>2019-01-29 13:26:42 +0000</creation_ts>
          <short_desc>linux-fimware recipe is an abomination</short_desc>
          <delta_ts>2025-10-02 10:59:45 +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>kernel</component>
          <version>2.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>jon.mason</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tom.zanussi</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>82891</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-01-29 13:26:42 +0000</bug_when>
    <thetext>This recipe seriously needs refactoring before it reaches 1000 lines.

I suspect that expressing the content of the recipe in some Python data structures that generates the packaging rules would reduce the size and complexity of the recipe drastically.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89766</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-03-25 15:29:19 +0000</bug_when>
    <thetext>Ross, too late:
$ wc -l `fd linux-firmware_`
1041 meta/recipes-kernel/linux-firmware/linux-firmware_20210208.bb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89769</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-03-25 16:08:16 +0000</bug_when>
    <thetext>????</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89770</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-03-25 16:08:31 +0000</bug_when>
    <thetext>Huh, that was meant to be emoji. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95243</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-03-30 15:26:17 +0000</bug_when>
    <thetext>We could reduce the boilerplate in the recipe ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96819</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:24 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102860</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-10-02 10:59:45 +0000</bug_when>
    <thetext>For anyone who cares, I&apos;m making progress towards machine-readable metadata in linux-firmware upstream so we can autogenerate the packaging.

eg https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/591</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>