diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-02-05 16:55:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-05 16:55:20 +0100 |
| commit | e5f9a274f4b9b573c73b5ed702b3caaeba8432ec (patch) | |
| tree | e2105f98d9fb72b07cf75187e8a00ed97bd16811 | |
| parent | 598e6743aa10a93d8ffd434fec5d0e0ccc856743 (diff) | |
| parent | af197b3468c1b2bf308df82a82807c19dd18606a (diff) | |
| download | vyos-build-e5f9a274f4b9b573c73b5ed702b3caaeba8432ec.tar.gz vyos-build-e5f9a274f4b9b573c73b5ed702b3caaeba8432ec.zip | |
Merge pull request #1106 from sarthurdev/geoip_refactor
geoip: T7926: Refactor geoip handling
| -rwxr-xr-x | data/live-build-config/hooks/live/40-init-geoip-database.chroot | 3 | ||||
| -rw-r--r-- | data/live-build-config/rootfs/excludes | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/data/live-build-config/hooks/live/40-init-geoip-database.chroot b/data/live-build-config/hooks/live/40-init-geoip-database.chroot index 4f9186c3..9f939f0a 100755 --- a/data/live-build-config/hooks/live/40-init-geoip-database.chroot +++ b/data/live-build-config/hooks/live/40-init-geoip-database.chroot @@ -14,3 +14,6 @@ if [ $? -ne 0 ]; then echo "Failed to download GeoIP database" rm $OUT_PATH fi + +# Generate sqlite database +python3 /usr/libexec/vyos/geoip-update.py --init diff --git a/data/live-build-config/rootfs/excludes b/data/live-build-config/rootfs/excludes index 558e637b..b824c57c 100644 --- a/data/live-build-config/rootfs/excludes +++ b/data/live-build-config/rootfs/excludes @@ -45,7 +45,7 @@ usr/local/games/* # T5511: We do not need any caches on the system (will be recreated when needed). # T7278: We need directory created by python3-cracklib for password checks -var/cache/!(cracklib) +var/cache/!(cracklib|vyos) # T5511: We do not need any log-files on the system (will be recreated when needed). var/log/*.log |
