diff -Nru udisks2-2.6.5/debian/changelog udisks2-2.6.5/debian/changelog --- udisks2-2.6.5/debian/changelog 2017-10-06 11:47:16.000000000 +0000 +++ udisks2-2.6.5/debian/changelog 2018-02-05 15:09:05.000000000 +0000 @@ -1,3 +1,11 @@ +udisks2 (2.6.5-2ubuntu3) UNRELEASED; urgency=medium + + * debian/patches/git_add_utab.patch: + - backport an upstream fix to monitor and export userspace mount + options, allowing to hide snaps fs in gnome-disk-utilities (lp: 1637984) + + -- Andrea Azzarone Mon, 05 Feb 2018 15:09:05 +0000 + udisks2 (2.6.5-2ubuntu2) artful; urgency=medium * debian/patches/git_property_change.patch: diff -Nru udisks2-2.6.5/debian/control udisks2-2.6.5/debian/control --- udisks2-2.6.5/debian/control 2017-07-26 14:28:13.000000000 +0000 +++ udisks2-2.6.5/debian/control 2018-02-05 15:09:05.000000000 +0000 @@ -15,6 +15,7 @@ libgirepository1.0-dev (>= 1.30), libglib2.0-dev (>= 2.31.13), libgudev-1.0-dev (>= 165), + libmount-dev (>= 2.30), libpolkit-agent-1-dev (>= 0.97), libpolkit-gobject-1-dev (>= 0.97), libsystemd-dev (>= 209), @@ -32,6 +33,7 @@ Architecture: linux-any Multi-Arch: foreign Depends: dbus, + libmount1 (>= 2.30), libpam-systemd, parted, udev, diff -Nru udisks2-2.6.5/debian/patches/git_add_utab.patch udisks2-2.6.5/debian/patches/git_add_utab.patch --- udisks2-2.6.5/debian/patches/git_add_utab.patch 1970-01-01 00:00:00.000000000 +0000 +++ udisks2-2.6.5/debian/patches/git_add_utab.patch 2018-02-05 15:09:05.000000000 +0000 @@ -0,0 +1,1132 @@ +From: Andrea Azzarone +Date: Mon, 5 Feb 2018 15:50:03 +0000 +Subject: Backport patch to old release + +--- + configure.ac | 12 ++ + data/org.freedesktop.UDisks2.xml | 3 + + doc/udisks2-docs.xml.in.in | 1 + + doc/udisks2-sections.txt.in.in | 21 +++ + src/Makefile.am | 8 + + src/udisksdaemon.c | 31 ++++ + src/udisksdaemon.h | 4 + + src/udisksdaemontypes.h | 10 ++ + src/udiskslinuxblock.c | 95 ++++++++++ + src/udiskslinuxfilesystem.c | 6 + + src/udiskslinuxprovider.c | 40 +++++ + src/udisksprivate.h | 9 + + src/udisksthreadedjob.c | 2 +- + src/udisksutabentry.c | 120 +++++++++++++ + src/udisksutabentry.h | 40 +++++ + src/udisksutabmonitor.c | 378 +++++++++++++++++++++++++++++++++++++++ + src/udisksutabmonitor.h | 38 ++++ + 17 files changed, 817 insertions(+), 1 deletion(-) + create mode 100644 src/udisksutabentry.c + create mode 100644 src/udisksutabentry.h + create mode 100644 src/udisksutabmonitor.c + create mode 100644 src/udisksutabmonitor.h + +diff --git a/configure.ac b/configure.ac +index 2b1f65c..d8b75ce 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -159,6 +159,17 @@ PKG_CHECK_MODULES(LIBATASMART, [libatasmart >= 0.17]) + AC_SUBST(LIBATASMART_CFLAGS) + AC_SUBST(LIBATASMART_LIBS) + ++PKG_CHECK_MODULES(LIBMOUNT, [mount >= 2.30], ++ [have_libmount=yes], ++ [have_libmount=no]) ++AM_CONDITIONAL(HAVE_LIBMOUNT, test x$have_libmount = xyes) ++if test "x$have_libmount" = "xyes"; then ++ AC_DEFINE([HAVE_LIBMOUNT], 1, [Define to 1 if libmount >= 2.30 is available]) ++fi ++AC_SUBST(HAVE_LIBMOUNT) ++AC_SUBST(LIBMOUNT_CFLAGS) ++AC_SUBST(LIBMOUNT_LIBS) ++ + PKG_CHECK_MODULES(LIBSYSTEMD_LOGIN, [libsystemd >= 209], [have_libsystemd_login=yes], + [PKG_CHECK_MODULES(LIBSYSTEMD_LOGIN, [libsystemd-login >= 44 libsystemd-daemon], + [have_libsystemd_login=yes], +@@ -616,6 +627,7 @@ echo " + use /media for mounting: ${fhs_media} + acl support: ${have_acl} + libblockdev_part support: ${have_libblockdev_part} ++ using libmount: ${have_libmount} + + compiler: ${CC} + cflags: ${CFLAGS} +diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml +index ffa9f05..e5de90f 100644 +--- a/data/org.freedesktop.UDisks2.xml ++++ b/data/org.freedesktop.UDisks2.xml +@@ -1133,6 +1133,9 @@ + --> + + ++ ++ ++ +