audit: 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: Iafbdee25aef2af43193e54a28ca492d0623303de
This commit is contained in:
Jackie Huang 2021-06-16 15:13:27 +08:00
parent f1ae79f5e2
commit 8f7ce344eb

View File

@ -1,15 +1,12 @@
inherit stx-metadata
SRCREV_FORMAT = "configfiles" STX_REPO = "config-files"
SRCREV_configfiles = "d778e862571957ece3c404c0c37d325769772fde" STX_SUBPATH = "audit-config"
SRC_URI += "\
git://opendev.org/starlingx/config-files.git;protocol=https;branch=r/stx.3.0;destsuffix=stx_configfiles;name=configfiles;subpath=audit-config \
"
do_unpack_append () { do_unpack_append () {
bb.build.exec_func('do_copy_audit_config', d) bb.build.exec_func('do_copy_audit_config', d)
} }
do_copy_audit_config () { do_copy_audit_config () {
cp -f ${WORKDIR}/stx_configfiles/files/syslog.conf ${S}/audisp/plugins/builtins/syslog.conf cp -f ${STX_METADATA_PATH}/files/syslog.conf ${S}/audisp/plugins/builtins/syslog.conf
} }