[ostree] sysroot: Pass the internal repo a system root path
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] sysroot: Pass the internal repo a system root path
- Date: Thu, 16 Jul 2015 16:51:59 +0000 (UTC)
commit 74fb777edbfb13cb5689cf86214c7c2e15402583
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jul 13 17:15:03 2015 -0400
sysroot: Pass the internal repo a system root path
src/libostree/ostree-sysroot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c
index d5d48ad..c7b3e47 100644
--- a/src/libostree/ostree-sysroot.c
+++ b/src/libostree/ostree-sysroot.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]