Skip to content

Optional (?) support for reproducible builds of LK. #447

@shymega-ct

Description

@shymega-ct

Hi,

It would be beneficial, if we could allow for reproducible builds of Littlekernel.

Currently, although there are a lot of forks of lk, so it's hard to be certain, the date/time of a build is embedded in the lk ELF/bin. I have not yet isolated the cause of this, but I can see ./lib/version/buildid.sh in this upstream repo's sources, which may also present a reproducibility issue.

Reproducibility means vendors can ensure that the resulting binary is built from X sources, known as provenance.

Is this possible in lk? Can someone provide some pointers on where date/timestamps are embedded into the resulting ELF/.bin?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions