syslog-ng: update for stx 5.0
* inherit stx-metadata to help install updated files from stx 'config-files' repo Story: 2008952 Task: 42576 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Change-Id: Ia32be94c3a5ce210416fb08caa7d6ec0884122fd
This commit is contained in:
parent
d2f4559468
commit
2f284b9d0e
@ -1,9 +1,9 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||||
|
|
||||||
SRCREV_FORMAT = "opendev"
|
inherit stx-metadata
|
||||||
SRCREV_opendev = "d778e862571957ece3c404c0c37d325769772fde"
|
|
||||||
SUBPATH0 = "syslog-ng-config"
|
STX_REPO = "config-files"
|
||||||
DSTSUFX0 = "stx-configfiles"
|
STX_SUBPATH = "syslog-ng-config"
|
||||||
|
|
||||||
LICENSE_append = "& Apache-2.0"
|
LICENSE_append = "& Apache-2.0"
|
||||||
LIC_FILES_CHKSUM += "\
|
LIC_FILES_CHKSUM += "\
|
||||||
@ -11,7 +11,6 @@ LIC_FILES_CHKSUM += "\
|
|||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
git://opendev.org/starlingx/config-files.git;protocol=https;destsuffix=${DSTSUFX0};branch="r/stx.3.0";subpath=${SUBPATH0};name=opendev \
|
|
||||||
file://syslog-ng-config-parse-err.patch;striplevel=3 \
|
file://syslog-ng-config-parse-err.patch;striplevel=3 \
|
||||||
file://syslog-ng-config-systemd-service.patch;striplevel=3 \
|
file://syslog-ng-config-systemd-service.patch;striplevel=3 \
|
||||||
file://syslog-ng-conf-replace-match-with-message.patch;striplevel=3 \
|
file://syslog-ng-conf-replace-match-with-message.patch;striplevel=3 \
|
||||||
@ -23,12 +22,12 @@ do_unpack_append() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_copy_config_files () {
|
do_copy_config_files () {
|
||||||
cp -pf ${WORKDIR}/${DSTSUFX0}/files/LICENSE ${S}/stx-configfiles-LICENSE
|
cp -pf ${STX_METADATA_PATH}/files/LICENSE ${S}/stx-configfiles-LICENSE
|
||||||
cp -pf ${WORKDIR}/${DSTSUFX0}/files/syslog-ng.conf ${S}/syslog-ng.conf
|
cp -pf ${STX_METADATA_PATH}/files/syslog-ng.conf ${S}/syslog-ng.conf
|
||||||
cp -pf ${WORKDIR}/${DSTSUFX0}/files/syslog-ng.service ${S}/syslog-ng.service
|
cp -pf ${STX_METADATA_PATH}/files/syslog-ng.service ${S}/syslog-ng.service
|
||||||
cp -pf ${WORKDIR}/${DSTSUFX0}/files/syslog-ng.logrotate ${S}/syslog-ng.logortate
|
cp -pf ${STX_METADATA_PATH}/files/syslog-ng.logrotate ${S}/syslog-ng.logortate
|
||||||
cp -pf ${WORKDIR}/${DSTSUFX0}/files/remotelogging.conf ${S}/remotelogging.conf
|
cp -pf ${STX_METADATA_PATH}/files/remotelogging.conf ${S}/remotelogging.conf
|
||||||
cp -pf ${WORKDIR}/${DSTSUFX0}/files//fm_event_syslogger ${S}/fm_event_syslogger
|
cp -pf ${STX_METADATA_PATH}/files//fm_event_syslogger ${S}/fm_event_syslogger
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
|
Loading…
Reference in New Issue
Block a user