Skip to content

Commit

Permalink
passwd: Use check-* file json config. entries to migrate data across …
Browse files Browse the repository at this point in the history
…commits
  • Loading branch information
james-antill committed Jan 21, 2015
1 parent 28fb760 commit 0745f48
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 85 deletions.
5 changes: 3 additions & 2 deletions src/rpmostree-compose-builtin-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ rpmostree_compose_builtin_tree (int argc,
self->serialized_treefile = g_bytes_new_take (treefile_buf, len);
}

if (previous_root != NULL)
if (TRUE)
{
gboolean generate_from_previous = TRUE;

Expand All @@ -1034,7 +1034,8 @@ rpmostree_compose_builtin_tree (int argc,

if (generate_from_previous)
{
if (!rpmostree_generate_passwd_from_previous (repo, yumroot, previous_root,
if (!rpmostree_generate_passwd_from_previous (repo, yumroot,
previous_root, treefile,
cancellable, error))
goto out;
}
Expand Down
Loading

0 comments on commit 0745f48

Please sign in to comment.