summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt_common.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-10-18reproducible/openwrt|lede: disable linux64 --uname-2.6 for nowAlexander Couzens1-1/+1
First get a working build, second enable more variations later Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: openwrt_build_toolchain: enable build_logAlexander Couzens1-2/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: use the same directory for lede and openwrtAlexander Couzens1-14/+13
make it simpler not have $TYPE everywhere to get the full build path Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: slave: don't trap when buildingAlexander Couzens1-1/+0
In case of an error, it will exit 1 and the master will clean up the tmpdirs of the remote nodes in case of failures. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: node_save_logs(): correct missing content pathAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: node_save_logs: ignore return code in error caseAlexander Couzens1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible/openwrt|lede: fix name of renamed function in failure pathAlexander Couzens1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: remove cleanupAlexander Couzens1-10/+0
it's not needed here, cleanup the whole directory. it also brokes the save_logs in case of failure Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: fix mistype in ifAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: node_save_logs: check input and hardcode pathsAlexander Couzens1-4/+14
improves the security if called over ssh and simplify the script. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: rename save_logs -> node_save_logsAlexander Couzens1-2/+2
In prepation to call it from outside Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: in case of failure: copy logs to $WORKSPACE/resultsAlexander Couzens1-2/+13
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: copy log files to $WORKSPACE/results/Alexander Couzens1-0/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: remove rsync verbose from /downloadAlexander Couzens1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: remove 2nd git cloneAlexander Couzens1-8/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: fix GENERIC_NODE1 typoAlexander Couzens1-1/+1
used NODE2 twice insteade node1/node2 Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: add debug to fix rsync bugAlexander Couzens1-0/+13
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: also create TMPDIR on master nodeAlexander Couzens1-0/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: add verbose to rsyncAlexander Couzens1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: add command node_create_tmpdirsAlexander Couzens1-1/+12
create tmpdir in a spereate step Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: disable umask for nowAlexander Couzens1-1/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: ignore download errorsAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: disable feeds for nowAlexander Couzens1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt/lede: add openwrt_downloadAlexander Couzens1-11/+34
download all necesarry files before building to fix the future. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-06reproducible/openwrt|lede: decouple node and master cleanupAlexander Couzens1-10/+12
master and nodes use a different cleanup function because the node have different build dirs Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-03reproducible/openwrt|lede: ensure tmpdirs are removed after failed runsAlexander Couzens1-4/+15
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-03reproducible/openwrt|lede: fix non-local variables within openwrt_compileAlexander Couzens1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: checkout a full treeAlexander Couzens1-1/+1
To find out the version it's required to have a full tree.
2016-08-02reproducible/openwrt|lede: remove openwrt_mktempdirAlexander Couzens1-14/+14
Use the same directory across multiple nodes Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: fix remote node executionAlexander Couzens1-5/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: add openwrt_mktempdir for remote note executionAlexander Couzens1-2/+6
mktemp is not possible to so Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: build_two_times(): improve formatting and commentsAlexander Couzens1-8/+6
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: replace remote node argument with global variablesAlexander Couzens1-12/+14
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: replace $SCRIPT with $0 nodeAlexander Couzens1-6/+5
remove one in-direction and to make holger happy Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: rename argument from slave -> nodeAlexander Couzens1-1/+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-6/+7
This reverts commit 8d586d5c9968778c934996aa59626635fc20b99f. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-30reproducible/openwrt|lede: fixup node_wrapper usageHolger Levsen1-7/+6
2016-07-30reproducible/openwrt|lede: use multinode setup for lede and openwrtAlexander Couzens1-39/+84
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-30reproducible_openwrt_common: add comments for save_resultsAlexander Couzens1-0/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_openwrt_common: move variations into a functionAlexander Couzens1-11/+25
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_openwrt_common: rename openwrt_build() -> openwrt_compileAlexander Couzens1-3/+3
prepare to use openwrt_build() for a full indepentend build. openwrt_compiles only the packages and images Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_openwrt_common: comment openwrt_buildAlexander Couzens1-0/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_openwrt_common: fix OpenWrt log message in lede buildAlexander Couzens1-5/+6
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_openwrt_common: b1/b2 for openwrt_buildAlexander Couzens1-2/+6
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_openwrt_common: add some commentsAlexander Couzens1-0/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-24reproducible_lede: move resulting images into targets dirAlexander Couzens1-2/+2
Make the structure more clean when packages are seperate from images Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23reproducible/openwrt_common: rename first argument of save_logs() into projectAlexander Couzens1-3/+3
The previous name was type which is a little bit disambicious Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt_common/save_lede_results: fix last path/popd/pushd bugsAlexander Couzens1-6/+12
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt_common: make create_results_dirs flexible to allow lede buildsAlexander Couzens1-1/+2
could be also adopted by reproducible_common.sh Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt_common: make save_openwrt_log more flexible to support ledeAlexander Couzens1-5/+8
Signed-off-by: Holger Levsen <holger@layer-acht.org>