summaryrefslogtreecommitdiff
path: root/build-recipe-fissile
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2017-10-23 13:46:08 +0200
committerMichael Schroeder <mls@suse.de>2017-10-23 13:46:38 +0200
commitd9d25c20c7c8c2f1de9d2fea4b47d497e2f484b7 (patch)
tree29ec7fcf8e3eca6418000cf0b19302e8d3702ca2 /build-recipe-fissile
parent3ed40d9c275fa82bb36e4317005daa2e6d9b3f99 (diff)
Put the disturl in the container annotation
Diffstat (limited to 'build-recipe-fissile')
-rw-r--r--build-recipe-fissile4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-recipe-fissile b/build-recipe-fissile
index 97ad6bd..7b02bae 100644
--- a/build-recipe-fissile
+++ b/build-recipe-fissile
@@ -117,7 +117,9 @@ recipe_build_fissile() {
cleanup_and_exit 1 "Docker save command failed"
fi
# Create containerinfo
- perl -I$BUILD_DIR -MBuild::Docker -e Build::Docker::showcontainerinfo '' "$filename.tar" "$image" containers/annotation> "$BUILD_ROOT$TOPDIR/FISSILE/$filename.containerinfo"
+ disturlarg=()
+` test -n "$DISTURL" && disturlarg=("--disturl" "$DISTURL")
+ perl -I$BUILD_DIR -MBuild::Docker -e Build::Docker::showcontainerinfo -- "${disturlarg[@]}" '' "$filename.tar" "$image" containers/annotation> "$BUILD_ROOT$TOPDIR/FISSILE/$filename.containerinfo"
done
recipe_cleanup_fissile