From: Jackie Huang Date: Wed, 16 Jun 2021 07:13:27 +0000 (+0800) Subject: audit: update for stx 5.0 X-Git-Tag: f-release~88 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=352b9651679da599e11d2c4577b7861d7b6f579e;p=pti%2Frtp.git audit: update for stx 5.0 * inherit stx-metadata to help install updated files from stx 'config-files' repo Issue-ID: INF-215 Signed-off-by: Jackie Huang Change-Id: I3bfe995a5df8f42b544b9d7b521c4e6e5de86f82 --- diff --git a/meta-starlingx/meta-stx-integ/recipes-security/audit/audit_%.bbappend b/meta-starlingx/meta-stx-integ/recipes-security/audit/audit_%.bbappend index ac32105..421f1ba 100644 --- a/meta-starlingx/meta-stx-integ/recipes-security/audit/audit_%.bbappend +++ b/meta-starlingx/meta-stx-integ/recipes-security/audit/audit_%.bbappend @@ -1,15 +1,12 @@ +inherit stx-metadata -SRCREV_FORMAT = "configfiles" -SRCREV_configfiles = "d778e862571957ece3c404c0c37d325769772fde" - -SRC_URI += "\ - git://opendev.org/starlingx/config-files.git;protocol=https;branch=r/stx.3.0;destsuffix=stx_configfiles;name=configfiles;subpath=audit-config \ -" +STX_REPO = "config-files" +STX_SUBPATH = "audit-config" do_unpack_append () { bb.build.exec_func('do_copy_audit_config', d) } 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 }