diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-16 17:15:12 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-12 05:11:38 -1000 |
| commit | 97654445c696c3271904855cda820671a6c49e21 (patch) | |
| tree | e99011fa15f5cc92d516897616602e3893fda850 | |
| parent | 48373d750c8588d74b8e30bd472ae4ce3a660098 (diff) | |
| download | poky-97654445c696c3271904855cda820671a6c49e21.tar.gz | |
strace: Merge two similar patches
Both patches change the same paths to gawk, merge them together
as we only need one patch for this.
(From OE-Core rev: 81af8c6fdc6f0b6617b7258c9b3e2e26a76db5c8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 79c0b18e29cad337640860f57683f0a170f6daab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 6080138fd0c27db7029b5a76e69b8dc241ad8dc3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 files changed, 30 insertions, 48 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 deleted file mode 100644 index 235e803641..0000000000 --- a/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | From 597cc206d982e7237eb93fdc33e8c4bb6bb2d796 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
| 3 | Date: Thu, 9 Feb 2017 01:27:49 -0800 | ||
| 4 | Subject: [PATCH] caps-abbrev.awk: fix gawk's path | ||
| 5 | |||
| 6 | It should be /usr/bin/gawk as other scripts use in this package. | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
| 11 | |||
| 12 | --- | ||
| 13 | tests-m32/caps-abbrev.awk | 2 +- | ||
| 14 | tests-mx32/caps-abbrev.awk | 2 +- | ||
| 15 | tests/caps-abbrev.awk | 2 +- | ||
| 16 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk | ||
| 19 | index c00023b..a56cd56 100644 | ||
| 20 | --- a/tests-m32/caps-abbrev.awk | ||
| 21 | +++ b/tests-m32/caps-abbrev.awk | ||
| 22 | @@ -1,4 +1,4 @@ | ||
| 23 | -#!/bin/gawk | ||
| 24 | +#!/usr/bin/gawk | ||
| 25 | # | ||
| 26 | # This file is part of caps strace test. | ||
| 27 | # | ||
| 28 | diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk | ||
| 29 | index c00023b..a56cd56 100644 | ||
| 30 | --- a/tests-mx32/caps-abbrev.awk | ||
| 31 | +++ b/tests-mx32/caps-abbrev.awk | ||
| 32 | @@ -1,4 +1,4 @@ | ||
| 33 | -#!/bin/gawk | ||
| 34 | +#!/usr/bin/gawk | ||
| 35 | # | ||
| 36 | # This file is part of caps strace test. | ||
| 37 | # | ||
| 38 | diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk | ||
| 39 | index c00023b..a56cd56 100644 | ||
| 40 | --- a/tests/caps-abbrev.awk | ||
| 41 | +++ b/tests/caps-abbrev.awk | ||
| 42 | @@ -1,4 +1,4 @@ | ||
| 43 | -#!/bin/gawk | ||
| 44 | +#!/usr/bin/gawk | ||
| 45 | # | ||
| 46 | # This file is part of caps strace test. | ||
| 47 | # | ||
diff --git a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch index 0c683496ae..a16ede95c2 100644 --- a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch +++ b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch | |||
| @@ -125,3 +125,33 @@ index dce78f5..573d9ea 100644 | |||
| 125 | # | 125 | # |
| 126 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> | 126 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> |
| 127 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> | 127 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> |
| 128 | diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk | ||
| 129 | index c00023b..a56cd56 100644 | ||
| 130 | --- a/tests-m32/caps-abbrev.awk | ||
| 131 | +++ b/tests-m32/caps-abbrev.awk | ||
| 132 | @@ -1,4 +1,4 @@ | ||
| 133 | -#!/bin/gawk | ||
| 134 | +#!/usr/bin/gawk | ||
| 135 | # | ||
| 136 | # This file is part of caps strace test. | ||
| 137 | # | ||
| 138 | diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk | ||
| 139 | index c00023b..a56cd56 100644 | ||
| 140 | --- a/tests-mx32/caps-abbrev.awk | ||
| 141 | +++ b/tests-mx32/caps-abbrev.awk | ||
| 142 | @@ -1,4 +1,4 @@ | ||
| 143 | -#!/bin/gawk | ||
| 144 | +#!/usr/bin/gawk | ||
| 145 | # | ||
| 146 | # This file is part of caps strace test. | ||
| 147 | # | ||
| 148 | diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk | ||
| 149 | index c00023b..a56cd56 100644 | ||
| 150 | --- a/tests/caps-abbrev.awk | ||
| 151 | +++ b/tests/caps-abbrev.awk | ||
| 152 | @@ -1,4 +1,4 @@ | ||
| 153 | -#!/bin/gawk | ||
| 154 | +#!/usr/bin/gawk | ||
| 155 | # | ||
| 156 | # This file is part of caps strace test. | ||
| 157 | # | ||
diff --git a/meta/recipes-devtools/strace/strace_5.16.bb b/meta/recipes-devtools/strace/strace_5.16.bb index 60d452fd17..d97a1260d1 100644 --- a/meta/recipes-devtools/strace/strace_5.16.bb +++ b/meta/recipes-devtools/strace/strace_5.16.bb | |||
| @@ -9,7 +9,6 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ | |||
| 9 | file://update-gawk-paths.patch \ | 9 | file://update-gawk-paths.patch \ |
| 10 | file://Makefile-ptest.patch \ | 10 | file://Makefile-ptest.patch \ |
| 11 | file://run-ptest \ | 11 | file://run-ptest \ |
| 12 | file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ | ||
| 13 | file://ptest-spacesave.patch \ | 12 | file://ptest-spacesave.patch \ |
| 14 | file://0001-strace-fix-reproducibilty-issues.patch \ | 13 | file://0001-strace-fix-reproducibilty-issues.patch \ |
| 15 | file://skip-load.patch \ | 14 | file://skip-load.patch \ |
