Verified Commit 48ac3e16 authored by Torsten Grote's avatar Torsten Grote
Browse files

Copy GeoIP file *before* resetting its time, fixes reproduciblity

parent fced5640
Pipeline #2154 passed with stages
in 54 minutes and 36 seconds
......@@ -30,10 +30,10 @@ def main():
# zip geoip database
geoip_path = os.path.join(EXT_DIR, 'tor', 'src', 'config', 'geoip')
geoip_path = os.path.join(REPO_DIR, 'geoip')
copy(os.path.join(EXT_DIR, 'tor', 'src', 'config', 'geoip'), geoip_path)
copy(geoip_path, os.path.join(REPO_DIR, 'geoip')) # copy first to not zip directory
check_call(['zip', '-X', os.path.join(REPO_DIR, ''), os.path.join(REPO_DIR, 'geoip')])
check_call(['zip', '-X', '', 'geoip'], cwd=REPO_DIR)
# zip binaries together
file_list = ['', '']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment