[Pkg-privacy-commits] [tails-installer] 10/24: 'chattr -i ldlinux.sys' before attempting to unlink it.

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


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

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

commit 316047751187ade5ba1bdd862fc431c8d12b636e
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Dec 12 13:17:30 2013 -0700

    'chattr -i ldlinux.sys' before attempting to unlink it.
    
    This change affects the Linux liveusb-creator only.
---
 liveusb/creator.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index c3e8cb3..b3bdffc 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -714,6 +714,7 @@ class LinuxLiveUSBCreator(LiveUSBCreator):
             self.log.debug('Looking for %s' % ldlinux)
             if os.path.isfile(ldlinux):
                 self.log.debug(_("Removing") + " %s" % ldlinux)
+                self.popen('chattr -i "%s"' % ldlinux, passive=True)
                 os.unlink(ldlinux)
 
         if self.drive['fstype'] in self.ext_fstypes:

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