fix: raspberry pi logs
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user