diff --git a/Dockerfile b/Dockerfile index 24b80cc3..44c4e3a6 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 00000000..060412a4 --- /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 "$@"