Compare commits

...

19 Commits

Author SHA1 Message Date
billz
224748a301 Set install option default repo + branch 2025-02-27 13:52:23 -08:00
billz
d0eaa2cac8 Update pi-gen-repository 2025-02-27 13:41:33 -08:00
billz
2c311af932 Restore base iptables network config 2025-02-27 13:36:54 -08:00
billz
684b2a75d9 Use nftables exclusively 2025-02-27 09:56:46 -08:00
billz
fcaafd55b5 Set --branch, --repo options 2025-02-27 09:11:00 -08:00
billz
35d588b29e Remove iptables* packages + update-alternatives from stage 2025-02-27 07:47:39 -08:00
billz
dd1b9e70bd Revise configure_networking() to detect firewall backend 2025-02-27 07:40:30 -08:00
Bill Zimmerman
371bf4abef
Update release.yml 2025-02-24 10:02:35 +01:00
Bill Zimmerman
162acb467b
Update release.yml 2025-02-24 09:27:40 +01:00
Bill Zimmerman
7c46f9c8f8
Update release.yml 2025-02-24 09:02:45 +01:00
Bill Zimmerman
44d8712cc3
Update release.yml 2025-02-24 09:00:39 +01:00
Bill Zimmerman
062939a0f2
Update release.yml 2025-02-24 08:23:20 +01:00
Bill Zimmerman
12e70bc330
Update release.yml 2025-02-23 23:12:56 +01:00
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
Bill Zimmerman
e8c9fd1690
Update naming to reflect clarity in arch, OS + purpose 2025-02-08 18:15:26 +01:00
Bill Zimmerman
6eab0542ff
Update release.yml 2025-02-08 12:11:31 +01:00

View File

@ -29,8 +29,25 @@ jobs:
{ {
cat > stage-raspap/package-raspap/00-run-chroot.sh <<-EOF cat > stage-raspap/package-raspap/00-run-chroot.sh <<-EOF
#!/bin/bash #!/bin/bash
apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps apt-get update -y && apt-get install -y curl dhcpcd5 procps
curl -sL https://install.raspap.com | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0 curl -sL https://install.raspap.com | 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 EOF
} && } &&
chmod +x stage-raspap/package-raspap/00-run-chroot.sh && chmod +x stage-raspap/package-raspap/00-run-chroot.sh &&
@ -48,18 +65,18 @@ jobs:
id: build id: build
uses: usimd/pi-gen-action@v1 uses: usimd/pi-gen-action@v1
with: with:
image-name: "raspap-${{ github.ref_name }}-${{ matrix.arch }}" image-name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}"
enable-ssh: 1 enable-ssh: 1
stage-list: stage0 stage1 stage2 ./stage-raspap stage-list: stage0 stage1 stage2 ./stage-raspap
verbose-output: true verbose-output: true
pi-gen-version: ${{ matrix.pi_gen_version }} pi-gen-version: ${{ matrix.pi_gen_version }}
pi-gen-repository: RaspAP/pi-gen pi-gen-repository: billz/pi-gen
- name: Upload Artifact - name: Upload Artifact
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
with: with:
asset_name: raspap-image-${{ github.ref_name }}-${{ matrix.arch }}.zip asset_name: "raspap-bookworm-${{ matrix.arch == '32-bit' && 'armhf' || 'arm64' }}-lite-${{ github.event.inputs.tag || github.ref_name }}.img.zip"
file: ${{ steps.build.outputs.image-path }} file: ${{ steps.build.outputs.image-path }}
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }} tag: ${{ github.event.inputs.tag || github.ref }}
overwrite: true overwrite: true