4 Commits

Author SHA1 Message Date
Bill Zimmerman
a4f1a89cef Fetch RaspAP version and set MOTD 2025-02-12 08:34:42 +01:00
Bill Zimmerman
71990cec80 Increase swap before pi-gen action 2025-02-09 10:54:47 +01:00
Bill Zimmerman
a04fe39050 Update release.yml 2025-02-08 22:41:57 +01:00
Bill Zimmerman
9ac67e0ba4 Add raspi-config nonint do_wifi_country to 00-run-chroot 2025-02-08 22:41:18 +01:00

View File

@@ -1,3 +1,4 @@
name: Build and publish RaspAP images
permissions:
contents: write
@@ -30,6 +31,22 @@ jobs:
#!/bin/bash
apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps
curl -sL https://raw.githubusercontent.com/billz/raspap-webgui/refs/heads/master/installers/raspbian.sh | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0
# Set Wi-Fi country to prevent RF kill
raspi-config nonint do_wifi_country "US"
# Fetch RaspAP version and set MOTD
RASPAP_VERSION=\$(curl -sL https://install.raspap.com | bash -s -- --version)
echo "\$RASPAP_VERSION" | tee /etc/motd
EOF
} &&
chmod +x stage-raspap/package-raspap/00-run-chroot.sh &&
{
cat > stage-raspap/prerun.sh <<-EOF
#!/bin/bash -e
if [ ! -d "\${ROOTFS_DIR}" ]; then
copy_previous
fi
EOF
} &&
chmod +x stage-raspap/package-raspap/00-run-chroot.sh &&