Skip to content

[Bug] Objcopy fails for some systemd boot images #43

@dilucide

Description

@dilucide

Description

Due to some EFI stubs being located at a VM address greater than zero, the current boot-loader install process fails with an objcopy error message stating that the section address is located below the image base. To remedy this, pull request #42 was created calculating the VMA offsets dynamically.

Reproduction steps

Perform a build and installation according to the README on Ubuntu 24.10 Desktop.

Current Behavior

On Ubuntu 24.10 Desktop, installation fails with a multiple objcopy [...]: section below image base errors.

Expected Behavior

The sectpmctl-boot script handles any EFI stub and does not rely on hard-coded values.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions