mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-07-23 09:15:00 +01:00
add hyperion support
This commit is contained in:
parent
3581873b41
commit
6a9d3fdace
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
apt update
|
apt update
|
||||||
APT_LISTCHANGES_FRONTEND=none DEBIAN_FRONTEND=noninteractive apt dist-upgrade -y
|
APT_LISTCHANGES_FRONTEND=none DEBIAN_FRONTEND=noninteractive apt dist-upgrade -y
|
||||||
DEBIAN_FRONTEND=noninteractive apt install -y lightdm openbox nginx php-fpm php-cli chromium autossh unclutter x11-xserver-utils xdotool htop nano openssh-server rsync x11vnc lm-sensors ntpdate scrot wireless-regdb fontconfig
|
DEBIAN_FRONTEND=noninteractive apt install -y lightdm openbox nginx php-fpm php-cli chromium autossh unclutter x11-xserver-utils xdotool htop nano openssh-server rsync x11vnc lm-sensors ntpdate scrot wireless-regdb fontconfig curl gpg
|
||||||
|
|
||||||
rsync -a --chown=root:root "/kiosk_skeleton/." "/"
|
rsync -a --chown=root:root "/kiosk_skeleton/." "/"
|
||||||
|
|
||||||
@ -83,6 +83,13 @@ systemctl enable schedule-reboot.service
|
|||||||
systemctl enable setup-refresh-timer.service
|
systemctl enable setup-refresh-timer.service
|
||||||
|
|
||||||
|
|
||||||
|
# Install Hyperion
|
||||||
|
curl -sSL https://apt.hyperion-project.org/hyperion.pub.key | gpg --dearmor -o /usr/share/keyrings/hyperion.pub.gpg
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.hyperion-project.org/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hyperion.list
|
||||||
|
apt update
|
||||||
|
apt install -y hyperiond
|
||||||
|
systemctl enable hyperiond
|
||||||
|
|
||||||
# generate a version info/build info file
|
# generate a version info/build info file
|
||||||
echo -n "Chromium version: " >> /version-info
|
echo -n "Chromium version: " >> /version-info
|
||||||
dpkg --list | grep "ii chromium " >> /version-info
|
dpkg --list | grep "ii chromium " >> /version-info
|
||||||
|
22
kiosk_skeleton/etc/hyperion/hyperion.config.json
Normal file
22
kiosk_skeleton/etc/hyperion/hyperion.config.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"general": {
|
||||||
|
"name": "AnotterKiosk"
|
||||||
|
},
|
||||||
|
"grabber": {
|
||||||
|
"type": "framebuffer",
|
||||||
|
"device": "/dev/fb0",
|
||||||
|
"pixelformat": "rgb24"
|
||||||
|
},
|
||||||
|
"leds": [
|
||||||
|
{
|
||||||
|
"type": "ws281x",
|
||||||
|
"gpio": 18,
|
||||||
|
"dmanum": 10,
|
||||||
|
"freq": 800000,
|
||||||
|
"leds": 256,
|
||||||
|
"rewriteTime": 1000,
|
||||||
|
"rgbw": false,
|
||||||
|
"strip": "GRB"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -7,11 +7,11 @@
|
|||||||
|
|
||||||
# uncomment to force a console size. By default it will be display's size minus
|
# uncomment to force a console size. By default it will be display's size minus
|
||||||
# overscan.
|
# overscan.
|
||||||
#framebuffer_width=1280
|
framebuffer_width=1920
|
||||||
#framebuffer_height=720
|
framebuffer_height=1080
|
||||||
|
|
||||||
# uncomment if hdmi display is not detected and composite is being output
|
# uncomment if hdmi display is not detected and composite is being output
|
||||||
#hdmi_force_hotplug=1
|
hdmi_force_hotplug=1
|
||||||
|
|
||||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||||
#hdmi_group=1
|
#hdmi_group=1
|
||||||
@ -29,6 +29,7 @@ enable_uart=1
|
|||||||
disable_splash=1
|
disable_splash=1
|
||||||
dtparam=audio=on
|
dtparam=audio=on
|
||||||
gpu_mem=256
|
gpu_mem=256
|
||||||
|
#dtparam=spi=on
|
||||||
|
|
||||||
# Enable DRM VC4 V3D driver
|
# Enable DRM VC4 V3D driver
|
||||||
#dtoverlay=vc4-kms-v3d
|
#dtoverlay=vc4-kms-v3d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user