From 8e2670df54438b270737652e6df5665a232e7ab0 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Wed, 13 Apr 2022 20:19:07 +0200 Subject: [PATCH] unreal: Prevent download of geoIP database on first startup (#156) --- .github/workflows/test-devel.yml | 4 ++++ .github/workflows/test-stable.yml | 4 ++++ workflows.yml | 2 ++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 6d8ab8f..445df17 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -315,6 +315,8 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + # Prevent download of geoIP database on first startup + sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/ - name: Upload build artefacts @@ -359,6 +361,8 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + # Prevent download of geoIP database on first startup + sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/ - name: Upload build artefacts diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index e9d42cc..52e4088 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -355,6 +355,8 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + # Prevent download of geoIP database on first startup + sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/ - name: Upload build artefacts @@ -399,6 +401,8 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + # Prevent download of geoIP database on first startup + sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/ - name: Upload build artefacts diff --git a/workflows.yml b/workflows.yml index aea95da..811593c 100644 --- a/workflows.yml +++ b/workflows.yml @@ -284,6 +284,8 @@ software: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + # Prevent download of geoIP database on first startup + sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf unrealircd-5: name: UnrealIRCd 5