diff options
author | Austin English <wizardedit@gentoo.org> | 2016-04-07 23:03:44 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-04-07 23:04:55 -0500 |
commit | 0135da7291c4ad7df83d763db304416ce3d93ad1 (patch) | |
tree | 6a73f1df8db8b2cbd7f6a436eecb76525350fef5 /app-misc/tails-installer/files | |
parent | www-plugins/chrome-binary-plugins: automated update (diff) | |
download | gentoo-0135da7291c4ad7df83d763db304416ce3d93ad1.tar.gz gentoo-0135da7291c4ad7df83d763db304416ce3d93ad1.tar.bz2 gentoo-0135da7291c4ad7df83d763db304416ce3d93ad1.zip |
app-misc/tails-installer: add tails-installer-4.4.8
Original ebuild by Miguel Angel Marco Buzunariz <mmarco@unizar.es>, with
improvements from Pocho <poncho@spahan.ch>, and some further tweaks and a
version bump by Austin English <wizardedit@gentoo.org>
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-misc/tails-installer/files')
-rw-r--r-- | app-misc/tails-installer/files/fix-desktop-file.patch | 28 | ||||
-rw-r--r-- | app-misc/tails-installer/files/sgdisk.patch | 29 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/tails-installer/files/fix-desktop-file.patch b/app-misc/tails-installer/files/fix-desktop-file.patch new file mode 100644 index 000000000000..ef6b5880d445 --- /dev/null +++ b/app-misc/tails-installer/files/fix-desktop-file.patch @@ -0,0 +1,28 @@ +diff --git a/data/tails-installer-launcher.desktop b/data/tails-installer-launcher.desktop +index b8a3f81..c7c5b2a 100644 +--- a/data/tails-installer-launcher.desktop ++++ b/data/tails-installer-launcher.desktop +@@ -6,8 +6,8 @@ Name[sv]=Tails installerare + Comment=Install, clone, upgrade Tails + Comment[fr]=Installer, cloner, mettre à jour Tails + Comment[sv]=Installera, klona, uppgradera Tails +-Icon=tails-installer.svg ++Icon=tails-installer + Exec=tails-installer-launcher + Terminal=false +-Categories=System;Tails; ++Categories=System; + Keywords=Tails;Install;Upgrade;Update;Copy;Clone;Installer;USB;Installation;Anonymity;Tor;Anonymous;SD;Amnesic;Amnesia; +diff --git a/data/tails-installer.desktop b/data/tails-installer.desktop +index 7d7fd2c..a79b57a 100644 +--- a/data/tails-installer.desktop ++++ b/data/tails-installer.desktop +@@ -2,7 +2,7 @@ + Type=Application + Name=Tails Installer + Comment=Write operating system images to a USB device +-Icon=tails-installer.svg ++Icon=tails-installer + Exec=tails-installer + Terminal=false + Categories=System; diff --git a/app-misc/tails-installer/files/sgdisk.patch b/app-misc/tails-installer/files/sgdisk.patch new file mode 100644 index 000000000000..21339b23ae6c --- /dev/null +++ b/app-misc/tails-installer/files/sgdisk.patch @@ -0,0 +1,29 @@ +--- /tails_installer/creator.py ++++ /tails_installer/creator.py +@@ -220,7 +220,7 @@ + raise NotImplementedError + + def update_system_partition_properties(self): +- cmd = ( [ '/sbin/sgdisk' ] ++ cmd = ( [ '/usr/sbin/sgdisk' ] + + [ '--typecode=1:%s' % ESP_GUID ] + + [ self.drive['parent'] ]) + self.popen(cmd, shell=False) +@@ -235,7 +235,7 @@ + if not device: + device = self.drive['device'] + +- proc = self.popen(['/sbin/sgdisk', '--print', device], shell=False, passive=True) ++ proc = self.popen(['/usr/sbin/sgdisk', '--print', device], shell=False, passive=True) + if proc.returncode: + return False + return True +@@ -249,7 +249,7 @@ + # understand... while we want to make it do this reset + # precisely to fix that unreadable partition table issue. + # Chicken'n'egg, right. +- self.popen(['/sbin/sgdisk', '--zap-all', device], ++ self.popen(['/usr/sbin/sgdisk', '--zap-all', device], + shell=False, passive=True) + + def switch_drive_to_system_partition(self): |