175.2. fwupd-snapshot-20261028
The LVFS firmware metadata as of a KDOS release, for fwupd's offline kdos-snapshot remote
20261028-1 · CC0-1.0 · 0.1 SBU · 1.9 MiB, 3 files · 42_graphics, 64 of 189 · ports/core/boot/fwupd-snapshot
Homepage: https://fwupd.org
Why it is in KDOS. The comment above fwupd and fwupd-snapshot in script/phases/42_graphics/packages.d/boot.txt:
Firmware updates: UEFI, SSDs, docks, peripherals. fwupd-efi is the capsule loader the UEFI plugin boots into, and gnu-efi is what it is linked against.
The LVFS firmware metadata as it stood on the day a KDOS release was cut: the Linux Vendor Firmware Service’s firmware.xml.zst and the firmware.xml.zst.jcat that signs it, installed under /usr/share/fwupd/remotes.d/kdos-snapshot/. The kdos-snapshot local remote, /usr/share/fwupd/remotes.d/kdos-snapshot.conf from fs/, reads it, so fwupd lists the firmware updates that apply to this machine, in fwupdmgr get-updates and on Discover’s Updates page, with no network. Installing one fetches its cabinet from the LVFS, a download somebody started by pressing the button.
Depends on: fwupd.
Required by (1): kde-plasma.
Sources: fwupd-snapshot-20261028.tar.xz (1.9 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install fwupd-snapshot'
build.sh:
install -Dm644 -t "$PKG/usr/share/fwupd/remotes.d/kdos-snapshot" \
firmware.xml.zst firmware.xml.zst.jcat SNAPSHOT
Directories: /usr/share/fwupd/remotes.d/kdos-snapshot.
- The source is made, not downloaded by the build.
ports/fwupd-snapshot, run when a release is cut, fetches the two files, checks them, packs them with aSNAPSHOTrecord (where they came from, when, their sha256 and the signing certificate’s subject) intofwupd-snapshot-<date>.tar.xz, and rewritesversionandsha256here.ports/publish fwupd-snapshotthen puts the tarball in the source archive, which is the only place it exists;source =names the file and no URL. The tarball is reproducible: sorted members, owner 0, every mtime the date at 00:00 UTC, so a second run over the same two files gives the same hash. - The signature is checked before the tarball is written. fwupd trusts a local remote outright, marking every release in it as trusted metadata and payload, so the snapshot must be the LVFS’s own. The script requires a PKCS#7 signature in the jcat to verify over the metadata against the LVFS CA certificates, which it takes from the fwupd source tarball after checking that tarball against fwupd’s pinned sha256, and every SHA-256 and SHA-512 the jcat records to match. The LVFS signs with RSA and with ML-DSA-87;
openssl cmsverifies the RSA signature and refuses the ML-DSA one’s SHAKE256 digest, which the script reports and passes over. After that the recipe’s sha256 pins the bytes, as it does every source. - It is as current as the release. Firmware published after the snapshot does not appear until the next release, or until
fwupdmgr enable-remote lvfsturns on the LVFS’s own download remote, which then outranks this one (OrderAfter=lvfs) and which Discover refreshes at each start.