summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-02-09 19:23:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:43 -0800
commit247e3fcec2c1aa567227828701d4ce6f683c5669 (patch)
tree96bdd4ba91fdaa843533b0d1af2d6138b8dc5738 /meta
parentd832aec0b93791512b3d4227c41d187760e0e2ff (diff)
downloadpoky-247e3fcec2c1aa567227828701d4ce6f683c5669.tar.gz
strace: fix gawk's path
Fixed: strace-4.15: /usr/lib/strace/ptest/tests/caps-abbrev.awk contained in package strace-ptest requires /bin/gawk, but no providers found in RDEPENDS_strace-ptest? [file-rdeps] The path should be /usr/bin/gawk as other scripts use in this package. (From OE-Core rev: e71c205d7672d33ad00a5a5c6c41452746c77e2f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch49
-rw-r--r--meta/recipes-devtools/strace/strace_4.15.bb1
2 files changed, 50 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch b/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch
new file mode 100644
index 0000000000..4f13706161
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch
@@ -0,0 +1,49 @@
1From 83757523c50748ea845c1e220b1c3b2080d3cc49 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 9 Feb 2017 01:27:49 -0800
4Subject: [PATCH] caps-abbrev.awk: fix gawk's path
5
6It should be /usr/bin/gawk as other scripts use in this package.
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 tests-m32/caps-abbrev.awk | 2 +-
13 tests-mx32/caps-abbrev.awk | 2 +-
14 tests/caps-abbrev.awk | 2 +-
15 3 files changed, 3 insertions(+), 3 deletions(-)
16
17diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
18index 86de7f2..0535cac 100644
19--- a/tests-m32/caps-abbrev.awk
20+++ b/tests-m32/caps-abbrev.awk
21@@ -1,4 +1,4 @@
22-#!/bin/gawk
23+#!/usr/bin/gawk
24 #
25 # This file is part of caps strace test.
26 #
27diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
28index 86de7f2..0535cac 100644
29--- a/tests-mx32/caps-abbrev.awk
30+++ b/tests-mx32/caps-abbrev.awk
31@@ -1,4 +1,4 @@
32-#!/bin/gawk
33+#!/usr/bin/gawk
34 #
35 # This file is part of caps strace test.
36 #
37diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
38index 86de7f2..0535cac 100644
39--- a/tests/caps-abbrev.awk
40+++ b/tests/caps-abbrev.awk
41@@ -1,4 +1,4 @@
42-#!/bin/gawk
43+#!/usr/bin/gawk
44 #
45 # This file is part of caps strace test.
46 #
47--
482.10.2
49
diff --git a/meta/recipes-devtools/strace/strace_4.15.bb b/meta/recipes-devtools/strace/strace_4.15.bb
index 2b9d19a42b..c5983e9c39 100644
--- a/meta/recipes-devtools/strace/strace_4.15.bb
+++ b/meta/recipes-devtools/strace/strace_4.15.bb
@@ -13,6 +13,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
13 file://run-ptest \ 13 file://run-ptest \
14 file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \ 14 file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \
15 file://mips-SIGEMT.patch \ 15 file://mips-SIGEMT.patch \
16 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
16 " 17 "
17 18
18SRC_URI[md5sum] = "1ff96209fec19914c920608ed0791864" 19SRC_URI[md5sum] = "1ff96209fec19914c920608ed0791864"