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

(From OE-Core rev: ba52209acc699d71de865e7eddf64c8acb67b491)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2023-08-08 17:18:34 -07:00
committed by Richard Purdie
parent b4b218b069
commit 795420850b

View File

@@ -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}"