Fix PR build failure (#11973)
Some PR builds fails to find this file. Remove it temporarily until we root cause it
This commit is contained in:
parent
a8b2a538a5
commit
31e750ee0b
@ -56,14 +56,14 @@ COPY ["TS", "/usr/bin/TS"]
|
||||
COPY ["files/supervisor-proc-exit-listener", "/usr/bin"]
|
||||
COPY ["zsocket.sh", "/usr/bin/"]
|
||||
COPY ["*.json", "/etc/rsyslog.d/"]
|
||||
COPY ["files/rsyslog_plugin.conf.j2", "/etc/rsyslog.d/"]
|
||||
# COPY ["files/rsyslog_plugin.conf.j2", "/etc/rsyslog.d/"]
|
||||
RUN chmod a+x /usr/bin/TSA && \
|
||||
chmod a+x /usr/bin/TSB && \
|
||||
chmod a+x /usr/bin/TSC && \
|
||||
chmod a+x /usr/bin/zsocket.sh
|
||||
|
||||
RUN j2 -f json /etc/rsyslog.d/rsyslog_plugin.conf.j2 /etc/rsyslog.d/events_info.json > /etc/rsyslog.d/bgp_events.conf
|
||||
RUN rm -f /etc/rsyslog.d/rsyslog_plugin.conf.j2*
|
||||
# RUN j2 -f json /etc/rsyslog.d/rsyslog_plugin.conf.j2 /etc/rsyslog.d/events_info.json > /etc/rsyslog.d/bgp_events.conf
|
||||
# RUN rm -f /etc/rsyslog.d/rsyslog_plugin.conf.j2*
|
||||
RUN rm -f /etc/rsyslog.d/events_info.json*
|
||||
|
||||
ENTRYPOINT ["/usr/bin/docker_init.sh"]
|
||||
|
@ -800,8 +800,8 @@ sudo bash -c "echo { > $FILESYSTEM_ROOT_USR_SHARE_SONIC_TEMPLATES/ctr_image_name
|
||||
sudo bash -c "echo } >> $FILESYSTEM_ROOT_USR_SHARE_SONIC_TEMPLATES/ctr_image_names.json"
|
||||
|
||||
# copy rsyslog plugin binary for use by all dockers that use plugin to publish events.
|
||||
sudo mkdir -p ${FILESYSTEM_ROOT_USR_SHARE_SONIC_SCRIPTS}
|
||||
sudo cp ${files_path}/rsyslog_plugin ${FILESYSTEM_ROOT_USR_SHARE_SONIC_SCRIPTS}/
|
||||
# sudo mkdir -p ${FILESYSTEM_ROOT_USR_SHARE_SONIC_SCRIPTS}
|
||||
# sudo cp ${files_path}/rsyslog_plugin ${FILESYSTEM_ROOT_USR_SHARE_SONIC_SCRIPTS}/
|
||||
|
||||
{% for script in installer_start_scripts.split(' ') -%}
|
||||
if [ -f $TARGET_MACHINE"_{{script}}" ]; then
|
||||
|
@ -43,5 +43,6 @@ $(DOCKER_EVENTD)_PLUGIN = rsyslog_plugin
|
||||
$($(DOCKER_EVENTD)_PLUGIN)_PATH = $($(DOCKER_EVENTD)_FILESPATH)
|
||||
|
||||
SONIC_COPY_FILES += $($(DOCKER_EVENTD)_PLUGIN)
|
||||
$(DOCKER_EVENTD)_SHARED_FILES = $($(DOCKER_EVENTD)_PLUGIN)
|
||||
# Some builds fails to find this file. Remove until we root cause it.
|
||||
# $(DOCKER_EVENTD)_SHARED_FILES = $($(DOCKER_EVENTD)_PLUGIN)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user