Skip to content

Include modaliases in AppStream metadata

Ben Hutchings requested to merge benh/firmware-nonfree:modalias into master

There is a need for modaliases in the AppStream metadata, as the mappings from devices to modules and firmware filenames are not always readily available. See the discussion around https://lists.debian.org/debian-boot/2021/03/msg00048.html.

The package build process also doesn't necessarily have those mappings readily available, so this adds a cache of the needed information to the source package (debian/modinfo.json), and a script to update that (debian/bin/update-modinfo).

This updates debian/bin/gencontrol.py to map each binary package's firmware filenames to module names and then modaliases, and to substitute those into templates to generate the AppStream metadata.

Edited by Ben Hutchings

Merge request reports

Loading