Skip to contentSkip to conversation

recipeutils-test: use a small dependency in the dummy recipe

PATCH New Ross Burton 1 participant 1 message Oct 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipeutils-test: use a small dependency in the dummy recipe

recipeutils-test has virtual/libx11 as a DEPENDS, but this will cause errors if the recipe is built in an environment without x11 in DISTRO_FEATURES.

This dependency isn't actually used for anything so we could remove it, but to save updating the test cases too just swap virtual/libx11 for zlib.

[ YOCTO #13611 ]

---
 meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb +1 -1
index 7c20d9a683e..0cd0494da8f 100644
@@ -4,7 +4,7 @@ require recipeutils-test.inc
 
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/somefile;md5=d41d8cd98f00b204e9800998ecf8427e"
-DEPENDS += "virtual/libx11"
+DEPENDS += "zlib"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.20.1