From c937305c0e7f5609273e25753912c294b040a6ac Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 3 Apr 2017 20:35:58 -0400 Subject: [PATCH] core: Fix default value of disable_xattrs Sigh. Rather awful regression from https://github.com/ostreedev/ostree/pull/759 Closes: #775 Approved by: jlebon --- src/libostree/ostree-repo.c | 2 +- tests/test-remote-gpg-import.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 5e0a93ec..a8789b0e 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -2075,7 +2075,7 @@ reload_core_config (OstreeRepo *self, /* See https://github.com/ostreedev/ostree/issues/758 */ if (!ot_keyfile_get_boolean_with_default (self->config, "core", "disable-xattrs", - TRUE, &self->disable_xattrs, error)) + FALSE, &self->disable_xattrs, error)) return FALSE; { g_autofree char *tmp_expiry_seconds = NULL; diff --git a/tests/test-remote-gpg-import.sh b/tests/test-remote-gpg-import.sh index 4429d8bc..a5803785 100755 --- a/tests/test-remote-gpg-import.sh +++ b/tests/test-remote-gpg-import.sh @@ -30,7 +30,7 @@ echo "1..4" cd ${test_tmpdir} mkdir repo -${OSTREE} init +ostree_repo_init repo #---------------------------------------------- # Test synchronicity of keyring file and remote