Merge pull request #3747 from balena-io/next-release

patch: deb afterinstall and readme updates
This commit is contained in:
bulldozer-balena[bot] 2022-04-22 13:45:50 +00:00 committed by GitHub
commit 59d67220d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 2 deletions

1
.gitattributes vendored
View File

@ -27,6 +27,7 @@ Makefile text
*.yml text *.yml text
*.patch text *.patch text
*.txt text *.txt text
*.tpl text
CODEOWNERS text CODEOWNERS text
*.plist text *.plist text

View File

@ -5,7 +5,7 @@
Etcher is a powerful OS image flasher built with web technologies to ensure Etcher is a powerful OS image flasher built with web technologies to ensure
flashing an SDCard or USB drive is a pleasant and safe experience. It protects flashing an SDCard or USB drive is a pleasant and safe experience. It protects
you from accidentally writing to your hard-drives, ensures every byte of data you from accidentally writing to your hard-drives, ensures every byte of data
was written correctly, and much more. It can also directly flash Raspberry Pi devices that support [USB device boot mode](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/device.md). was written correctly, and much more. It can also directly flash Raspberry Pi devices that support [USB device boot mode](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#usb-device-boot-mode).
[![Current Release](https://img.shields.io/github/release/balena-io/etcher.svg?style=flat-square)](https://balena.io/etcher) [![Current Release](https://img.shields.io/github/release/balena-io/etcher.svg?style=flat-square)](https://balena.io/etcher)
[![License](https://img.shields.io/github/license/balena-io/etcher.svg?style=flat-square)](https://github.com/balena-io/etcher/blob/master/LICENSE) [![License](https://img.shields.io/github/license/balena-io/etcher.svg?style=flat-square)](https://github.com/balena-io/etcher/blob/master/LICENSE)

11
after-install.tpl Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# Link to the binary
# Must hardcode balenaEtcher directory; no variable available
ln -sf '/opt/balenaEtcher/${executable}' '/usr/bin/${executable}'
# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/balenaEtcher/chrome-sandbox' || true
update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true

View File

@ -87,6 +87,7 @@ deb:
- libxss1 - libxss1
- libxtst6 - libxtst6
- polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1 - polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1
afterInstall: "./after-install.tpl"
rpm: rpm:
depends: depends:
- util-linux - util-linux

View File

@ -6,7 +6,7 @@ sentry:
team: resinio team: resinio
type: electron type: electron
triggerNotification: triggerNotification:
version: 1.7.8 version: 1.7.9
stagingPercentage: 100 stagingPercentage: 100
upstream: upstream:
- repo: etcher-sdk - repo: etcher-sdk