blob: 121336e4c37ac9983617e296cdeee89eadbc78d2 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 6f661a511eea096c073888c7adb836a9a880b476 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 8 May 2017 16:33:15 +0800
4Subject: [PATCH 08/13] tweak btrfs packages
5
6In oe-cre/yocto, we name btrfs package with btrfs-tools,
7rather than btrfs-progs.
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-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
17diff --git a/blivet/devices/btrfs.py b/blivet/devices/btrfs.py
18index 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):
30diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
31index 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--
442.7.4
45