mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-09-08 20:23:15 +01:00
Compare commits
2 Commits
83bae971d3
...
b04d59338d
Author | SHA1 | Date | |
---|---|---|---|
b04d59338d | |||
4ba1d6e916 |
@ -52,8 +52,8 @@ sudo rsync -a "${SCRIPT_DIR}/kiosk_skeleton/." "${BUILD_DIR}/kiosk_skeleton"
|
||||
fat_uuid=$(lsblk -no UUID "${ld}p1")
|
||||
ext_uuid=$(lsblk -no UUID "${ld}p2")
|
||||
|
||||
echo "UUID=${fat_uuid} /boot vfat ro,defaults 0 2" | sudo tee "${BUILD_DIR}/etc/fstab"
|
||||
echo "UUID=${ext_uuid} / ext4 ro,defaults,noatime 0 1" | sudo tee -a "${BUILD_DIR}/etc/fstab"
|
||||
echo "UUID=${fat_uuid} /boot vfat rw,defaults 0 2" | sudo tee "${BUILD_DIR}/etc/fstab"
|
||||
echo "UUID=${ext_uuid} / ext4 rw,defaults,noatime 0 1" | sudo tee -a "${BUILD_DIR}/etc/fstab"
|
||||
|
||||
# Include git repo version info
|
||||
echo -n "AnotterKiosk x86 version: " > "${BUILD_DIR}/version-info"
|
||||
|
@ -82,6 +82,11 @@ systemctl enable kiosk-sechedule-screen.service
|
||||
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 hyperion
|
||||
|
||||
# generate a version info/build info file
|
||||
echo -n "Chromium version: " >> /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"
|
||||
}
|
||||
]
|
||||
}
|
@ -1 +1 @@
|
||||
console=serial0,115200 console=tty1 root=PARTUUID=544c6228-02 rootfstype=ext4 ro rootwait logo.nologo consoleblank=0 loglevel=0 quiet
|
||||
console=serial0,115200 console=tty1 root=PARTUUID=544c6228-02 rootfstype=ext4 rw rootwait logo.nologo consoleblank=0 loglevel=0 quiet
|
Loading…
x
Reference in New Issue
Block a user