Produced OSTree repo is incompatible with flatpak
I understand that flatdeb-steam isn't targeting flatpak, but still, I think it would be nice if the artifacts produced by flatdeb-steam could be fully usable within flatpak.
Flatpak expects xa.metadata
attribute on OSTree commits, containing the keyfile metadata. Since flatdeb-steam commits to OSTree repo with ostree
program (instead of commonly used flatpak build-export
), metadata isn't added automatically and flatpak can't install from that repo, complaining about commit metadata not matching expected metadata.
A fix for this would be passing metadata string to ostree
, with --add-metadata-string=xa.metadata=METADATA_CONTENTS
.
Since I can't fork this repo to send a MR, attaching a minimal patch implementing this.
0001-Fix-flatpak-metadata-in-OSTree-commits.patch