summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-07-30 01:45:51 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-30 15:08:58 -0400
commit52531c464ec98d25613fc54ba82fcb89f499c744 (patch)
treee43af92a95bc2ef99e37edc1b98457f73dcd6f88 /bin
parent478784a1fd26c8411d5fe24028fe0eae72bd5e90 (diff)
downloadjenkins.debian.net-52531c464ec98d25613fc54ba82fcb89f499c744.tar.xz
reproducible_openwrt_common: add comments for save_results
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rw-r--r--bin/reproducible_openwrt_common.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index d821843c..1fc84302 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -33,8 +33,11 @@ save_logs() {
}
# RUN - is b1 or b2. b1 for first run, b2 for second
+# save the images and packages under $TMPDIR/$RUN
save_lede_results() {
RUN=$1
+
+ # first save all images and target specific packages
pushd bin/targets
for target in * ; do
pushd $target || continue
@@ -80,6 +83,8 @@ save_lede_results() {
popd
}
+# RUN - is b1 or b2. b1 for first run, b2 for second
+# save the images and packages under $TMPDIR/$RUN
save_openwrt_results() {
RUN=$1
cd bin