<?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>10084</bug_id>
          
          <creation_ts>2016-08-04 20:01:56 +0000</creation_ts>
          <short_desc>RMC: Deploy central database file without dependency on EFI bootloader</short_desc>
          <delta_ts>2020-06-25 08:44:20 +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>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>10073</dependson>
          <blocked>10089</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jianxun Zhang">jianxun.zhang</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>tim.orling</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>64902</commentid>
    <comment_count>0</comment_count>
    <who name="Jianxun Zhang">jianxun.zhang</who>
    <bug_when>2016-08-04 20:01:56 +0000</bug_when>
    <thetext>We haven&apos;t found another interface beside from a EFI_PROVIDER bbclass to deploy RMC central database onto ESP (FAT FS) on a hdd image in OE. What can be packed into that directory is dictated by bbclass for each EFI bootloader. Of course, only bootloader-specific data is cared.

We either find another existing interface or variable or refactor OE&apos;s image bbclass to let any SW to deploy bits on ESP. Then the RMC functionality in a bootloader is split from the deployment of a database file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64926</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2016-08-05 01:43:58 +0000</bug_when>
    <thetext>While this may capture implementation details, the bigger question is what is the proper user interface for this feature.

Right now what we have is:

EFI_PROVIDER=&quot;rmc-systemd-boot&quot; combined with DISTRO_FEATURES += &quot;rmc&quot;

which is obviously redundant and seems to assume the existence of an actual bootloader named &apos;rmc-system-boot&apos;.

Whereas what we conceptually have is a vanilla bootloader named &apos;systemd-boot&apos; that may or may not have rmc support to enable or disable as needed by the client.

This would argue for something more like:

EFI_PROVIDER=&quot;systemd-boot&quot; combined with DISTRO_FEATURES += &quot;rmc&quot;

This was actually implemented at one point, but the problem of what happens when the user specifies some other bootloader that doesn&apos;t support rmc - in this case the request was to warn the user at least, but this wasn&apos;t possible without some modifications to oe-core.

Please see the meta-intel mailing list for the complete discussion.

It may be that implementing the title of this bug directly may free us for an even better interface, but so far none other than the above has been proposed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67799</commentid>
    <comment_count>2</comment_count>
    <who name="Jianxun Zhang">jianxun.zhang</who>
    <bug_when>2016-10-31 19:46:39 +0000</bug_when>
    <thetext>This task depends on a wic plugin which can deploy non-bootloader-specific data to ESP, like a generic EFI wic plugin tracked in 10073</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87616</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2020-06-25 08:44:20 +0000</bug_when>
    <thetext>Work on RMC has been discontinued and it is no longer supported.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>