Skip to content

Multi profile UKIs don't take into account that .linux section must be the last section in a UKI #34578

@DaanDeMeyer

Description

@DaanDeMeyer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions