diff --git a/src/libostree/ostree-repo-checkout.c b/src/libostree/ostree-repo-checkout.c index 3b9c80d42f..cc2ed14233 100644 --- a/src/libostree/ostree-repo-checkout.c +++ b/src/libostree/ostree-repo-checkout.c @@ -217,14 +217,8 @@ create_file_copy_from_input_at (OstreeRepo *repo, g_autoptr(GVariant) modified_xattrs = NULL; /* If we're doing SELinux labeling, prepare it */ - if (options->sepolicy) + if (options->sepolicy && !repo->disable_xattrs) { - static gboolean printed; - if (!printed) - { - g_printerr ("doing fscreatecon for %s\n", state->selabel_path_buf->str); - printed = 1; - } if (!_ostree_sepolicy_preparefscreatecon (&fscreatecon, options->sepolicy, state->selabel_path_buf->str, g_file_info_get_attribute_uint32 (file_info, "unix::mode"),