From 00ecbb58ac9f428b5d6578e9de5d35c6f24b9d8a Mon Sep 17 00:00:00 2001 From: Kevin Janssen Date: Sun, 15 Nov 2026 22:02:53 +0100 Subject: [PATCH] Reference the unchanged helper's original link receipt in profile provenance --- deploy/windows/Publish-JobPairTimeProfile.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy/windows/Publish-JobPairTimeProfile.ps1 b/deploy/windows/Publish-JobPairTimeProfile.ps1 index 2011772..846a12a 100644 --- a/deploy/windows/Publish-JobPairTimeProfile.ps1 +++ b/deploy/windows/Publish-JobPairTimeProfile.ps1 @@ -39,7 +39,11 @@ function RoleDigests($platformHash,$installedHash,$independentHash,$previous) { if ((Hash $archive) -cne $old[0].qualification_sha256) { throw 'Original role provenance changed' } $archived=Get-Content -LiteralPath $archive -Raw | ConvertFrom-Json $build='a003dfa8cc2397a99933aceeb2d8dab51f883ab9cdf27876fbfc94a78873044c' - if ($name -ceq 'system_helper') { $build=$archived.product_pair_receipt_sha256 } + if ($name -ceq 'system_helper') { + # The old pair receipt linked the later agent and referenced the + # separately built helper. Identify the actual helper link itself. + $build='04ed34e6e850aca77c1fd4677ddb271f7ccd9492a97f5d4e00ead4c1f032f29d' + } Record ('profile-role-'+$name) ([ordered]@{ profile='rmm.windows.trusted-os.product-role-prerequisite.v1';role=$name binary_sha256=$bound.image_file.sha256; service=$bound.service; kernel=$bound.kernel