mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
Add new build target for ODROID Ethcer
Change-Id: Iadeda0cab0ddbe3b9eb3b992c9bed2f2a0bf1395
This commit is contained in:
8
custom/etcher/config
Normal file
8
custom/etcher/config
Normal file
@@ -0,0 +1,8 @@
|
||||
BOARD=odroidn2
|
||||
ARCH=arm64
|
||||
DISTRO=focal
|
||||
FLAVOUR=server
|
||||
DEFAULT_USER=odroid
|
||||
DEFAULT_PASSWD=odroid
|
||||
ALLOW_ROOT_LOGIN=false
|
||||
ISOIMAGE=true
|
||||
10
custom/etcher/fixups/S70-odroid-etcher
Executable file
10
custom/etcher/fixups/S70-odroid-etcher
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
PACKAGE=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/awesometic/odroid-etcher/releases | grep download_url | grep arm64 | sort -rV | head -1 | awk '{print $2}' | tr -d '"')
|
||||
|
||||
wget ${PACKAGE} -O /tmp/odroid-etcher.deb
|
||||
dpkg -i /tmp/odroid-etcher.deb || true
|
||||
apt install -y --no-install-recommends --fix-broken
|
||||
|
||||
chmod 644 /etc/systemd/system/odroid-etcher.service
|
||||
systemctl enable odroid-etcher
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=ODROID Etcher
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
ExecStart=/usr/bin/xinit \
|
||||
/usr/bin/odroid-etcher-electron
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
4
custom/etcher/packages
Normal file
4
custom/etcher/packages
Normal file
@@ -0,0 +1,4 @@
|
||||
curl
|
||||
policykit-1
|
||||
wget
|
||||
xorg
|
||||
Reference in New Issue
Block a user