aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-09-04 00:20:34 +0000
committerArmin Kuster <akuster808@gmail.com>2019-09-07 08:34:15 -0700
commita6a431f6adc33f91f4df5bfde024f69399fea7f5 (patch)
tree615b98059842e58c64d00bd8f2555f5f5442e3bc
parent6c42c018ff95ec573b43ec6638f3fa9e003e712c (diff)
downloadmeta-security-a6a431f6adc33f91f4df5bfde024f69399fea7f5.tar.gz
meta-security-a6a431f6adc33f91f4df5bfde024f69399fea7f5.tar.bz2
meta-security-a6a431f6adc33f91f4df5bfde024f69399fea7f5.zip
openscap: Drop nostamp
add cleandir depends to do_install task This nostamp is causing issues with the yocto-check-layer when checking hash changes. Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-security-compliance/recipes-openscap/openscap/openscap.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-security-compliance/recipes-openscap/openscap/openscap.inc b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
index ed8d8ff..afa576a 100644
--- a/meta-security-compliance/recipes-openscap/openscap/openscap.inc
+++ b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
@@ -40,15 +40,14 @@ do_configure_append_class-native () {
sed -i 's:OSCAP_DEFAULT_XSLT_PATH.*$:OSCAP_DEFAULT_XSLT_PATH "${STAGING_OSCAP_BUILDDIR}${datadir_native}/openscap/xsl":' ${B}/config.h
}
-do_clean[cleandirs] += "${STAGING_OSCAP_BUILDDIR}"
-do_install[nostamp] = "1"
-
+do_install_class-native[cleandirs] += " ${STAGING_OSCAP_BUILDDIR}"
do_install_append_class-native () {
oscapdir=${STAGING_OSCAP_BUILDDIR}/${datadir_native}
install -d $oscapdir
cp -a ${D}/${STAGING_DATADIR_NATIVE}/openscap $oscapdir
}
+
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
RDEPENDS_${PN} += "libxml2 python3-core libgcc bash"