fix: start not in correct directory

This commit is contained in:
2026-11-05 21:38:24 +01:00
parent ff4a59808a
commit dc55878d94
3 changed files with 21 additions and 12 deletions
+7 -4
View File
@@ -1,10 +1,13 @@
#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export WESTON_MOD=hdmi
export SCREEN_HEIGHT=480
rm -rf $PROJECT_DIR/*.log
touch $PROJECT_DIR/*
cd $PROJECT_DIR
weston --shell=kiosk-shell.so --xwayland --config=$PROJECT_DIR/system/hdmi/weston.ini --log=$PROJECT_DIR/weston.log \
-- make --silent --directory=$PROJECT_DIR start 2>&1 > /dev/null
rm -rf *.log
touch *
weston --shell=kiosk-shell.so --xwayland --config=${PROJECT_DIR}/system/${WESTON_MOD}/weston.ini --log=${PROJECT_DIR}/weston.log \
-- make --silent start 2>&1 > /dev/null
+7 -4
View File
@@ -1,10 +1,13 @@
#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export WESTON_MOD=ntsc
export SCREEN_HEIGHT=480
rm -rf $PROJECT_DIR/*.log
touch $PROJECT_DIR/*
cd $PROJECT_DIR
weston --shell=kiosk-shell.so --xwayland --config=$PROJECT_DIR/system/nstc/weston.ini --log=$PROJECT_DIR/weston.log \
-- make --silent --directory=$PROJECT_DIR start 2>&1 > /dev/null
rm -rf *.log
touch *
weston --shell=kiosk-shell.so --xwayland --config=${PROJECT_DIR}/system/${WESTON_MOD}/weston.ini --log=${PROJECT_DIR}/weston.log \
-- make --silent start 2>&1 > /dev/null
+7 -4
View File
@@ -1,10 +1,13 @@
#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export WESTON_MOD=pal
export SCREEN_HEIGHT=576
rm -rf $PROJECT_DIR/*.log
touch $PROJECT_DIR/*
cd $PROJECT_DIR
weston --shell=kiosk-shell.so --xwayland --config=$PROJECT_DIR/system/pal/weston.ini --log=$PROJECT_DIR/weston.log \
-- make --silent --directory=$PROJECT_DIR start 2>&1 > /dev/null
rm -rf *.log
touch *
weston --shell=kiosk-shell.so --xwayland --config=${PROJECT_DIR}/system/${WESTON_MOD}/weston.ini --log=${PROJECT_DIR}/weston.log \
-- make --silent start 2>&1 > /dev/null