Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducible Images #132

Open
KanjiMonster opened this issue Oct 18, 2024 · 0 comments
Open

Reproducible Images #132

KanjiMonster opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@KanjiMonster
Copy link
Contributor

Currently BISDN Linux releases are not reproducible. This means users must trust us that we do sneak in any extra code in the images (ignoring OF-DPA and ofdpa-grpc).

To alleviate this, images should be reproducible, i.e. using the same source code should yield the same bit identical image.

Currently, I have identified the following issues:

  • We use BUILD_ID based on DATE in within the image. This causes each build to be different.
  • ONL's kmod build script uses a tmpdir, which then leaks into the generated binaries.
  • The kernel uses includes a full static path in arm's generated mach_types.h. There is a kernel patch for that in Yocto, we just need to apply it.

The primary goal is that building a release tag will result in the same binary as we provide.

@KanjiMonster KanjiMonster added the enhancement New feature or request label Oct 18, 2024
@KanjiMonster KanjiMonster changed the title Preproducible Images Reproducible Images Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant