Skip to content

Draft: sysctl: create fwupd cab for testing

zeha requested to merge zeha/pocket-reform:zeha-sysctl-cab into main

Obviously todo:

  • should call our own packager and not the fwupd contrib sample
  • read version and changelog from CI
  • further xml customizations
  • cmake should discover if the tools are available and not fail for local development
  • extract cmake bits into include file

metainfo.xml generated by the fwupd script:

<?xml version="1.0" encoding="UTF-8"?>
<component type="firmware">
  <id>df0c9fc8</id>
  <name>Pocket Reform System Controller 1.0 Firmware</name>
  <summary>MNT Pocket Reform System Controller</summary>
  <description>
    None
  </description>
  <provides>
    <firmware type="flashed">df0c9fc8-88d6-5100-ba66-0f5c436fc522</firmware>
  </provides>
  <url type="homepage">https://mntre.com</url>
  <metadata_license>CC0-1.0</metadata_license>
  <project_license>GPL-3.0-or-later</project_license>
  <updatecontact>None</updatecontact>
  <developer_name>MNT Research GmbH</developer_name>
  <releases>
    <release version="1.0.0" timestamp="1729096329.4215093">
      <description>
        None
      </description>
    </release>
  </releases>
  <custom>
    <value key="LVFS::VersionFormat">triplet</value>
    <value key="LVFS::UpdateProtocol">com.microsoft.uf2</value>
  </custom>
</component>

fwupdtool get-details:

mntre MNT Pocket Reform with i.MX8MP Module

└─Pocket Reform System Controller 1.0:
  │   Device ID:          983c3cffc6fd36d32b00b62928d30721eaeb93db
  │   Current version:    0.0.0
  │   Vendor:             MNT (USB:0x1209)
  │   Serial Number:      DE63544193253234
  │   GUIDs:              874a17a9-dd06-5e8b-9007-09bc9be85b74
  │                       df0c9fc8-88d6-5100-ba66-0f5c436fc522 ← USB\VID_1209&PID_6D07
  │   Device Flags:       • Internal device
  │                       • Updatable
  │                       • Unsigned Payload

  └─Pocket Reform System Controller 1.0 Firmware Update:
        New version:      1.0.0
        Summary:          MNT Pocket Reform System Controller
        License:          GPL-3.0-or-later
        Size:             94.2 kB
        Created:          2024-10-16
        Vendor:           MNT Research GmbH
        Description:
        The vendor did not supply any release notes.
        Checksum:         99ecb85ac4f40b520a4f5a316bc1f5059f810d8f1e3101643612609a0c76ee77
Edited by zeha

Merge request reports