mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
ptest: don't package debug files from tests
Debug files from tests were packaged along with everything else causing toolchain to have over 3Gb of debug files of little use. Since the packaging of the debug files is done dynamically, we'll need to remove them using an additional function that run during the packaging. Pick-to: 6.2 Task-number: QTBUG-96583 Change-Id: I3695cdd21ba9b9443770c671e50bbf230a58cfd6 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
223788235b
commit
626697c8bd
|
|
@ -51,3 +51,10 @@ fakeroot do_install_ptest() {
|
|||
}
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "file-rdeps"
|
||||
|
||||
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
|
||||
remove_ptest_debug() {
|
||||
for i in $(find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto -name .debug); do
|
||||
rm -rf $i
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user