mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 23:09:39 +01:00
As glibc will be scanned for CVEs, we don't need to scan glibc-locale, glibc-mtrace, and glibc-scripts which are all separate recipes for technical reasons. Exclude the recipes by setting CVE_PRODUCT in the recipe, instead of using the global whitelist. (From OE-Core rev: 1f9a963b9ff7ebe052ba54b9fcbdf7d09478dd17) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
606 B
PHP
24 lines
606 B
PHP
require glibc-collateral.inc
|
|
|
|
SUMMARY = "utility scripts provided by glibc"
|
|
DESCRIPTION = "utility scripts provided by glibc"
|
|
RDEPENDS_${PN} = "bash glibc-mtrace"
|
|
|
|
SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts"
|
|
|
|
bashscripts = "sotruss xtrace"
|
|
|
|
do_install() {
|
|
install -d -m 0755 ${D}${bindir}
|
|
for i in ${bashscripts}; do
|
|
install -m 0755 ${SRC}/$i ${D}${bindir}/
|
|
done
|
|
}
|
|
|
|
# sotruss script requires sotruss-lib.so (given by libsotruss package),
|
|
# to produce trace of the library calls.
|
|
RDEPENDS_${PN} += "libsotruss"
|
|
|
|
# Don't scan for CVEs as glibc will be scanned
|
|
CVE_PRODUCT = ""
|