2 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

View File

@@ -34,6 +34,19 @@ jobs:
# 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 &&