fix: raspberry pi logs

This commit is contained in:
2026-11-11 19:23:15 +01:00
parent a9b730ff12
commit 03f0768d46
2 changed files with 8 additions and 3 deletions
+5 -1
View File
@@ -76,7 +76,7 @@ debug-img: uv-run-invar-mode-debug-img ## debug i2c screen with mock data
sentences: glsl-glyphs-sentences ## generate project/inc_sentences.glsl
.PHONY: rasp-init
rasp-init: rasp-chmod-opt rasp-rsync rasp-unmount ## init raspberry
rasp-init: rasp-chmod-opt rasp-setup-fstab rasp-rsync rasp-unmount ## init raspberry
.PHONY: rasp-install
rasp-install: rasp-install-pal ## setup raspberry
@@ -155,6 +155,10 @@ glsl-glyphs-dungeon: ## glsl-glyphs --name dungeon
forge-run: $(BUILD_DIR)/$(TARGET) ## ./build/forge
$(BUILD_DIR)/$(TARGET) $(RUN_ARGS)
.PHONY: rasp-setup-fstab
rasp-setup-fstab: ## setup remote fstab to sync
sudo sed -i 's/defaults,noatime /defaults,noatime,sync /g' $(RASP_ROOTFS)/etc/fstab
.PHONY: rasp-chmod-opt
rasp-chmod-opt: ## chmod remote project
sudo chmod -R a+rwx $(RASP_ROOTFS)/opt