summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt_common.sh
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-07-14reproducible openwrt: common: fix type detection by adding a $ to variable testAlexander Couzens1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: move everything but main() into ↵Alexander Couzens1-0/+194
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>