mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
29 lines
993 B
Diff
29 lines
993 B
Diff
From 5ee527fab06f9d33b162a6cd0c068d7b3ac2ecb0 Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Tue, 6 Mar 2018 17:28:56 +0800
|
|
Subject: [PATCH] invoking dd with infinite timeout
|
|
|
|
This large timeout is needed when running on machines with
|
|
lots of disks, or with slow disks.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
---
|
|
blivet/devices/partition.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py
|
|
index 2d67be8..a4cf9a0 100644
|
|
--- a/blivet/devices/partition.py
|
|
+++ b/blivet/devices/partition.py
|
|
@@ -677,7 +677,7 @@ class PartitionDevice(StorageDevice):
|
|
cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs,
|
|
"seek=%d" % start, "count=%d" % count]
|
|
try:
|
|
- util.run_program(cmd)
|
|
+ util.run_program(cmd, timeout=-1)
|
|
except OSError as e:
|
|
log.error(str(e))
|
|
finally:
|