org.gnome.Platform tries to load sdk extensions
While trying to test the rust extension for freedesktop-sdk unstable, I got the following error
bwrap: Can't mkdir /usr/lib/sdk: Read-only file system
error: ldconfig failed, exit status 256
I get the same error if I try to run org.gnome.Platform directly. /usr/lib/sdk
isn't available in the platform, only in the sdk.
I looked at the metadata, and org.freedesktop.Sdk.Extension
is defined in both org.gnome.Platform and org.gnome.Sdk in master while it is only in org.gnome.Sdk in 3.28.
The problem is likely in the metadata for freedesktop-sdk unstable: something in there makes flatpak-builder think that org.freedesktop.Sdk.Extension is an extension of the platform.
However, trying to compare the metadata in freedesktop-sdk unstable with 1.6, I couldn't see any important difference.