diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-11-24 09:08:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-25 21:55:10 +0000 |
commit | 8259247df2138957fac720222aaa0396fa5eea69 (patch) | |
tree | 5d836209c182a0aea8f947ef5359fdeed79e488e | |
parent | 5002ac24a75dfdfbc5c438983ed0f2041093f300 (diff) | |
download | poky-8259247df2138957fac720222aaa0396fa5eea69.tar.gz |
dpkg: replace a patch with a tweak to an already existing sed fixup
(From OE-Core rev: b9751b21f4234854f8750f1048bb54f578bd95d3)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 files changed, 2 insertions, 26 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 74074cfdd7..80865a31a1 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -49,9 +49,9 @@ do_install:append () { | |||
49 | if [ "${PN}" = "dpkg-native" ]; then | 49 | if [ "${PN}" = "dpkg-native" ]; then |
50 | # update-alternatives doesn't have an offline mode | 50 | # update-alternatives doesn't have an offline mode |
51 | rm ${D}${bindir}/update-alternatives | 51 | rm ${D}${bindir}/update-alternatives |
52 | sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* | 52 | sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-* |
53 | else | 53 | else |
54 | sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* | 54 | sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-* |
55 | fi | 55 | fi |
56 | } | 56 | } |
57 | 57 | ||
diff --git a/meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch b/meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch deleted file mode 100644 index 292b72ab5d..0000000000 --- a/meta/recipes-devtools/dpkg/dpkg/0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | From 0decc62904571582147f2273fa1b521e00485dda Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 3 Feb 2021 20:47:58 +0100 | ||
4 | Subject: [PATCH] scripts/dpkg-fsys-usrunmess.pl: correct shebang | ||
5 | |||
6 | Otherwise automake will write the full native perl path into it. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | --- | ||
11 | scripts/dpkg-fsys-usrunmess.pl | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/scripts/dpkg-fsys-usrunmess.pl b/scripts/dpkg-fsys-usrunmess.pl | ||
15 | index 9220df3c0..9ce368955 100755 | ||
16 | --- a/scripts/dpkg-fsys-usrunmess.pl | ||
17 | +++ b/scripts/dpkg-fsys-usrunmess.pl | ||
18 | @@ -1,4 +1,4 @@ | ||
19 | -#!/usr/bin/perl | ||
20 | +#!/usr/bin/env perl | ||
21 | # | ||
22 | # dpkg-fsys-usrunmess - Undoes the merged-/usr-via-aliased-dirs mess | ||
23 | # | ||
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb b/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb index 34b6bfe0a8..4c587f2bf2 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.20.9.bb | |||
@@ -14,7 +14,6 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=1.20. | |||
14 | file://0001-dpkg-Support-muslx32-build.patch \ | 14 | file://0001-dpkg-Support-muslx32-build.patch \ |
15 | file://pager.patch \ | 15 | file://pager.patch \ |
16 | file://0001-Add-support-for-riscv32-CPU.patch \ | 16 | file://0001-Add-support-for-riscv32-CPU.patch \ |
17 | file://0013-scripts-dpkg-fsys-usrunmess.pl-correct-shebang.patch \ | ||
18 | file://0014-arch-Add-support-for-ARCv2-CPU.patch \ | 17 | file://0014-arch-Add-support-for-ARCv2-CPU.patch \ |
19 | " | 18 | " |
20 | 19 | ||