summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-06-23 10:20:34 +0000
committerintrigeri <intrigeri@boum.org>2017-06-23 10:20:34 +0000
commit04cd397420f49ec34518659c686ebc1af8b87525 (patch)
tree7e0b2a2553d80b08e3ac6b7d1c9faa9181c8401e
parentd156ed3aecd5e13b6ea2c9a1aa5351c66edfec59 (diff)
Use the Removable UDisks2 property instead of the MediaRemovable one (refs: #12696).bugfix/12696-too-strict-removable-check
Since we started filtering based on MediaRemovable (#10731), we have been rejecting tons of perfectly valid devices. This seems much worse than the problems #10731 was about, so we're essentially reverting to what we did before the branch for #10731 was merged, except we do filter on the Removable UDisks2 property (which we didn't do before): it should not harm and allows us to keep the corresponding bits of code and phrasing, that should ease future work on
-rwxr-xr-xtails_installer/creator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tails_installer/creator.py b/tails_installer/creator.py
index 95a4102..164bb48 100755
--- a/tails_installer/creator.py
+++ b/tails_installer/creator.py
@@ -608,7 +608,7 @@ class LinuxTailsInstallerCreator(TailsInstallerCreator):
'size': drive.props.size,
'mounted_partitions': set(),
'is_device_big_enough': True,
- 'removable': drive.props.media_removable,
+ 'removable': drive.props.removable,
}
# Check non-removable drives