[blivet-gui/f21] Applied patch to fix resizing devices

Vojtěch Trefný vtrefny at fedoraproject.org
Fri Mar 13 15:41:33 UTC 2015


commit e24f7c3619356e185bc0713e98b7fd78da8b2cfb
Author: Vojtech Trefny <vtrefny at redhat.com>
Date:   Fri Mar 13 16:25:52 2015 +0100

    Applied patch to fix resizing devices

 0001-Fix-resizing-filesystems.patch | 24 ++++++++++++++++++++++++
 blivet-gui.spec                     |  4 ++++
 2 files changed, 28 insertions(+)
---
diff --git a/0001-Fix-resizing-filesystems.patch b/0001-Fix-resizing-filesystems.patch
new file mode 100644
index 0000000..b6c4e5b
--- /dev/null
+++ b/0001-Fix-resizing-filesystems.patch
@@ -0,0 +1,24 @@
+From c8084d09ed821f50f7feb40ef607bb9615ea3fab Mon Sep 17 00:00:00 2001
+From: Vojtech Trefny <vtrefny at redhat.com>
+Date: Fri, 13 Mar 2015 15:49:14 +0100
+Subject: [PATCH] Fix resizing LVs (#1201745)
+
+---
+ blivetgui/utils.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/blivetgui/utils.py b/blivetgui/utils.py
+index bc2feb2..cfbe787 100644
+--- a/blivetgui/utils.py
++++ b/blivetgui/utils.py
+@@ -540,6 +540,7 @@ class BlivetUtils(object):
+                               traceback=None)
+ 
+         if user_input.resize:
++            actions.append(blivet.deviceaction.ActionResizeFormat(blivet_device, user_input.size))
+             actions.append(blivet.deviceaction.ActionResizeDevice(blivet_device, user_input.size))
+ 
+         if user_input.format:
+-- 
+2.1.0
+
diff --git a/blivet-gui.spec b/blivet-gui.spec
index e7dbf00..587a3a8 100644
--- a/blivet-gui.spec
+++ b/blivet-gui.spec
@@ -21,6 +21,8 @@ Requires: polkit-gnome
 Requires: yelp
 URL: http://github.com/rhinstaller/blivet-gui
 
+Patch1: 0001-Fix-resizing-filesystems.patch
+
 %description
 Graphical (GTK) tool for manipulation and configuration of data storage
 (disks, LVMs, RAIDs) based on blivet library.
@@ -28,6 +30,8 @@ Graphical (GTK) tool for manipulation and configuration of data storage
 %prep
 %setup -q
 
+%patch1 -p1
+
 %build
 make %{?_smp_mflags}
 


More information about the scm-commits mailing list