Skip to content

Commit

Permalink
Do not finish until the cleanup script is done
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Jun 6, 2024
1 parent 39224ad commit 0302fcf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ run-go:
cd reflash; APP_ENV=dev go run main.go server.go screen.go

upload-go:
scp reflash/reflash debian@${REMOTE}:/tmp/
scp reflash/reflash root@${REMOTE}:/usr/local/bin

tar:
cd zip; tar -zcvf reflash.tar.gz reflash/
Expand Down
2 changes: 0 additions & 2 deletions bin/prod/rotate-screen
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ update_xorg(){
XORG_DIR="/mnt/emmc/usr/share/X11/xorg.conf.d"
if [ ! -d ${XORG_DIR} ]; then
echo "Misssig directory: ${XORG_DIR}"
exit 0
else
cat <<EOF > "${XORG_DIR}/90-monitor.conf"
Section "Monitor"
Expand Down Expand Up @@ -69,7 +68,6 @@ update_weston(){
;;
*)
echo "Unknown debian release: '${RELEASE}'"
exit 0
;;
esac
fi
Expand Down
2 changes: 1 addition & 1 deletion reflash/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func goUploadMagic() {
if err != nil {
logError("Error encountered when setting up pipe: \n" + stdout)
}
state.State = FINISHED
logInfo("flash-mkfifo done")
}

func uploadMagicChunk(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 0302fcf

Please sign in to comment.