[Pkg-privacy-commits] [tails-installer] 27/34: Fix a regression introduced when reworking size vs. parent_size.
anonym
anonym-tails-guest at moszumanska.debian.org
Mon Jan 22 14:05:33 UTC 2018
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to branch tails/master
in repository tails-installer.
commit c860c1d065e634c56b8bb05f1a66abe50120961e
Author: intrigeri <intrigeri at boum.org>
Date: Sat Jan 20 18:31:55 2018 +0000
Fix a regression introduced when reworking size vs. parent_size.
---
tails_installer/creator.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index 13205e9..81e2621 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -882,7 +882,9 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
partition_table.call_create_partition_sync(
arg_offset=0,
arg_size=self.system_partition_size(
- self.drive['parent_size']),
+ self.drive['parent_size']
+ if self.drive['parent_size']
+ else self.drive['size']),
arg_type=ESP_GUID,
arg_name=self.label,
arg_options=GLib.Variant('a{sv}', None),
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list