diff options
author | Lei Liu <lei.liu2@windriver.com> | 2013-11-11 17:27:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-12 16:00:27 +0000 |
commit | 6eb26f78652970141a87eb8177617de2af7f50b3 (patch) | |
tree | 0b77b2a2a4796baf538b64a81ff1a01815b479c7 /meta/classes | |
parent | f31258233e08cf2d6a5e5236a1d4b1cb1a796e6d (diff) | |
download | poky-6eb26f78652970141a87eb8177617de2af7f50b3.tar.gz |
image-mklibs: Fix grep pattern when mklibs collects executables in rootfs
File command in some version could print extra space between
"LSB" and "executable" - it causes mklibs can't find any executables
using grep "LSB executable". Fix the grep pattern to catch
multiple spaces.
(From OE-Core rev: a52ef8c5dcd71f39bb48c71fb868cc0db662560e)
Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image-mklibs.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass index 66b0f5251e..e975f5d705 100644 --- a/meta/classes/image-mklibs.bbclass +++ b/meta/classes/image-mklibs.bbclass | |||
@@ -9,7 +9,7 @@ mklibs_optimize_image_doit() { | |||
9 | du -bs > ${WORKDIR}/mklibs/du.before.mklibs.txt | 9 | du -bs > ${WORKDIR}/mklibs/du.before.mklibs.txt |
10 | for i in `find .`; do file $i; done \ | 10 | for i in `find .`; do file $i; done \ |
11 | | grep ELF \ | 11 | | grep ELF \ |
12 | | grep "LSB executable" \ | 12 | | grep "LSB *executable" \ |
13 | | grep "dynamically linked" \ | 13 | | grep "dynamically linked" \ |
14 | | sed "s/:.*//" \ | 14 | | sed "s/:.*//" \ |
15 | | sed "s+^\./++" \ | 15 | | sed "s+^\./++" \ |