]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
pm-utils: Do not require GNU grep at runtime
authorKhem Raj <raj.khem@gmail.com>
Wed, 9 Aug 2023 00:18:34 +0000 (17:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Aug 2023 08:18:49 +0000 (09:18 +0100)
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb

index dcc09f279efe00a643f4cfd35bfe01848a6a1e9c..2c3ade9934738bc4fcebc13114dbcd36af9eebc2 100644 (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}"