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>
This commit is contained in:
Robert Yang 2017-02-09 19:23:13 -08:00 committed by Richard Purdie
parent d832aec0b9
commit 247e3fcec2
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,49 @@
From 83757523c50748ea845c1e220b1c3b2080d3cc49 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Thu, 9 Feb 2017 01:27:49 -0800
Subject: [PATCH] caps-abbrev.awk: fix gawk's path
It should be /usr/bin/gawk as other scripts use in this package.
Upstream-Status: Pending
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
tests-m32/caps-abbrev.awk | 2 +-
tests-mx32/caps-abbrev.awk | 2 +-
tests/caps-abbrev.awk | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
index 86de7f2..0535cac 100644
--- a/tests-m32/caps-abbrev.awk
+++ b/tests-m32/caps-abbrev.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
# This file is part of caps strace test.
#
diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
index 86de7f2..0535cac 100644
--- a/tests-mx32/caps-abbrev.awk
+++ b/tests-mx32/caps-abbrev.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
# This file is part of caps strace test.
#
diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
index 86de7f2..0535cac 100644
--- a/tests/caps-abbrev.awk
+++ b/tests/caps-abbrev.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
# This file is part of caps strace test.
#
--
2.10.2

View File

@ -13,6 +13,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
file://run-ptest \
file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \
file://mips-SIGEMT.patch \
file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
"
SRC_URI[md5sum] = "1ff96209fec19914c920608ed0791864"