Comments (12)
I have an semi automated build script and a docker container. I need to clean it up a bit and want to make sure that it will create reproducible builds.
from skulls.
If we can build reproducibly, it would make sense and be great to include it. It wouldn't affect release tarballs though.
from skulls.
Here is the initial commit for a local docker builder. I want to add the ability to add take a commit hash or tag.
I opted for the official coreboot docker container. While much larger than the one I had, coreboot's is designed for reproducible builds.
from skulls.
Have you tested it? There are minor things I spot:
- build the toolchain if not yet built (or possibly anyways, to be sure to be up to date; it doesn't take long when up to date)
- the model name "x230" could be defined more centrally (directory name), and not hardcoded at multiple places
- running make nconfig seems strange. why have something interactive in there?
- integration: copy our config and vga bios in
but when I find time to test, I can as well imagine integrating this and impove it from there. thanks. feel free to create a pull request.
from skulls.
To answer a few of these,
- Yes, I have tested it and one of the perks of using the official Coreboot container is that it already has the toolchain built and installed.
- (facepalm) Of course I should be reading directories instead of maintaining a list.
- Currently, it pulls the latest from Coreboot;
make nconfig
was make any relevant config changes. When adding in the ability to build from a specific commit or tag, I will add an interactive mode flag. - I have not a conclusive answer on why the vga bios is not already included in the coreboot blob repo. Have you found the license agreement that permits this? This concern is why I am using the libgfxinit config but would prefer to full integrate with the rest of skulls.
from skulls.
- any link to that official container, or documentation?
- ok
- I wouldn't worry too much about only building the tip master. That's fine actually. But isn't there
make oldconfig
? - good point actually, trying to push the vga bios into the blobs repo, but that's off topic here. we have another issue about this. But I have unfortunately never found a license that applies to it. We'll keep on looking, maybe we add a disclaimer, but we use it. We don't yet get the functionality we need without it.
- Even though now it seems that our microcode update changes are going to be merged and we don't have to apply anything, we surely will do so again someday, so: have a patches directory, or parse a file with
git pull
commands would be necessary in the long run. Ignore that for now though.
from skulls.
Hiding in plain sight
- https://github.com/coreboot/coreboot/blob/master/util/docker/coreboot-sdk/Dockerfile
- https://hub.docker.com/r/coreboot/coreboot-sdk/
I doubt the hash will match https://tests.reproducible-builds.org/coreboot/coreboot.html because I do not know what config they are using to generate it.
from skulls.
thanks. if I understand this, that's irrelevant as long as our config produces the same hash.
from skulls.
I am not sure how this should be integrated with Skulls so for now I created a separate repo here Thrilleratplay/coreboot-builder-scripts
from skulls.
Thanks! I'd love to include them when they build reproducibly.
from skulls.
included. @Thrilleratplay can I add a "author" or copyright comment with your name to your scripts, as I didn't preserve the git history? thanks.
from skulls.
@merge Sure. Add whatever you feel is appropriate.
from skulls.
Related Issues (20)
- T440p: Flashing process stops at "Reading flash... done." HOT 2
- cb_in: error: LIBUSB_TRANSFER_TIMED_OUT HOT 3
- Bootsplash HOT 1
- Green Art-ifacts on Payloads HOT 1
- get rid of the `-dirty` in the coreboot version HOT 1
- Version 1.06 still has COREBOOT_DMI_DATE "12/07/2022" HOT 1
- Hardware help HOT 1
- T440p internal flashing from 1.0.6 to 1.0.7 (Error: "Image size doesn't match the flash chip's size") HOT 5
- TINT (Secondary Payload) HOT 1
- Boot process x230 HOT 4
- TL;DR wrong command?
- x230 touchpad not working HOT 2
- T440p free RAM init available HOT 4
- works with ThinkPad S230u (Twist) HOT 1
- Please use flashrom v1.2 or later. You seem to use . HOT 4
- Flashrom cannot read EEPROM, no DMI table found HOT 1
- master is currently behind tag 1.0.8 HOT 2
- Tigard - External Install Top
- Feature: Thinkpad p17
- Request: Support other brands as well HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skulls.