Skip to content

Commit

Permalink
fix: call dietpi preboot script before using dietpi-software to preve…
Browse files Browse the repository at this point in the history
…nt bash syntax errors
  • Loading branch information
bvobart committed May 3, 2024
1 parent 1fe9c4a commit 833a758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dietpi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
HERE="$(dirname "$(realpath "$0")")"
REPO_DIR=$(realpath "$HERE/..")

# Ensure /boot/dietpi/.hw_model exists: https://github.com/pguyot/arm-runner-action/issues/91#issuecomment-2091910142
/boot/dietpi/func/dietpi-obtain_hw_model
# Add /boot/dietpi to PATH so we can use the dietpi-* commands
PATH="$PATH:/boot/dietpi"

Expand Down

0 comments on commit 833a758

Please sign in to comment.