X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4329ac4e4366dea4e26542e52c3f6c68b8e3a6f1..c4c1ad0640ba4be09143e3a0e70ce97146618f4b:/cookbooks/apt/recipes/default.rb diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 1c7f6f504..2699b6a66 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -38,6 +38,8 @@ apt_update "/etc/apt/sources.list" do action :nothing end +dpkg_arch = node[:packages][:systemd][:arch] + if platform?("debian") archive_host = "deb.debian.org" archive_security_host = archive_host @@ -46,8 +48,8 @@ if platform?("debian") archive_suites = %w[main updates backports security] archive_components = %w[main contrib non-free non-free-firmware] backport_packages = case node[:lsb][:codename] - when "bookworm" then %w[exim4 libosmium osm2pgsql otrs2 pyosmium smartmontools systemd] - else %w[] + when "bookworm" then %W[amd64-microcode exim4 firmware-free firmware-nonfree intel-microcode libosmium linux-signed-#{dpkg_arch} osm2pgsql otrs2 pyosmium smartmontools systemd] + else %W[] end elsif intel? archive_host = if node[:country]