Compare commits

...

5 Commits

Author SHA1 Message Date
Michael
8598c71935 fix: init.d script use correct resolution and fix log 2026-11-08 15:25:19 +01:00
Michael
534f0465b6 fix: crash when typing on keyboard 2026-11-08 15:24:58 +01:00
Michael
6e40857ef0 fix: grub config no timeout 2026-11-08 15:24:17 +01:00
Michael
42c7c6b39e feat: bump app version 2026-11-08 15:23:46 +01:00
Michael
6266e47b0a fix: README qemu command - add cpu specification and vga res 2026-11-08 15:23:22 +01:00
5 changed files with 24 additions and 4 deletions

2
README
View File

@@ -4,7 +4,7 @@ Photobooth OS
make winf_photobooth_defconfig
- launch vm
qemu-system-x86_64 -m 1024 -bios /usr/share/ovmf/OVMF.fd -drive file=output/images/disk.img,format=raw -vga virtio -nic user,hostfwd=tcp:127.0.0.1:2222-:22 -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostbus=1,hostaddr=2
qemu-system-x86_64 -m 1024 -bios /usr/share/ovmf/OVMF.fd -drive file=output/images/disk.img,format=raw -accel kvm -cpu host -smp 2,sockets=1,cores=2,threads=1 -vga none -device virtio-vga,xres=1280,yres=1024 -nic user,hostfwd=tcp:127.0.0.1:2222-:22 -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostbus=1,hostaddr=2
- pure linux path

View File

@@ -1,5 +1,5 @@
set default="0"
set timeout="5"
set timeout="0"
menuentry "WINF-Photobooth" {
linux /bzImage root=PARTUUID=UUID_TMP rootwait console=tty1

View File

@@ -2,13 +2,32 @@
export SLINT_BACKEND=linuxkms-software
case "$1" in
start)
mode=$(
SLINT_DRM_MODE=list /usr/bin/winf-photobooth-app 2>&1 |
awk '$1 == "Index:" && $4 == 1280 && $6 == 1024 {
print $2
exit
}'
)
if [ -z "$mode" ]; then
echo "No 1280x1024 display mode available" >&2
exit 1
fi
export SLINT_DRM_MODE="$mode"
start-stop-daemon -S -b -m \
-p /run/winf-photobooth-app.pid \
-x /usr/bin/winf-photobooth-app \
>> /var/log/winf-photobooth-app.log 2>&1
-O /var/log/winf-photobooth-app.log
;;
stop)
start-stop-daemon -K -p /run/winf-photobooth-app.pid
;;

View File

@@ -28,6 +28,7 @@ BR2_PACKAGE_DEJAVU=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XKEYBOARD_CONFIG=y
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y

View File

@@ -1,4 +1,4 @@
WINF_PHOTOBOOTH_VERSION = a99bd2e69c67cd63496818d1fc2aa15f2f750033
WINF_PHOTOBOOTH_VERSION = b8398618d76709cd83b3fed23fe896038066622a
WINF_PHOTOBOOTH_SITE = https://git.xn--k-0fa.se/mikee/winf-photobooth-app
WINF_PHOTOBOOTH_SITE_METHOD = git
WINF_PHOTOBOOTH_LICENSE = MIT