Compare commits

..

No commits in common. "showpiece" and "v2025.4.29" have entirely different histories.

4 changed files with 4 additions and 19 deletions

View File

@ -13,7 +13,7 @@ jobs:
build_images: build_images:
name: Build images name: Build images
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 120 timeout-minutes: 20
strategy: strategy:
fail-fast: true fail-fast: true
env: env:
@ -46,17 +46,13 @@ jobs:
sudo mv deploy/*-arm64-standalone.img deploy/showpieceos-arm64-standalone.img && sudo mv deploy/*-arm64-standalone.img deploy/showpieceos-arm64-standalone.img &&
sudo mv deploy/*-arm64-client.img deploy/showpieceos-arm64-client.img sudo mv deploy/*-arm64-client.img deploy/showpieceos-arm64-client.img
- name: Compress images
if: startsWith(github.ref, 'refs/tags/v')
run: sudo ./compress-images.sh
- name: Publish client - name: Publish client
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
uses: https://github.com/softprops/action-gh-release@v2 uses: https://github.com/softprops/action-gh-release@v2
with: with:
tag_name: ${{ github.ref_name }} tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }} name: ${{ github.ref_name }}
files: deploy/*-client.img.gz files: deploy/*-client.img
- name: Publish standalone - name: Publish standalone
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
@ -64,5 +60,5 @@ jobs:
with: with:
tag_name: ${{ github.ref_name }} tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }} name: ${{ github.ref_name }}
files: deploy/*-standalone.img.gz files: deploy/*-standalone.img

View File

@ -1,5 +0,0 @@
#!/bin/bash
for img in "deploy/"*.img; do
gzip -4 -v -k "$img"
done

View File

@ -1,6 +0,0 @@
#!/bin/bash -e
echo "Setting default wallpaper"
for conf in "${ROOTFS_DIR}/etc/xdg/pcmanfm/LXDE-pi/desktop-items-"*.conf; do
sed -E 's|/usr/share/rpd-wallpaper/.+$|/usr/share/rpd-wallpaper/RPiSystem.png|' -i "$conf"
done

View File

@ -1,4 +1,4 @@
#!/bin/bash -e #!/bin/bash -e
echo "Setting custom cmdline" echo "Setting custom cmdline"
sed -i 's/$/ video=HDMI-A-2:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt" sed -i 's/$/ video=HDMI-A-1:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"