[Pkg-privacy-commits] [tails-installer] 05/09: udisks2: Try isolating devices with the HintAuto flag
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:15:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.14.0
in repository tails-installer.
commit 56feb46304f197c258e8a93c97aa8a2ef71dd482
Author: Luke Macken <lmacken at redhat.com>
Date: Tue May 19 09:22:23 2015 -0400
udisks2: Try isolating devices with the HintAuto flag
---
liveusb/creator.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/liveusb/creator.py b/liveusb/creator.py
index 4ebd89b..3640c08 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -523,6 +523,9 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
fs = device['org.freedesktop.UDisks2.Filesystem']
blk = device['org.freedesktop.UDisks2.Block']
+ if blk['HintAuto'] is False:
+ self.log.debug('Skipping non-automounting filesystem: %s' % name)
+ continue
if blk['HintSystem'] is True:
self.log.debug('Skipping system filesystem: %s' % name)
continue
--
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