diff --git a/.github/workflows/orangepi-image-generation.yml b/.github/workflows/orangepi-image-generation.yml index 21d38eb32e..f584debb54 100644 --- a/.github/workflows/orangepi-image-generation.yml +++ b/.github/workflows/orangepi-image-generation.yml @@ -294,12 +294,10 @@ jobs: with: name: jar-${{ matrix.artifact-name }} # TODO- replace with the arm-runner action and run this inside of the chroot. but this works for now. - - uses: pguyot/arm-runner-action@v2 - name: Generate image - with: - commands: | - chmod +x scripts/generatePiImage.sh - ./scripts/generatePiImage.sh ${{ matrix.image_url }} ${{ matrix.image_suffix }} + - name: Generate image + run: | + chmod +x scripts/generatePiImage.sh + ./scripts/generatePiImage.sh ${{ matrix.image_url }} ${{ matrix.image_suffix }} - uses: actions/upload-artifact@v4 name: Upload image with: diff --git a/scripts/generatePiImage.sh b/scripts/generatePiImage.sh index 8c8233079a..8050a30ead 100755 --- a/scripts/generatePiImage.sh +++ b/scripts/generatePiImage.sh @@ -92,12 +92,13 @@ echo "Image mounted! Copying jar..." sudo mount $PARTITION $TMP -DIR_STACK="" if ! command -v pushd > /dev/null 2>&1; then + echo "Overwriting pushd because it doesn't exist." alias pushd='opi_pushd' fi if ! command -v popd > /dev/null 2>&1; then + echo "Overwriting popd because it doesn't exist." alias popd='opi_popd' fi