]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bash: ptest dependency on locale should honor virtual/libc-locale
authorDenys Dmytriyenko <denys@ti.com>
Tue, 9 Jan 2018 19:04:25 +0000 (14:04 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Jan 2018 08:43:55 +0000 (08:43 +0000)
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 <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/bash/bash.inc

index 89c35bd59c17dd2ffa81ccb193c1021091d7a8ad..9c2b065f9f36a6ed275c2ce60110e6204c9683f5 100644 (file)
@@ -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"