From 3aae2bb89aeb6affc38f9e4f38f479346511daad Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 1 Sep 2026 18:03:30 +0100 Subject: [PATCH] hardware: fix sst extract --- cookbooks/hardware/recipes/default.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index d6cbafef2..ed29dca4c 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -346,21 +346,23 @@ if !intel_ssds.empty? || !intel_nvmes.empty? sst_tool_version = "3-1" sst_package_version = "3.1.346-0" + remote_file "#{Chef::Config[:file_cache_path]}/sst-cli-linux-deb--#{sst_tool_version}.zip" do - source "https://sdmsdfwdriver.blob.core.windows.net/files/kba-gcc/drivers-downloads/ka-00085/sst--#{sst_tool_version}/sst-cli-linux-deb--#{sst_tool_version}.zip" + source "https://sdmsdfwdriver.blob.core.windows.net/files/kba-gcc/drivers-downloads/ka-00085/sst--3-1/sst-cli-linux-deb--3-1.zip" + https://sdmsdfwdriver.blob.core.windows.net/files/kba-gcc/drivers-downloads/ka-00085/sst--3-1/sst-cli-linux-deb--3-1.zip end execute "#{Chef::Config[:file_cache_path]}/sst-cli-linux-deb--#{sst_tool_version}.zip" do - command "unzip sst-cli-linux-deb--#{sst_tool_version}.zip sst_#{sst_package_version}_amd64.deb" + command "unzip sst-cli-linux-deb--#{sst_tool_version}.zip sst-cli-linux-deb--#{sst_tool_version}/sst_#{sst_package_version}_amd64.deb" cwd Chef::Config[:file_cache_path] user "root" group "root" - not_if { ::File.exist?("#{Chef::Config[:file_cache_path]}/sst_#{sst_package_version}_amd64.deb") } + not_if { ::File.exist?("#{Chef::Config[:file_cache_path]}/sst-cli-linux-deb--#{sst_tool_version}/sst_#{sst_package_version}_amd64.deb") } end dpkg_package "sst" do version sst_package_version - source "#{Chef::Config[:file_cache_path]}/sst_#{sst_package_version}_amd64.deb" + source "#{Chef::Config[:file_cache_path]}/sst-cli-linux-deb--#{sst_tool_version}/sst_#{sst_package_version}_amd64.deb" end dpkg_package "intelmas" do -- 2.47.3