SignageWithAlpineLinux
Zur Navigation springen
Zur Suche springen
Signage with Alpine linux on the raspberry pi
Steps:
- Format SD-Card as FAT32 with a MSDOS partition table
- Grab the base file system from the alpine linux website (pick aarch64)
- Mount new partition and unzip archive directly to SDcard
- umount and plug SDcard into raspberry pi
- boot and log in as "root" without entering a password
- Make sure the raspberry-pi is connected to the internet
- start "setup-alpine"
- Agree to install on /dev/mmcblk0p1
- install as "sys
- add user e.g. "sign"
- nano /etc/apk/repositories and uncomment the community repository
- apk update
- apk add nano screen
- add file boot/usercfg.txt
disable_overscan=1 dtoverlay=vc4-kms-v3d gpu_mem=128
- (optional) switch to udev
setup-devd
- install window manager
apk add seatd wlr-randr mesa-dri-gallium sway
- start seatd on boot and add "sign" to its group
rc-service seatd start rc-update add seatd default adduser spn seat
- setup autostart of of sway as user "sign"
- copy and edit sway config for user "sign"
mkdir -p /home/sign/.config/sway cp /etc/sway/config /home/sign/.config/sway echo "seat seat0 hide_cursor 8000 # hide cursor exec /home/sign/run.sh" >> ~/.config/sway