Revert "Add a notion of "physical" sysroot, use for remote writing"

This reverts commit 1eff3e8343. There
are a few issues with it.  It's not a critical thing for now, so
let's ugly up the git history and revisit when we have time to
debug it and add more tests.

Besides the below issue, I noticed that the simple `ostree remote add`
now writes to `/ostree/repo/config` because we *aren't* using the
`--sysroot` argument.

Closes: https://github.com/ostreedev/ostree/issues/901

Closes: #902
Approved by: mike-nguyen
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-06-02 14:11:58 +00:00
1 parent 2fdbdd4b2f
commit cad42d9601
9 files changed
+23 -81

No files matched your search

-1
View File
@@ -93,7 +93,6 @@ struct OstreeRepo {
int objects_dir_fd;
int uncompressed_objects_dir_fd;
GFile *sysroot_dir;
GWeakRef sysroot; /* Weak to avoid a circular ref; see also `is_system` */
char *remotes_config_dir;
GHashTable *txn_refs;