#16 Allow overriding the architecture that FlatpakBuilder uses
Merged by otaylor. Opened by otaylor.
arch_override  into  master

Download 16.patch

This supercedes #15

We want to allow cross-building and generating a Flatpak OCI for an architecture other than the current one - to enable this, allow FlatpakBuilder(..., oci_arch=<other arch).

Because we need to maintain a mapping between OCI/RPM/Flatpak architecture names, new architectures will require an addition here.

Tests are extended to check the generated OCI content, and then updated to handle metadata changes based on architecture - looking at the individual commits will clarify what is going on.

LGTM, thank you for handling this.

5 new commits added

  • Allow overriding the architecture that FlatpakBuilder uses
  • test_flatpak_builder: Add checks on the generated OCI
  • test_flatpak_builder: Fix contents of generated Flatpaks
  • test_flatpak_builder: remove a stray print
  • test_flatpak_builder: use right metadata for runtime

Pull-Request has been merged by otaylor

Metadata