mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
libxml2: Make tests non-executable
The XML W3C conformance test suite contains thousands of xml files all marked executable. We dutifully try to strip all these files of debug info in do_package. "chmod -x" improves build time by ~40 seconds. (From OE-Core rev: eb9cdf6b9277d23d1696233fccc4689e6030644c) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2a2592e0fd
commit
be587dbc70
@@ -63,6 +63,11 @@ FILES_${PN}-dev += "${libdir}/xml2Conf.sh ${libdir}/cmake/*"
|
||||
FILES_${PN}-utils += "${bindir}/*"
|
||||
FILES_${PN}-python += "${PYTHON_SITEPACKAGES_DIR}"
|
||||
|
||||
do_configure_prepend () {
|
||||
# executables take longer to package: these should not be executable
|
||||
find ${WORKDIR}/xmlconf/ -type f -exec chmod -x {} \+
|
||||
}
|
||||
|
||||
do_install_ptest () {
|
||||
cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user