add hyperion support

This commit is contained in:
Karl 2025-07-18 13:24:28 +01:00
parent 3581873b41
commit 6a9d3fdace
3 changed files with 34 additions and 4 deletions

View File

@ -3,7 +3,7 @@
apt update
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/." "/"
@ -83,6 +83,13 @@ systemctl enable schedule-reboot.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
echo -n "Chromium version: " >> /version-info
dpkg --list | grep "ii chromium " >> /version-info

View 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"
}
]
}

View File

@ -7,11 +7,11 @@
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
framebuffer_width=1920
framebuffer_height=1080
# 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)
#hdmi_group=1
@ -29,6 +29,7 @@ enable_uart=1
disable_splash=1
dtparam=audio=on
gpu_mem=256
#dtparam=spi=on
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d