summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-08-06reproducible/openwrt|lede: fix exit code of node executionAlexander Couzens1-1/+2
The return code from all functions are 0 or the program will exit on a different code path. Also ensure there is no trap in the end. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-03reproducible/openwrt|lede: ensure tmpdirs are removed after failed runsAlexander Couzens1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02Revert "reproducible/openwrt|lede: remove arguments from common_init"Alexander Couzens1-1/+1
This reverts commit 193c178dd97b19c252f6d9e2940a474fff3bec7a. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: add debug line to see what argument got calledAlexander Couzens1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: exit with error when called with unsupported modeAlexander Couzens1-0/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: remove openwrt_mktempdirAlexander Couzens1-1/+0
Use the same directory across multiple nodes Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: add date to the tempbuilddirAlexander Couzens1-3/+3
Add a date to the TMPBUILDDIR. Will reduce the possibility of TMPBUILDIR clashes when using the same directory across multiple nodes. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/lede: only alllow certain functions to be executed remoteAlexander Couzens1-0/+10
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: replace remote node argument with global variablesAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: remove arguments from common_initAlexander Couzens1-1/+1
Until now there wasn't any arguments used to this script. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: rename argument from slave -> nodeAlexander Couzens1-2/+1
To conform to the naming on other scripts Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02Revert "reproducible/openwrt|lede: fixup node_wrapper usage"Alexander Couzens1-3/+4
This reverts commit 8d586d5c9968778c934996aa59626635fc20b99f. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-30reproducible/openwrt|lede: fixup node_wrapper usageHolger Levsen1-4/+3
2016-07-30reproducible/openwrt|lede: use multinode setup for lede and openwrtAlexander Couzens1-18/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-30reproducible/openwrt|lede: allow to execute the script itselfAlexander Couzens1-0/+15
To call function on a remote host, allow to call itself on a remote host with different arguments Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23reproducible/openwrt|lede: move create_results_dirs upwards to fix dir not ↵Alexander Couzens1-2/+2
exists error Both builds try to write the logs into this directory even it doesn't exists before Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt/lede: add forgotten arg to create_results_dir on the second runAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt_common: make create_results_dirs flexible to allow lede buildsAlexander Couzens1-1/+1
could be also adopted by reproducible_common.sh Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: move everything but main() into ↵Alexander Couzens1-187/+1
reproducible_openwrt_common.sh to support lede and openwrt its a good idea to move common code out of the file Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: modify build_two_times to allow lede buildsAlexander Couzens1-5/+13
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: add lede_save_resultsAlexander Couzens1-0/+41
lede has a slight different output directory layout Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-05-07reproducible builds: notify the correct channel(s)Holger Levsen1-1/+1
2016-04-29reproducible: rename function: s#explaination_table#variation_table#gHolger Levsen1-1/+1
2016-02-06reproducible openwrt: set -xHolger Levsen1-1/+1
2016-02-01Revert "openwrt: switch to https://github.com/lynxis/openwrt branch ↵Alexander Couzens1-2/+2
reproducible" This reverts commit d0b3c2ca3226635fe249fb1c26e4c6740f12e58e. Switch back to upstream
2016-01-18openwrt: also ignore modular packages fails to buildAlexander Couzens1-1/+1
2016-01-08Revert "reproducible openwrt: enable debug"Holger Levsen1-1/+1
This reverts commit 211e3c8002098d3548985efb55910287274340e8.
2016-01-08reproducible openwrt: enable debugHolger Levsen1-1/+1
2015-12-16always use mktemp with '-t -XXXX'Holger Levsen1-2/+2
2015-12-14reproducible openwrt: s#failed to build once#failed to build#gHolger Levsen1-2/+2
2015-12-14reproducible coreboot/openwrt/netbsd: stop being too nice (as these jobs ↵Holger Levsen1-16/+8
only run rarely on nodes which are constantly busy with rpms and archlinux)
2015-12-12fix typo: s#Repoducible#Reproducible#gHolger Levsen1-1/+1
2015-12-11reproducible openwrt: improve table header: unreproducible or otherwise ↵Holger Levsen1-1/+1
broken…
2015-12-11openwrt: use BUILD_LOG to create openwrt/logsAlexander Couzens1-1/+14
BUILD_LOG=1 will create a logs/ directory where openwrt create a directory for every target and saves log files in there. Between both builds save the logs in a tar.xz ball and publish it under https://repoducible.debian.net/openwrt/logs_a.tar.xz and https://repoducible.debian.net/openwrt/logs_b.tar.xz
2015-12-10reproducible *.sh fix whitespacesAlexander Couzens1-1/+1
2015-12-10openwrt: fix wrong usage of IGNORE_ERRORSAlexander Couzens1-1/+1
the build won't fail anymore because of broken packages
2015-12-10openwrt: build tools + toolchain parallelAlexander Couzens1-4/+2
2015-12-10openwrt: disable all architectures but ar71xxAlexander Couzens1-2/+4
2015-12-07openwrt: select branch while cloningAlexander Couzens1-2/+1
because of --depth they don't fetch the whole repository with all branches
2015-12-07openwrt: switch to https://github.com/lynxis/openwrt branch reproducibleAlexander Couzens1-2/+2
for testing switch to my branch as long there are missing a lot of patches in openwrt
2015-12-07openwrt: implement OPENWRT_GIT_BRANCHAlexander Couzens1-0/+2
choose the branch for the git checkout
2015-10-26Revert "reproducible openwrt: temporarily enable debug"Holger Levsen1-1/+0
This reverts commit a0caea27c7b7d836aedda4f951565f41706a6199.
2015-10-24reproducible openwrt: temporarily enable debugHolger Levsen1-0/+1
2015-10-23reprodducible openwrt: save banner before cleanupHolger Levsen1-3/+5
2015-10-21openwrt: add CLEAN_IPKG and always build *rootfs.tar.gzbnewbold1-1/+3
2015-10-21reproducible openwrt: add very simple safeguards against cleanup going wrongHolger Levsen1-0/+6
2015-10-21openwrt: trivial style changesbnewbold1-1/+5
Add a "documentation being generated" header to stdout, and parameterize the openwrt git repo url to a variable up top
2015-10-21openwrt: use hard (-f) rm to clear temporary filesbnewbold1-6/+6
This fixes some hangs and bugs I ran in to while testing.
2015-10-21openwrt: fix trivial double 'K' sizes in output HTMLbnewbold1-3/+3
2015-10-19reproducible: improve outputHolger Levsen1-1/+1