glibc-y2038-tests: Fix debug split and drop INSANE_SKIPs
PATCH 1/2 glibc-y2038-tests: Fix debug split and drop INSANE_SKIPs
Create the separate dbg package and then drop and the INSANE_SKIP values as none of them appear to be needed once debug splitting is fixed.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb +1 -7
@@ -13,7 +13,7 @@ SUMMARY = "glibc tests using time32/time64 interfaces to be run with ptest for t # Erase some variables already set by glibc_${PV} python __anonymous() { # Remove packages provided by glibc build, we only need a subset of them - d.setVar("PACKAGES", "${PN} ${PN}-ptest") + d.setVar("PACKAGES", "${PN} ${PN}-dbg ${PN}-ptest") d.setVar("PROVIDES", "${PN} ${PN}-ptest")
@@ -108,12 +108,6 @@ EXCLUDE_FROM_SHLIBS = "1" # debugging. PACKAGE_DEBUG_SPLIT_STYLE = ".debug" -# glibc test cases violate by default some Yocto/OE checks (staticdev, -# textrel) -# 'debug-files' - add everything (including debug) into one package -# (no need to install/build *-src package) -INSANE_SKIP:${PN} += "staticdev textrel debug-files rpaths" - deltask do_stash_locale do_install[noexec] = "1" do_populate_sysroot[noexec] = "1"
PATCH 2/2 glibc-y2038-tests: Don't force distro policy
How debugging is laid out is for the distro to decide, not the recipe. If the user wants this, they can set this. This recipe isn't special.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb | 6 ------ 1 file changed, 6 deletions(-)
meta/recipes-core/glibc/glibc-y2038-tests_2.40.bb +0 -6
@@ -102,12 +102,6 @@ FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/${PN}/*" EXCLUDE_FROM_SHLIBS = "1" -# Install debug data in .debug and sources in /usr/src/debug -# It is more handy to have _all_ the sources and symbols in one -# place (package) as this recipe will be used for validation and -# debugging. -PACKAGE_DEBUG_SPLIT_STYLE = ".debug" - deltask do_stash_locale do_install[noexec] = "1" do_populate_sysroot[noexec] = "1"