Add backward compatability wrapper for generate-cgcs-centos-repo.sh
generate-cgcs-centos-repo.sh was renamed generate-centos-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: 36912 Depends-On: https://review.opendev.org/#/c/687403 Change-Id: I69714d46ab20b52828f31625cc4e7955fbd10387 Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
b827624e16
commit
420a989cf5
@ -132,9 +132,10 @@ COPY toCOPY/lst_utils.sh /usr/local/bin
|
|||||||
COPY toCOPY/.inputrc /home/$MYUNAME/
|
COPY toCOPY/.inputrc /home/$MYUNAME/
|
||||||
COPY toCOPY/builder-constraints.txt /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.
|
# should be removed after a reasonable time.
|
||||||
COPY toCOPY/generate-cgcs-tis-repo /usr/local/bin
|
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
|
# cpan modules, installing with cpanminus to avoid stupid questions since cpan is whack
|
||||||
RUN cpanm --notest Fatal && \
|
RUN cpanm --notest Fatal && \
|
||||||
|
21
toCOPY/generate-cgcs-centos-repo.sh
Executable file
21
toCOPY/generate-cgcs-centos-repo.sh
Executable file
@ -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 "$@"
|
Loading…
Reference in New Issue
Block a user