]> code.ossystems Code Review - openembedded-core.git/commitdiff
sed: rrec on locale-base-ru-ru, not rdep
authorAbdur Rehman <abdur_rehman@mentor.com>
Thu, 23 Jul 2015 15:20:48 +0000 (20:20 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Jul 2015 22:29:40 +0000 (23:29 +0100)
This locale package isn't guaranteed to exist, depending on the value of
GLIBC_GENERATE_LOCALES.

The value of GLIBC_GENERATE_LOCALES can be specified to not contain
locale-base-ru-ru, thus resulting in unsatisfied dependency. Its better
to remove hardcoded dependency upon locale-base-ru-ru in favor of a
recommendation, as this locale isn't always available depending upon the
value of GLIBC_GENERATE_LOCALES.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sed/sed_4.2.2.bb

index a1e34832adbafaf413e1842a5a8bfe2d8f7a5e23..5da3355ee5bbd1f08167adc3b79a153884f773ca 100644 (file)
@@ -15,7 +15,8 @@ SRC_URI[md5sum] = "4111de4faa3b9848a0686b2f260c5056"
 SRC_URI[sha256sum] = "fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff"
 
 inherit autotools texinfo update-alternatives gettext ptest
-RDEPENDS_${PN}-ptest += "make locale-base-ru-ru ${PN}"
+RDEPENDS_${PN}-ptest += "make ${PN}"
+RRECOMMENDS_${PN}-ptest += "locale-base-ru-ru"
 
 EXTRA_OECONF = "--disable-acl \
                 ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-regex-tests', '', d)}"