diff options
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0008-tweak-btrfs-packages.patch')
-rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet/0008-tweak-btrfs-packages.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-tweak-btrfs-packages.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-tweak-btrfs-packages.patch new file mode 100644 index 0000000000..121336e4c3 --- /dev/null +++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-tweak-btrfs-packages.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 6f661a511eea096c073888c7adb836a9a880b476 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Mon, 8 May 2017 16:33:15 +0800 | ||
4 | Subject: [PATCH 08/13] tweak btrfs packages | ||
5 | |||
6 | In oe-cre/yocto, we name btrfs package with btrfs-tools, | ||
7 | rather than btrfs-progs. | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe specific] | ||
10 | |||
11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
12 | --- | ||
13 | blivet/devices/btrfs.py | 2 +- | ||
14 | blivet/formats/fs.py | 2 +- | ||
15 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/blivet/devices/btrfs.py b/blivet/devices/btrfs.py | ||
18 | index c5cb21f..9d417b2 100644 | ||
19 | --- a/blivet/devices/btrfs.py | ||
20 | +++ b/blivet/devices/btrfs.py | ||
21 | @@ -55,7 +55,7 @@ class BTRFSDevice(StorageDevice): | ||
22 | |||
23 | """ Base class for BTRFS volume and sub-volume devices. """ | ||
24 | _type = "btrfs" | ||
25 | - _packages = ["btrfs-progs"] | ||
26 | + _packages = ["btrfs-tools"] | ||
27 | _external_dependencies = [availability.BLOCKDEV_BTRFS_PLUGIN] | ||
28 | |||
29 | def __init__(self, *args, **kwargs): | ||
30 | diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py | ||
31 | index a49826f..e8f216d 100644 | ||
32 | --- a/blivet/formats/fs.py | ||
33 | +++ b/blivet/formats/fs.py | ||
34 | @@ -918,7 +918,7 @@ class BTRFS(FS): | ||
35 | _formattable = True | ||
36 | _linux_native = True | ||
37 | _supported = True | ||
38 | - _packages = ["btrfs-progs"] | ||
39 | + _packages = ["btrfs-tools"] | ||
40 | _min_size = Size("256 MiB") | ||
41 | _max_size = Size("16 EiB") | ||
42 | _mkfs_class = fsmkfs.BTRFSMkfs | ||
43 | -- | ||
44 | 2.7.4 | ||
45 | |||