diff --git a/Dockerfile b/Dockerfile index 72b6dc0e..2d275895 100644 --- a/Dockerfile +++ b/Dockerfile @@ -132,9 +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 +# Thes are included for backward compatibility, and # should be removed after a reasonable time. COPY toCOPY/generate-cgcs-tis-repo /usr/local/bin +COPY toCOPY/generate-cgcs-centos-repo.sh /usr/local/bin # cpan modules, installing with cpanminus to avoid stupid questions since cpan is whack RUN cpanm --notest Fatal && \ diff --git a/toCOPY/generate-cgcs-centos-repo.sh b/toCOPY/generate-cgcs-centos-repo.sh new file mode 100755 index 00000000..7d3a554a --- /dev/null +++ b/toCOPY/generate-cgcs-centos-repo.sh @@ -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_CENTOS_REPO_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}" )" )" + +echo "" 1>&2 +echo "generate-cgcs-centos-repo.sh is deprecated. Please use generate-centos-repo.sh instead." 1>&2 +echo "" 1>&2 +echo "Forwarding to generate-centos-repo.sh in 5 seconds" 1>&2 +echo "" 1>&2 +sleep 5 + +${GENERATE_CGCS_CENTOS_REPO_DIR}/generate-centos-repo.sh "$@"