summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc-scripts.inc
blob: 47216ae7d73b193b59608b3eb6e457b3702352cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 = ""