meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/0006-tweak-btrfs-packages.patch
Wang Mingyu 02b9fb3f85
python3-blivet: upgrade 3.9.1 -> 3.9.2
0006-tweak-btrfs-packages.patch
0011-invoking-dd-with-infinite-timeout.patch
refreshed for 3.9.2

Changelog:
==========
-tests: Add a simple unit test for listing btrfs subvolumes
-Fix getting default subvolume ID for mounted btrfs volumes
-Do not try to get btrfs subvolumes without libblockdev
-Do not raise not implemented exception when checking if btrfs is empty
-Try to start stratisd before checking its availability
-Fix creating Stratis filesystem without size specified
-Fix printing the partition type UUID
-Adjust check for btrfs filesystem being empty
-Fix util.detect_virt on Amazon
-misc: Vagrantfile update
-misc: Run pip with --break-system-packages
-misc: Add missing libmount build dependencies
-availability: Check for mpath friendly names availability
-Allow running blivet without libmount Python bindings
-Fstab cleanup fix
-Fix getting subvolumes for mounted btrfs volumes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00

43 lines
1.4 KiB
Diff

From b55b1023f8f1ad3121928eb9d0ee9902f5474752 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] 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 c446e7e..37c183e 100644
--- a/blivet/devices/btrfs.py
+++ b/blivet/devices/btrfs.py
@@ -58,7 +58,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 1e102b6..f16941e 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1050,7 +1050,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