aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/plan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r--src/burn/engine/plan.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp
index 3d6fc65f..79b7c98f 100644
--- a/src/burn/engine/plan.cpp
+++ b/src/burn/engine/plan.cpp
@@ -409,7 +409,7 @@ extern "C" HRESULT PlanLayoutBundle(
409 hr = StrAllocString(&pCacheAction->bundleLayout.sczExecutableName, wzExecutableName, 0); 409 hr = StrAllocString(&pCacheAction->bundleLayout.sczExecutableName, wzExecutableName, 0);
410 ExitOnFailure(hr, "Failed to to copy executable name for bundle."); 410 ExitOnFailure(hr, "Failed to to copy executable name for bundle.");
411 411
412 hr = CacheCalculateBundleLayoutWorkingPath(pPlan->wzBundleId, &pCacheAction->bundleLayout.sczUnverifiedPath); 412 hr = CacheCalculateBundleLayoutWorkingPath(pPlan->pCache, pPlan->wzBundleId, &pCacheAction->bundleLayout.sczUnverifiedPath);
413 ExitOnFailure(hr, "Failed to calculate bundle layout working path."); 413 ExitOnFailure(hr, "Failed to calculate bundle layout working path.");
414 414
415 pCacheAction->bundleLayout.qwBundleSize = qwBundleSize; 415 pCacheAction->bundleLayout.qwBundleSize = qwBundleSize;
@@ -526,7 +526,7 @@ extern "C" HRESULT PlanRegistration(
526 pPlan->fIgnoreAllDependents = pRegistration->fIgnoreAllDependents; 526 pPlan->fIgnoreAllDependents = pRegistration->fIgnoreAllDependents;
527 527
528 // Ensure the bundle is cached if not running from the cache. 528 // Ensure the bundle is cached if not running from the cache.
529 if (!CacheBundleRunningFromCache()) 529 if (!CacheBundleRunningFromCache(pPlan->pCache))
530 { 530 {
531 pPlan->dwRegistrationOperations |= BURN_REGISTRATION_ACTION_OPERATIONS_CACHE_BUNDLE; 531 pPlan->dwRegistrationOperations |= BURN_REGISTRATION_ACTION_OPERATIONS_CACHE_BUNDLE;
532 } 532 }
@@ -1021,7 +1021,7 @@ extern "C" HRESULT PlanLayoutContainer(
1021 } 1021 }
1022 else 1022 else
1023 { 1023 {
1024 hr = CacheCalculateContainerWorkingPath(pPlan->wzBundleId, pContainer, &pContainer->sczUnverifiedPath); 1024 hr = CacheCalculateContainerWorkingPath(pPlan->pCache, pContainer, &pContainer->sczUnverifiedPath);
1025 ExitOnFailure(hr, "Failed to calculate unverified path for container."); 1025 ExitOnFailure(hr, "Failed to calculate unverified path for container.");
1026 } 1026 }
1027 } 1027 }
@@ -2235,7 +2235,7 @@ static HRESULT ProcessPayloadGroup(
2235 2235
2236 if (!pPayload->sczUnverifiedPath) 2236 if (!pPayload->sczUnverifiedPath)
2237 { 2237 {
2238 hr = CacheCalculatePayloadWorkingPath(pPlan->wzBundleId, pPayload, &pPayload->sczUnverifiedPath); 2238 hr = CacheCalculatePayloadWorkingPath(pPlan->pCache, pPayload, &pPayload->sczUnverifiedPath);
2239 ExitOnFailure(hr, "Failed to calculate unverified path for payload."); 2239 ExitOnFailure(hr, "Failed to calculate unverified path for payload.");
2240 } 2240 }
2241 } 2241 }