In ukify there's this comment
        # linux shall be last to leave breathing room for decompression.
        # We'll add it later.
 
The current implementation of UKI profiles seems to completely ignore this fact and just appends profiles at the end. To accomodate this, we should probably special case the .linux and not allow it to be modified in a profile and just treat it as a global section.
This also means the entire ukify interface for multi profile UKIs is broken and needs to be reworked so all the profiles are built upfront and passed in when building the UKI so that ukify can put the .linux section last.