repo: Add a "sysroot-path" property

Adds ostree_repo_new_for_sysroot_path() to specify a system root path.
OstreeRepo otherwise uses _ostree_get_default_sysroot_path().
This commit is contained in:
Matthew Barnes committed 2015-07-16 12:48:56 -04:00
1 parent 26225cb198
commit 104b8bf6fb
4 files changed
+56 -7

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ struct OstreeRepo {
GFile *uncompressed_objects_dir;
int uncompressed_objects_dir_fd;
GFile *config_file;
GFile *sysroot_dir;
GFile *transaction_lock_path;
GHashTable *txn_refs;