summaryrefslogtreecommitdiff
path: root/sys-boot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-24 01:04:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-24 01:04:39 +0100
commite1e4d3a64e9340d9208a57416f02bb55995420ac (patch)
tree45263bdd168cc00a810e2e0d9d08084e3fa0c517 /sys-boot
parentfe3d2116cb34a0d53731a11169d988e205a4a603 (diff)
sys-boot/etcher : revision bump
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/etcher/etcher-1.19.21-r1.ebuild (renamed from sys-boot/etcher/etcher-1.19.21.ebuild)17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys-boot/etcher/etcher-1.19.21.ebuild b/sys-boot/etcher/etcher-1.19.21-r1.ebuild
index f35f8d9b..3c90b087 100644
--- a/sys-boot/etcher/etcher-1.19.21.ebuild
+++ b/sys-boot/etcher/etcher-1.19.21-r1.ebuild
@@ -21,8 +21,9 @@ S="${WORKDIR}/usr/lib/balena-etcher"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
+IUSE="+suid"
-RESTRICT="mirror test"
+RESTRICT="mirror strip test"
RDEPEND="
virtual/libudev
@@ -36,3 +37,17 @@ src_prepare() {
# Weird symlink
rm balenaEtcher || die
}
+
+src_install() {
+ bintron-r1_src_install
+
+ for i in balena-etcher chrome_crashpad_handler chrome-sandbox libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so libvulkan.so.1 ; do
+ fperms 0755 "${BINTRON_HOME}"/$i || die
+ done
+
+ for i in etcher-util sudo-askpass.osascript-en.js sudo-askpass.osascript-zh.js ; do
+ fperms 0755 "${BINTRON_HOME}"/resources/$i || die
+ done
+
+ use suid && fperms 4711 "${BINTRON_HOME}"/chrome-sandbox
+}