commit 9a188af410b93c295f7411a42614438ae8d89ef4 Author: Scott Little Date: Fri Sep 4 12:35:47 2020 -0400 Add backward compatability wrapper for generate-cgcs-tis-repo generate-cgcs-tis-repo was renamed generate-local-repo.sh in a prior update. This commit restores the old command as a wrapper for the renamed command. This will provide backward compatability for a time. Story: 2006387 Task: 36910 Depends-On: https://review.opendev.org/#/c/687401 Change-Id: Ibe7c70b1b3f1081e3c7c8a1ca775927322653a5b Signed-off-by: Scott Little diff --git a/Dockerfile b/Dockerfile index 24b80cc..44c4e3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -132,6 +132,10 @@ COPY toCOPY/lst_utils.sh /usr/local/bin COPY toCOPY/.inputrc /home/$MYUNAME/ COPY toCOPY/builder-constraints.txt /home/$MYUNAME/ +# This is included for backward compatibility, and +# should be removed after a reasonable time. +COPY toCOPY/generate-cgcs-tis-repo /usr/local/bin + # cpan modules, installing with cpanminus to avoid stupid questions since cpan is whack RUN cpanm --notest Fatal && \ cpanm --notest XML::SAX && \ diff --git a/toCOPY/generate-cgcs-tis-repo b/toCOPY/generate-cgcs-tis-repo new file mode 100755 index 0000000..060412a --- /dev/null +++ b/toCOPY/generate-cgcs-tis-repo @@ -0,0 +1,21 @@ +#!/bin/bash +# +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (c) 2020 Wind River Systems, Inc. +# + +# This file included for backward compatibility, and +# should be removed after a reasonable time. + + +GENERATE_CGCS_TIS_REPO_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}" )" )" + +echo "" 1>&2 +echo "generate-cgcs-tis-repo is deprecated. Please use generate-local-repo.sh instead." 1>&2 +echo "" 1>&2 +echo "Forwarding to generate-local-repo.sh in 5 seconds" 1>&2 +echo "" 1>&2 +sleep 5 + +${GENERATE_CGCS_TIS_REPO_DIR}/generate-local-repo.sh "$@"