From d2ea5b2a809f2f05b615b2ecc48322d744b733eb Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 19 Feb 2024 10:35:43 +0100 Subject: [PATCH 1/1] nominatim: disable luajit Something is potentially buggy with luajit and causes data loss. --- cookbooks/nominatim/recipes/default.rb | 2 +- .../nominatim/templates/default/nominatim-update-source.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/nominatim/recipes/default.rb b/cookbooks/nominatim/recipes/default.rb index 4b96e544d..bf0db0aec 100644 --- a/cookbooks/nominatim/recipes/default.rb +++ b/cookbooks/nominatim/recipes/default.rb @@ -292,7 +292,7 @@ execute "compile_nominatim" do action :nothing user "nominatim" cwd build_directory - command "cmake -D WITH_LUAJIT=ON #{source_directory} && make" + command "cmake #{source_directory} && make" notifies :run, "execute[install_nominatim]" end diff --git a/cookbooks/nominatim/templates/default/nominatim-update-source.erb b/cookbooks/nominatim/templates/default/nominatim-update-source.erb index fb51d1eea..dacb6190e 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-source.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-source.erb @@ -20,5 +20,5 @@ git checkout --detach <%= node[:nominatim][:revision] %> git submodule update cd <%= @builddir %> -cmake -D WITH_LUAJIT=ON . +cmake . make -- 2.39.5