While trying to run pm-suspend I noticed that the script was failing on my platform because of a missing option in busybox's grep. For example, running pm-suspend-hybrid yields to: root@crownbay:~# pm-suspend-hybrid grep: invalid option -- 'x' BusyBox v1.18.5 (2011-12-23 17:19:16 EST) multi-call binary. Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Created attachment 310 [details] Patch that adds grep to RDEPENDS.
Marc, please submit this to the openembedded-core@lists.openembedded.org alias with a signed-off-by line and include "Fixes [YOCTO #1887] in the commit message, we will include this fix.
Can you please provide a copy of your pm-suspend-hybrid, and a sh -x output of running that script, I am trying to find where grep is called with the -x option, I do not directly see it.
Created attachment 322 [details] sh -x of pm-suspend
(In reply to comment #3) > Can you please provide a copy of your pm-suspend-hybrid, and a sh -x output of > running that script, I am trying to find where grep is called with the -x > option, I do not directly see it. The call to grep -x can be found in /usr/lib/pm-utils/functions:219
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cd7da084868aa2af222eae3a966775dbcd146b3c