static delta apply: Work on bare-user-only repos
Flatpak make check is failing when applying a static delta to a bare-user-only repo due to an assert. The fix is to add bare-user-only to the assert check. Closes: #940 Approved by: giuseppe
This commit is contained in:
parent
fb2c3c1db3
commit
07dc33ca4a
|
|
@ -690,7 +690,8 @@ dispatch_open (OstreeRepo *repo,
|
||||||
if (!state->stats_only)
|
if (!state->stats_only)
|
||||||
{
|
{
|
||||||
g_assert (repo->mode == OSTREE_REPO_MODE_BARE ||
|
g_assert (repo->mode == OSTREE_REPO_MODE_BARE ||
|
||||||
repo->mode == OSTREE_REPO_MODE_BARE_USER);
|
repo->mode == OSTREE_REPO_MODE_BARE_USER ||
|
||||||
|
repo->mode == OSTREE_REPO_MODE_BARE_USER_ONLY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!open_output_target (state, cancellable, error))
|
if (!open_output_target (state, cancellable, error))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue