aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet/0006-tweak-btrfs-packages.patch
blob: da568a4b06ae192f41dd1c17086a63a9fcb4fc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From 0659d8a85bcdd76c0b23b8b5af6958783d35ac65 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 8 May 2017 16:33:15 +0800
Subject: [PATCH 06/11] tweak btrfs packages

In oe-cre/yocto, we name btrfs package with btrfs-tools,
rather than btrfs-progs.

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 blivet/devices/btrfs.py | 2 +-
 blivet/formats/fs.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/blivet/devices/btrfs.py b/blivet/devices/btrfs.py
index cada940..7e4d4b8 100644
--- a/blivet/devices/btrfs.py
+++ b/blivet/devices/btrfs.py
@@ -55,7 +55,7 @@ class BTRFSDevice(StorageDevice):
 
     """ Base class for BTRFS volume and sub-volume devices. """
     _type = "btrfs"
-    _packages = ["btrfs-progs"]
+    _packages = ["btrfs-tools"]
     _external_dependencies = [availability.BLOCKDEV_BTRFS_PLUGIN]
 
     def __init__(self, *args, **kwargs):
diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 81e367f..55e5d57 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -926,7 +926,7 @@ class BTRFS(FS):
     _formattable = True
     _linux_native = True
     _supported = True
-    _packages = ["btrfs-progs"]
+    _packages = ["btrfs-tools"]
     _min_size = Size("256 MiB")
     _max_size = Size("16 EiB")
     _mkfs_class = fsmkfs.BTRFSMkfs
-- 
2.7.4