Skip to content

Commit

Permalink
More minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Sep 12, 2023
1 parent c06a626 commit df864bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/daemon/rpmostreed-deployment-utils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,8 @@ rpmostreed_update_generate_variant (OstreeDeployment *booted_deployment,

if (staged_deployment)
{
rpmostree_output_message ("enter staged");
g_debug ("Computing diff with staged deployment");

/* ok we have a staged deployment; we just need to do a simple diff and BOOM done! */
/* XXX: we're marking all pkgs as BASE right now even though there could be layered
* pkgs too -- we can tease those out in the future if needed */
Expand All @@ -794,8 +795,6 @@ rpmostreed_update_generate_variant (OstreeDeployment *booted_deployment,
}

/* now we look at the rpm-md/layering side */
const OstreeRepo &tmp_repo = *repo;
const GCancellable &tmp_cancellable = *cancellable;
g_autofree char *origin_remote = NULL;
g_autofree char *origin_ref = NULL;

Expand All @@ -807,7 +806,7 @@ rpmostreed_update_generate_variant (OstreeDeployment *booted_deployment,
else
{
CXX_TRY_VAR (res,
rpmostreecxx::compare_local_to_remote_container (tmp_repo, tmp_cancellable,
rpmostreecxx::compare_local_to_remote_container (*repo, *cancellable,
r.refspec.c_str ()),
error);

Expand Down

0 comments on commit df864bc

Please sign in to comment.