[Pkg-privacy-commits] [tails-installer] 24/40: Use dd oflag=direct

anonym anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:15:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

anonym-tails-guest pushed a commit to annotated tag 3.13.1
in repository tails-installer.

commit b806bb07428d11904cffb583d6638dd327059d34
Author: Luke Macken <lmacken at redhat.com>
Date:   Wed Nov 26 10:43:28 2014 -0700

    Use dd oflag=direct
---
 liveusb/creator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index bed9acc..130c88d 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -445,7 +445,7 @@ class LiveUSBCreator(object):
             drive = parent
         else:
             drive = self.drive['device']
-        cmd = 'dd if="%s" of="%s" bs=1M iflag=direct oflag=dsync conv=fdatasync' % (self.iso, drive)
+        cmd = 'dd if="%s" of="%s" bs=1M iflag=direct oflag=direct conv=fdatasync' % (self.iso, drive)
         self.log.debug(_('Running') + ' %s' % cmd)
         self.popen(cmd)
 

-- 
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