From 4ef6cc2b64b0bbbc48129ace056522eebbc98979 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters(a)verbum.org>
Date: Thu, 30 Apr 2015 14:41:54 -0400
Subject: Close sysroot fd in finalize to fix Anaconda
https://bugzilla.redhat.com/show_bug.cgi?id=1217578
diff --git a/0001-sysroot-Close-sysroot-fd-in-finalize.patch
b/0001-sysroot-Close-sysroot-fd-in-finalize.patch
index aa5bcaa..8356af5 100644
--- a/0001-sysroot-Close-sysroot-fd-in-finalize.patch
+++ b/0001-sysroot-Close-sysroot-fd-in-finalize.patch
@@ -1,35 +1,3 @@
-From 298fe643e2e4650af17890c6c05c0ca4d8e86d7a Mon Sep 17 00:00:00 2001
-From: rpm-build <rpm-build>
-Date: Thu, 30 Apr 2015 14:15:15 -0400
-Subject: [PATCH] From f08cb802ea1b02c874fd71a0672c28b49e890d49 Mon Sep 17
- 00:00:00 2001 From: Colin Walters <walters(a)verbum.org> Date: Sun, 19 Apr 2015
- 15:25:05 -0400 Subject: [PATCH] sysroot: Close sysroot fd in finalize
-
-Just noticed this while I was going to add another one there.
----
- src/libostree/ostree-sysroot.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c
-index b18c6b7..6255803 100644
---- a/src/libostree/ostree-sysroot.c
-+++ b/src/libostree/ostree-sysroot.c
-@@ -66,6 +66,9 @@ ostree_sysroot_finalize (GObject *object)
- g_clear_object (&self->sepolicy);
- g_clear_object (&self->repo);
-
-+ if (self->sysroot_fd != -1)
-+ (void) close (self->sysroot_fd);
-+
- G_OBJECT_CLASS (ostree_sysroot_parent_class)->finalize (object);
- }
-
---
-1.8.3.1
----
- src/libostree/ostree-sysroot.c | 3 +++
- 1 file changed, 3 insertions(+)
-
diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c
index 2afc59c..1bd10b1 100644
--- a/src/libostree/ostree-sysroot.c
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ostree.git/commit/?h=f22&id=4ef6cc...