2020-06-11 03:50:32 +02:00
|
|
|
Source tarballs
|
|
|
|
|
===============
|
|
|
|
|
|
2020-06-12 20:54:18 +02:00
|
|
|
✓ _This file should be reproducible, meaning you should be able to generate
|
|
|
|
|
distributables that match the official releases._
|
2020-06-11 03:50:32 +02:00
|
|
|
|
|
|
|
|
This assumes an Ubuntu (x86_64) host, but it should not be too hard to adapt to another
|
2021-06-17 19:41:37 +02:00
|
|
|
similar system.
|
2020-06-11 03:50:32 +02:00
|
|
|
|
|
|
|
|
1. Install Docker
|
|
|
|
|
|
2022-03-03 18:55:35 +01:00
|
|
|
See `contrib/docker_notes.md`.
|
2020-06-11 03:50:32 +02:00
|
|
|
|
2021-06-17 19:41:37 +02:00
|
|
|
2. Build source tarball
|
2020-06-11 03:50:32 +02:00
|
|
|
|
|
|
|
|
```
|
2021-06-17 19:41:37 +02:00
|
|
|
$ ./build.sh
|
2020-06-11 03:50:32 +02:00
|
|
|
```
|
2021-06-17 19:41:37 +02:00
|
|
|
If you want reproducibility, try instead e.g.:
|
2020-06-11 03:50:32 +02:00
|
|
|
```
|
2021-06-17 19:41:37 +02:00
|
|
|
$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./build.sh
|
2020-06-11 03:50:32 +02:00
|
|
|
```
|
|
|
|
|
|
2021-06-17 19:41:37 +02:00
|
|
|
3. The generated distributables are in `./dist`.
|