summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2019-06-13 02:24:04 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:39:13 +0200
commit378b51908c06bca0af0d19e976fd0db51699ae7c (patch)
treeb72ad785a7b9195e709c53ea1b6cfb96196d7db8 /config
parentbdb11c725b7078a54cb249ad2219366cc459309b (diff)
downloadopenwrt-378b51908c06bca0af0d19e976fd0db51699ae7c.tar.gz
openwrt-378b51908c06bca0af0d19e976fd0db51699ae7c.tar.bz2
openwrt-378b51908c06bca0af0d19e976fd0db51699ae7c.zip
build: add buildinfo files for reproducibility
generate feeds.buildinfo and version.buildinfo in build dir after containing the feed revisions (via ./scripts/feeds list -sf) as well as the current revision of buildroot (via ./scripts/getver.sh). With this information it should be possible to reproduce any build, especially the release builds. Usage would be to move feeds.buildinfo to feeds.conf and git checkout the revision hash of version.buildinfo. Content of feeds.buildinfo would look similar to this: src-git routing https://git.openwrt.org/feed/routing.git^bf475d6 src-git telephony https://git.openwrt.org/feed/telephony.git^470eb8e ... Content of version.buildinfo would look similar to this: r10203+1-c12bd3a21b Without the exact feed revision it is not possible to determine installed package versions. Also rename config.seed to config.buildinfo to follow the recommended style of https://reproducible-builds.org/docs/recording/ Signed-off-by: Paul Spooren <mail@aparcar.org> (cherry picked from commit 454021581f630d5d04afeb8ff6581c1bda295c87)
Diffstat (limited to 'config')
-rw-r--r--config/Config-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index fe916e22ea..35341833e3 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -93,7 +93,7 @@ menu "Global build settings"
bool "Include build configuration in firmware" if DEVEL
default n
help
- If enabled, config.seed will be stored in /etc/build.config of firmware.
+ If enabled, config.buildinfo will be stored in /etc/build.config of firmware.
config COLLECT_KERNEL_DEBUG
bool