lib/commit: Fix bare → bare imports
Regression from https://github.com/ostreedev/ostree/pull/1771 This broke rpmostreepayload in Anaconda where we import a bare repo: https://openqa.fedoraproject.org/tests/345339#step/_do_install_and_reboot/4 Reported-by: Adam Williamson <adamwill@fedoraproject.org> Closes: #1803 Approved by: jlebon
This commit is contained in:
parent
620a3138ae
commit
c79d792fd5
|
|
@ -4269,7 +4269,7 @@ import_one_object_direct (OstreeRepo *dest_repo,
|
|||
G_IN_SET (src_repo->mode, OSTREE_REPO_MODE_BARE, OSTREE_REPO_MODE_BARE_USER);
|
||||
if (src_is_bare_or_bare_user && !OSTREE_OBJECT_TYPE_IS_META(objtype))
|
||||
{
|
||||
if (src_repo == OSTREE_REPO_MODE_BARE)
|
||||
if (src_repo->mode == OSTREE_REPO_MODE_BARE)
|
||||
{
|
||||
g_autoptr(GVariant) xattrs = NULL;
|
||||
if (!glnx_fd_get_all_xattrs (src_fd, &xattrs,
|
||||
|
|
|
|||
Loading…
Reference in New Issue