core: Add comment about SERVER_BASE commits

This made me hesitate for a bit so add a comment about it to make it
clear. The RPMOSTREE_ASSEMBLE_TYPE_SERVER_BASE path was used by the `ex
container`, which was subsequently ripped out.
This commit is contained in:
Jonathan Lebon 2021-04-27 16:14:40 -04:00 committed by Colin Walters
parent fdd6ff83cb
commit 2ed6e40cd2

View File

@ -4752,6 +4752,8 @@ rpmostree_context_commit (RpmOstreeContext *self,
} }
else if (assemble_type == RPMOSTREE_ASSEMBLE_TYPE_SERVER_BASE) else if (assemble_type == RPMOSTREE_ASSEMBLE_TYPE_SERVER_BASE)
{ {
/* Note this branch isn't actually used today; the compose side commit
* code is in impl_commit_tree(). */
g_autoptr(GVariant) spec_v = g_autoptr(GVariant) spec_v =
g_variant_ref_sink (rpmostree_treespec_to_variant (self->spec)); g_variant_ref_sink (rpmostree_treespec_to_variant (self->spec));