From e1ad00080678ac821ed3871686413080cb0ca27d Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 4 Dec 2022 23:06:22 +0000 Subject: [PATCH 1/1] Do not install recommends for wireguard-tools wireguard-tools recommends causes a dependency cascade installing wireguard-dkms which requires a compile and kernel headers. All our systems are running sufficient kernel versions not to require wireguard-dkms. Disable recommends to speed up install for tests. --- cookbooks/networking/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 5cdaf91f6..9bf834522 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -196,6 +196,7 @@ if node[:networking][:wireguard][:enabled] package "wireguard-tools" do compile_time true + options "--no-install-recommends" end directory "/var/lib/systemd/wireguard" do -- 2.39.5