Skip to content

Commit

Permalink
output if failed
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 14, 2024
1 parent 3699f8a commit 11ea6f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/buildMe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,4 @@ jobs:
sudo mv OpenHD-ImageBuilder/stages/01-Baseimage stages/
sudo rm -Rf OpenHD-ImageBuilder
- name: configure
run: sudo bash build.sh ${{ matrix.TARGET }} ${{ matrix.TESTING }}
- name: debug
run: |
tree
run: sudo bash build.sh ${{ matrix.TARGET }} ${{ matrix.TESTING }}
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ for STAGE_DIR in "${BASE_DIR}/stages/"*; do
done

cd ${BASE_DIR}
if [ -z "$(ls -A out 2>/dev/null)" ]; then exit 1; fi
echo "---------------> done :)"
if [ -z "$(ls -A out 2>/dev/null)" ]; then echo "---------------> build failed :(" && exit 1; fi
echo "---------------> build successful :)"
log "End ${BASE_DIR}"
2 changes: 1 addition & 1 deletion stages/02-Packages/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ln -s $OUTDIR /out
rm -Rf /out/*

echo "_______________________Starting build____________________________"
touch /out/package.deb

if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" ]]; then
#fix radxa's fuckup
sudo apt update
Expand Down

0 comments on commit 11ea6f8

Please sign in to comment.