This commit is contained in:
2026-08-28 10:49:03 +02:00
parent c7d2c6c161
commit 6bb82cc23d
+2 -2
View File
@@ -44,9 +44,9 @@ setup-weston:
.PHONY: setup-rasp-config
setup-rasp-config:
if [ ! -z $(grep "include forge-invar.txt" "/boot/firmware/config.txt") ]; then sudo sh -c 'echo \"include forge-invar.txt\" >> /boot/firmware/config.txt'; fi
if [ -z $(shell grep "include forge-invar.txt" "/boot/firmware/config.txt") ]; then sudo sh -c 'echo "include forge-invar.txt" >> /boot/firmware/config.txt'; fi
sudo cp -f $(PWD)/system/config.ini /boot/firmware/forge-invar.txt
if [ ! -z $(grep "vc4.tv_norm" "/boot/firmware/cmdline.txt") ]; then sudo sh -c 'echo \"vc4.tv_norm=PAL\" >> /boot/firmware/cmdline.txt'; fi
if [ -z $(shell grep "vc4.tv_norm" "/boot/firmware/cmdline.txt") ]; then sudo sh -c 'echo "vc4.tv_norm=PAL" >> /boot/firmware/cmdline.txt'; fi
.PHONY: setup-services
setup-services: