image_builder: add params message

This commit is contained in:
Artem Smirnov
2018-08-21 23:13:45 +03:00
parent 1283219c51
commit a05ae6cafe

View File

@@ -10,6 +10,12 @@ export TARGET_REPO=${TARGET_REPO:='https://github.com/urpylka/clever.git'}
export TARGET_REF=${TARGET_REF:='qemu_test_2'}
export TARGET_CONFIG=${TARGET_CONFIG:='/image_builder/scripts/builder.json'}
echo "================================================================================"
echo "\$TARGET_REPO: $TARGET_REPO"
echo "\$TARGET_REF: $TARGET_REF"
echo "\$TARGET_CONFIG: $TARGET_CONFIG"
echo "================================================================================"
# TODO: The repository can be already downloaded, use the TARGET_REPO also as unix path.
REPO_DIR=$(mktemp -d --suffix=.builder_repo)
git clone ${TARGET_REPO} --single-branch --branch ${TARGET_REF} --depth 1 ${REPO_DIR} \