diff --git a/.gitignore b/.gitignore index 74c69a2..9c5395f 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ /rpm-ostree-2018.1.tar.xz /rpm-ostree-2018.2.tar.xz /rpm-ostree-2018.3.tar.xz +/rpm-ostree-2018.4.tar.xz diff --git a/0001-compose-Also-treat-FUSE-as-a-netfs.patch b/0001-compose-Also-treat-FUSE-as-a-netfs.patch deleted file mode 100644 index fa64e94..0000000 --- a/0001-compose-Also-treat-FUSE-as-a-netfs.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 50b1f9b63f047f721dd6ad3d2d1913843db13674 Mon Sep 17 00:00:00 2001 -From: Colin Walters -Date: Thu, 1 Mar 2018 13:01:12 -0500 -Subject: [PATCH] compose: Also treat FUSE as a netfs - -Fedora is apparently currently using sshfs because S390 is in a different -location than the main servers. - -Since it seems nontrivial to detect just sshfs, and FUSE is problematic in -general, let's just do the the not-horrific-on-netfs path for all FUSE mounts. - -Closes: #1285 -Approved by: jlebon ---- - src/app/rpmostree-compose-builtin-tree.c | 22 +++++++++++++++++++--- - 1 file changed, 19 insertions(+), 3 deletions(-) - -diff --git a/src/app/rpmostree-compose-builtin-tree.c b/src/app/rpmostree-compose-builtin-tree.c -index 06ab73a..dc2cbc8 100644 ---- a/src/app/rpmostree-compose-builtin-tree.c -+++ b/src/app/rpmostree-compose-builtin-tree.c -@@ -1186,11 +1186,22 @@ impl_install_tree (RpmOstreeTreeComposeContext *self, - static gboolean - repo_is_on_netfs (OstreeRepo *repo) - { -+#ifndef FUSE_SUPER_MAGIC -+#define FUSE_SUPER_MAGIC 0x65735546 -+#endif -+ - int dfd = ostree_repo_get_dfd (repo); - struct statfs stbuf; - if (fstatfs (dfd, &stbuf) != 0) - return FALSE; -- return stbuf.f_type == NFS_SUPER_MAGIC; -+ switch (stbuf.f_type) -+ { -+ case NFS_SUPER_MAGIC: -+ case FUSE_SUPER_MAGIC: -+ return TRUE; -+ default: -+ return FALSE; -+ } - } - - /* Perform required postprocessing, and invoke rpmostree_compose_commit(). */ -@@ -1257,8 +1268,13 @@ impl_commit_tree (RpmOstreeTreeComposeContext *self, - } - - /* See comment above */ -- const gboolean use_txn = (getenv ("RPMOSTREE_COMMIT_NO_TXN") == NULL && -- !repo_is_on_netfs (self->repo)); -+ const gboolean txn_explicitly_disabled = (getenv ("RPMOSTREE_COMMIT_NO_TXN") != NULL); -+ const gboolean using_netfs = repo_is_on_netfs (self->repo); -+ if (txn_explicitly_disabled) -+ g_print ("libostree transactions explicitly disabled\n"); -+ else if (using_netfs) -+ g_print ("Network filesystem detected for repo; disabling transaction\n"); -+ const gboolean use_txn = !(txn_explicitly_disabled || using_netfs); - - if (use_txn) - { --- -2.14.3 - diff --git a/rpm-ostree.spec b/rpm-ostree.spec index 4e31e9a..4dfeae4 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -1,15 +1,13 @@ Summary: Hybrid image/package system Name: rpm-ostree -Version: 2018.3 -Release: 4%{?dist} +Version: 2018.4 +Release: 1%{?dist} #VCS: https://github.com/cgwalters/rpm-ostree # This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot" Source0: rpm-ostree-%{version}.tar.xz License: LGPLv2+ URL: https://github.com/projectatomic/rpm-ostree -Patch0: 0001-compose-Also-treat-FUSE-as-a-netfs.patch - # We always run autogen.sh BuildRequires: autoconf automake libtool git # For docs @@ -156,6 +154,9 @@ python autofiles.py > files.devel \ %files devel -f files.devel %changelog +* Mon Mar 26 2018 Jonathan Lebon - 2018.4-1 +- New upstream version + * Sun Mar 18 2018 Iryna Shcherbina - 2018.3-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) diff --git a/sources b/sources index 5b091a7..f73597e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rpm-ostree-2018.3.tar.xz) = 30d3c19ac504fc527033c26dd2073c57c334d727d3a4ec2fc5a43a85116aa7a07afcada4c0b2b865ec8bfc5c86e25173f30c732260484ab0c9cf4db042c0df42 +SHA512 (rpm-ostree-2018.4.tar.xz) = 67879cfa6f3f3e7673745eba1b850b941e0f41c46fa080ba28993950dbd30cad13048d2c106f40934a9e8f1fad5e57eb0da7f9a3f12891940668bb444546126e