Skip to content

Commit e5f9a27

Browse files
authored
Merge pull request #1106 from sarthurdev/geoip_refactor
geoip: T7926: Refactor geoip handling
2 parents 598e674 + af197b3 commit e5f9a27

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

data/live-build-config/hooks/live/40-init-geoip-database.chroot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ if [ $? -ne 0 ]; then
1414
echo "Failed to download GeoIP database"
1515
rm $OUT_PATH
1616
fi
17+
18+
# Generate sqlite database
19+
python3 /usr/libexec/vyos/geoip-update.py --init

data/live-build-config/rootfs/excludes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ usr/local/games/*
4545

4646
# T5511: We do not need any caches on the system (will be recreated when needed).
4747
# T7278: We need directory created by python3-cracklib for password checks
48-
var/cache/!(cracklib)
48+
var/cache/!(cracklib|vyos)
4949

5050
# T5511: We do not need any log-files on the system (will be recreated when needed).
5151
var/log/*.log

0 commit comments

Comments
 (0)