Skip to contentSkip to conversation

pm-utils: Do not require GNU grep at runtime

PATCH New Khem Raj 1 participant 1 message Aug 9, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 pm-utils: Do not require GNU grep at runtime

This was added to fix bug reported here [1]

back then busybox grep applet did not implement -x option and it would fail as reported in the bug, in due course busybox now has implemented -x option [2] and the expression

using grep -x in /usr/lib/pm-utils/functions:219 works fine

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=1887
[2] https://git.busybox.net/busybox/commit/?id=cd09e81520b7917adebcffd7c361671f913325eb

---
 meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb +1 -1
index dcc09f279ef..2c3ade99347 100644
@@ -17,7 +17,7 @@ inherit pkgconfig autotools manpages
 
 PACKAGECONFIG[manpages] = "--enable-doc, --disable-doc, libxslt-native xmlto-native"
 
-RDEPENDS:${PN} = "grep bash"
+RDEPENDS:${PN} = "bash"
 
 EXTRA_OECONF = "--libdir=${nonarch_libdir}"
 
Signature · 1 line
2.41.0