mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
sysroot: Pass the internal repo a system root path
This commit is contained in:
parent
104b8bf6fb
commit
74fb777edb
@ -127,7 +127,7 @@ ostree_sysroot_constructed (GObject *object)
|
||||
self->path = g_object_ref (_ostree_get_default_sysroot_path ());
|
||||
|
||||
repo_path = g_file_resolve_relative_path (self->path, "ostree/repo");
|
||||
self->repo = ostree_repo_new (repo_path);
|
||||
self->repo = ostree_repo_new_for_sysroot_path (repo_path, self->path);
|
||||
|
||||
G_OBJECT_CLASS (ostree_sysroot_parent_class)->constructed (object);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user