aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorroot <root@YZenbook.local>2018-12-13 18:54:35 +0100
committerroot <root@YZenbook.local>2018-12-13 18:54:35 +0100
commit790b0c624000b023d18f32aaa3387de36e24a7ec (patch)
tree3893e44531c3db30ec8af3f18cbe50e7a7e7b560 /lib
parent67d4650d78c1270a02bcaae65a7005da080c48a8 (diff)
downloadisodumper-790b0c624000b023d18f32aaa3387de36e24a7ec.tar
isodumper-790b0c624000b023d18f32aaa3387de36e24a7ec.tar.gz
isodumper-790b0c624000b023d18f32aaa3387de36e24a7ec.tar.bz2
isodumper-790b0c624000b023d18f32aaa3387de36e24a7ec.tar.xz
isodumper-790b0c624000b023d18f32aaa3387de36e24a7ec.zip
Add operations for persistent partition creation
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 204450d..4d3ca4c 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -320,6 +320,11 @@ class IsoDumper(object):
self.progress.setEnabled()
self.progress.setValue(100)
self.logger(message)
+ # Add persistent partition if asked
+ if self.persistencecb.value():
+ self.logger(_("Adding persistent partition"))
+ iface.do_persistence(target)
+ self.logger(_("Added persistent partition"))
self.success()
else:
self.emergency(message)