pstruebi 0f825babb3 feat: change git pull to fetch and checkout latest tag instead of branch
- Modified step_git_pull() to fetch tags from main branch and checkout the latest tag
- Added fallback to main branch if no tags are found
- Changed default branch parameter from "release" to "main"
- Removed redundant git pull from step_update_app()
- Updated success message to indicate tag checkout
2026-02-04 16:12:55 +01:00
2025-08-26 09:54:39 +02:00
2025-08-26 09:54:39 +02:00
2025-08-26 09:54:39 +02:00
2025-11-25 11:29:14 +01:00

how the gold image was created

  • use base-image that was created with pi-gen_auracaster sudo apt update && sudo apt upgrade -y

git clone https://gitea.pstruebi.xyz/auracaster/bumble-auracast

sudo apt install -y pipewire wireplumber pipewire-audio-client-libraries rtkit cpufrequtils

mkdir -p ~/.config/pipewire/pipewire.conf.d cp ~/bumble-auracast/src/service/pipewire/99-lowlatency.conf ~/.config/pipewire/pipewire.conf.d/

sudo cpufreq-set -g performance poetry config virtualenvs.in-project true

sudo cp ~/bumble-auracast/src/service/aes67/90-pipewire-aes67-ptp.rules /etc/udev/rules.d/ sudo udevadm control --log-priority=debug --reload-rules sudo udevadm trigger

sudo bash ~/bumble-auracast/src/auracast/server/provision_domain_hostname.sh castbox-summitwave local

  • password was changed to something secure - stored in bitwarden

sudo tee /etc/ssh/sshd_config.d/10-disable-passwords.conf >/dev/null <<'EOF' PubkeyAuthentication yes PasswordAuthentication no KbdInteractiveAuthentication no ChallengeResponseAuthentication no PermitRootLogin no EOF

sudo systemctl reload ssh ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no pi@raspi.local

sudo apt-get install
python3-dev python3.11-dev
libsamplerate0-dev
build-essential cmake pkg-config

sudo apt install i2c-tools

sudo tee /etc/security/limits.d/99-realtime.conf >/dev/null <<'EOF' caster - rtprio 99 caster - memlock unlimited EOF

per-device Provisioning

For production, the devices need to be provisoned uniquely

  • provision with rpi-sb-provisioner - tested with 2.0.5, 2.0.4 did not work
  • after initial provisioning using ssh:
    • install vpn with a unique configuration under /etc/wireguard/wg0.conf
    • wg-quick up wg0
    • enable wg0 service
    • set the hostname
    • if custom device without ui:
      • set channel name etc. in bumble-auracast/src/auracast/.env
    • execute the update service scripts
    • start the application (script if custom device, server and frontend if ui version)
    • set mac add of secondary eth port in /etc/systemd/network/10-eth1-mac.link
    • activate overlayfs (?) -probably not because we need persistent storage for stream states

Secure-boot CM4: unlock secure USB mass-storage

git clone https://github.com/raspberrypi/usbboot bash gen-secure-msd-sig.sh bash rpi-boot-secure.sh

Description
No description provided
Readme 18 GiB
Languages
Python 85.3%
Shell 14.7%