mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
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)
|
||||
{
|
||||
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user