summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@cn.fujitsu.com>2021-02-09 16:30:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-10 23:48:55 +0000
commit7a89d2d2ed0ae35bd06357c8a4155f503c7735e2 (patch)
tree5b8736dea1aca18b78820315ece4d93ed4e3fca3 /meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch
parentede47ac1476bcc3769a280103ed76d6eeb668b2e (diff)
downloadpoky-7a89d2d2ed0ae35bd06357c8a4155f503c7735e2.tar.gz
parted: upgrade 3.3 -> 3.4
0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch 0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch 0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch removed since they are included in 3.4 Add python3-core to RDEPENDS_parted-ptest since /usr/lib/parted/ptest/tests/msdos-overlap contained in package parted-ptest requires /usr/bin/python3 (From OE-Core rev: c7d7e5f8177cdebd580ca7ff8f4412596567aff1) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch')
-rw-r--r--meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch b/meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch
deleted file mode 100644
index 829c0c8b78..0000000000
--- a/meta/recipes-extended/parted/files/0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From ddbefd80d74c3baaae328332458db447e1666240 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 27 Apr 2017 16:37:24 +0300
4Subject: [PATCH] Move python helper scripts (used only in tests) to Python 3
5
6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9---
10 tests/gpt-header-move | 2 +-
11 tests/msdos-overlap | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/tests/gpt-header-move b/tests/gpt-header-move
15index 3dda5cb..a2b9508 100755
16--- a/tests/gpt-header-move
17+++ b/tests/gpt-header-move
18@@ -1,4 +1,4 @@
19-#!/usr/bin/python
20+#!/usr/bin/env python3
21
22 # open img file, subtract 33 from altlba address, and move the last 33 sectors
23 # back by 33 sectors
24diff --git a/tests/msdos-overlap b/tests/msdos-overlap
25index d6ae8d6..2c6747b 100755
26--- a/tests/msdos-overlap
27+++ b/tests/msdos-overlap
28@@ -1,4 +1,4 @@
29-#!/usr/bin/python
30+#!/usr/bin/env python3
31 """
32 Write an overlapping partition to a msdos disk
33