From: Denys Dmytriyenko Date: Tue, 9 Jan 2018 19:04:25 +0000 (-0500) Subject: bash: ptest dependency on locale should honor virtual/libc-locale X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6454c610eb6565360d29334f5f19845758dbf2c6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bash: ptest dependency on locale should honor virtual/libc-locale meta/conf/distro/include/tclibc-glibc.inc weakly assigns PREFERRED_PROVIDER for virtual/libc-locale to glibc-locale, but allows adjusting it if needed. Hence, bash should not depend on glibc-locale directly, but instead use this virtual/libc-locale variable. Signed-off-by: Denys Dmytriyenko Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 89c35bd59c1..9c2b065f9f3 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc @@ -25,7 +25,7 @@ RDEPENDS_${PN} += "base-files" RDEPENDS_${PN}_class-nativesdk = "" RDEPENDS_${PN}-ptest += "make" -DEPENDS_append_libc-glibc = " glibc-locale" +DEPENDS_append_libc-glibc = " virtual/libc-locale" RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-fr-fr locale-base-de-de" USERADD_PACKAGES = "${PN}-ptest"