diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-14 14:43:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-15 11:23:11 +0000 |
commit | 57a357afc2b6fc79e210c337fdde1323040588f5 (patch) | |
tree | 3539dc87fe5a7a706ba9beda13ea0b7074d4a659 /meta/recipes-extended/ltp | |
parent | 9726b66a1b6ecd52333d1a990046885f96551c3e (diff) | |
download | poky-57a357afc2b6fc79e210c337fdde1323040588f5.tar.gz |
ltp: Improve package stripping
Just exclude the specific tests which have an issue with being stripped
rather than the whole package. This reduces the disk footprint by around
400MB.
(From OE-Core rev: 460ccb6e2c5e858614cb61f21923062b55ff325e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20180118.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20180118.bb b/meta/recipes-extended/ltp/ltp_20180118.bb index 369b98df9b..3ed7172ff8 100644 --- a/meta/recipes-extended/ltp/ltp_20180118.bb +++ b/meta/recipes-extended/ltp/ltp_20180118.bb | |||
@@ -102,10 +102,8 @@ RDEPENDS_${PN} = "\ | |||
102 | 102 | ||
103 | FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/ltp/testcases/bin/* /opt/ltp/testcases/bin/*/bin/* /opt/ltp/testscripts/* /opt/ltp/testcases/open_posix_testsuite/* /opt/ltp/testcases/open_posix_testsuite/conformance/* /opt/ltp/testcases/open_posix_testsuite/Documentation/* /opt/ltp/testcases/open_posix_testsuite/functional/* /opt/ltp/testcases/open_posix_testsuite/include/* /opt/ltp/testcases/open_posix_testsuite/scripts/* /opt/ltp/testcases/open_posix_testsuite/stress/* /opt/ltp/testcases/open_posix_testsuite/tools/* /opt/ltp/testcases/data/nm01/lib.a /opt/ltp/lib/libmem.a" | 103 | FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/ltp/testcases/bin/* /opt/ltp/testcases/bin/*/bin/* /opt/ltp/testscripts/* /opt/ltp/testcases/open_posix_testsuite/* /opt/ltp/testcases/open_posix_testsuite/conformance/* /opt/ltp/testcases/open_posix_testsuite/Documentation/* /opt/ltp/testcases/open_posix_testsuite/functional/* /opt/ltp/testcases/open_posix_testsuite/include/* /opt/ltp/testcases/open_posix_testsuite/scripts/* /opt/ltp/testcases/open_posix_testsuite/stress/* /opt/ltp/testcases/open_posix_testsuite/tools/* /opt/ltp/testcases/data/nm01/lib.a /opt/ltp/lib/libmem.a" |
104 | 104 | ||
105 | # Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails | 105 | # Avoid stripping some generated binaries otherwise some of the ltp tests such as ldd01 & nm01 fail |
106 | INHIBIT_PACKAGE_STRIP = "1" | 106 | INHIBIT_PACKAGE_STRIP_FILES = "/opt/ltp/testcases/bin/nm01 /opt/ltp/testcases/bin/ldd01" |
107 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
108 | # However, test_arch_stripped is already stripped, so... | ||
109 | INSANE_SKIP_${PN} += "already-stripped staticdev" | 107 | INSANE_SKIP_${PN} += "already-stripped staticdev" |
110 | 108 | ||
111 | # Avoid file dependency scans, as LTP checks for things that may or may not | 109 | # Avoid file dependency scans, as LTP checks for things that may or may not |