Compare commits
3 Commits
v2025.4.29
...
showpiece
Author | SHA1 | Date | |
---|---|---|---|
cfcaeb766b | |||
474786d796 | |||
31c56b594a |
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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: 20
|
timeout-minutes: 120
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
env:
|
env:
|
||||||
@ -46,13 +46,17 @@ 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
|
files: deploy/*-client.img.gz
|
||||||
|
|
||||||
- name: Publish standalone
|
- name: Publish standalone
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
@ -60,5 +64,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
|
files: deploy/*-standalone.img.gz
|
||||||
|
|
||||||
|
5
compress-images.sh
Executable file
5
compress-images.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for img in "deploy/"*.img; do
|
||||||
|
gzip -4 -v -k "$img"
|
||||||
|
done
|
6
stage4/98-default-wallpaper/00-run.sh
Executable file
6
stage4/98-default-wallpaper/00-run.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/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
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
echo "Setting custom cmdline"
|
echo "Setting custom cmdline"
|
||||||
sed -i 's/$/ video=HDMI-A-1:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"
|
sed -i 's/$/ video=HDMI-A-2:1920x1080M@60/' "${ROOTFS_DIR}/boot/firmware/cmdline.txt"
|
Loading…
x
Reference in New Issue
Block a user