Accepting request 445047 from home:dimstar:Factory

- Update to version 2.1.8:
  + Allow NTFS mount option "big_writes".
  + Don't coldplug uninitilized udev devices.
  + Detect old (non-Pro) MemoryStick cards.
  + Lock the partition table while creating a new partition.
  + exfat: Drop umask=0077 default.
  + udisks2.service: Add KillSignal=SIGINT.
  + btrfs: Add support for changing label.
  + Updated translations.
- Replace pkgconfig(libsystemd-login) BuildRequires with
  pkgconfig(libsystemd): the two have been merged since
  systemd 209.
- Drop udisks2-Reread-partition-table-before-wiping.patch: fixed
  upstream.

OBS-URL: https://build.opensuse.org/request/show/445047
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=54
This commit is contained in:
Bjørn Lie 2016-12-09 12:42:22 +00:00 committed by Git OBS Bridge
parent 6bbd3cae55
commit 6d7a3ab940
7 changed files with 39 additions and 70 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abae2bb3bdc691ca13c1e4c244630b8c881c4f3b35c207299f1b39b7bec83785
size 920042

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABCAAGBQJW1V/AAAoJENFO8V2v4RNH6dsQAImfp8BzQmmRUGM8yb4whAqo
0JvJMdpCRKN3Z9baQUo+NBKgFywFXC4hDJAyIR7WFD1Je3O87/awZD0P533weVB0
WIP/RniXMJ8bkQNDfL5s1jJLW+yPfw/9oTgXao8svjgvEUEVErKPCrVcbha6YeRk
sYAIOgcA6A9xYIKc6+ucL9jeh3QqZBnEROMs+6PTytrIA9+ic1XtftrgWvFYmGjp
ISnayAzgDXZW+S8fxPmM/UWDyf7572odX90CEa76uOD5ueEB02pvUYL8+TCk/ip/
7ZvXwv70B0DWgbTDFf8wmgm4y64Aib3z1a+kx86EPXD7B9zXjyx1Jw62dztqpl/N
es+TX1OxPx3IPqoAciV8dlEfKU/UTA2mBGe32zF3+K8MpC6AM6dCrc81UQ2fyw6U
WaUQv3fdtSDPEbRdcCzeeSNyL+BSIZOfY5wW6cL76kQre817Mce5pG7boamp6NCs
TGISX+ppbS9eCJfaXLhr3Yq/2VN9knw3pmn550ICjOtKlsMDFVv5NskWxQgK9ZXs
l3LG1jAv8hGvhk6fNPKguZPbShLXL6x85b7hx6zESW+neO8d5EzBeCt67FrLzIvx
o/qqe4z7T2U+0Z0pgtUI51JyPueN7fmzaCqLyKlsjBkxIw66o1vTxPqDgDlVOo5E
jN2gRAq2qSlRKumah2ic
=O5PP
-----END PGP SIGNATURE-----

3
udisks-2.1.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da416914812a77e5f4d82b81deb8c25799fd3228d27d52f7bf89a501b1857dda
size 931110

16
udisks-2.1.8.tar.bz2.sign Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIcBAABCAAGBQJYOAllAAoJENFO8V2v4RNH/3EP/RwaqcxnHDN2bID0D+xMd4d1
30G4mkowOu2pR5iJfViu8qopNqZSjOlMkyUOgXpgCqbaNjaXp62CEqf9lNYdq1zk
EG6f5H3Ypt6nxXdBnCwDngwJLgIUmrruoLwSMH4XYxEuP4ZQNrQ/uzpMWwL1BpnA
cLBAhOynTSEi0+QMrDgrG8GKJ2DV65p/oq+fcntn/BdvtBunf3kC0rHv8IZO6pFA
7kEiYDBw+VLJEqvIIfIGGJR814oVTPkWrwTyb++YavcfqehZKpbDSAGzpQ3sYR67
JCY++btlqTw9eaaiASjzd1mhr4xR+3vpICyDHt35CDrFvv5RrNvlnbLAYcqxJK4X
8ctb9iPOxQPI7y2V+LP+tvRi8wWVgOi4/8h11Ew2vjmeemTDZzBHVNvLNZdFvsfB
hVgTdqYOSDMkgpMCdjTLZex9FuurSYXi0Z0gX9oUzEDO2wlnqyUTeqcJfza1kECF
ArfwFEwAl61uDDMyWTC0kO9JWhq+tucpk4hYUI2D1Y1ChuooSmuDc3sUg3zq+3Io
Ucpq+c5Rn1jB18VLyALyx6mvWX5TCxiuRGEM+Od9dK0H+2ZiRLCXGVGfyt6xCFXY
EnJhEpr2R6a4liGXh9GrXANhhMBteHC3mp9V1M/f499i5Z+rvDmDRmJhS4ztvfaP
aehTb4/DzfZbgo49TPrG
=lpHN
-----END PGP SIGNATURE-----

View File

@ -1,45 +0,0 @@
From 5c859c99dfcd362599eb497760231e7aa816c070 Mon Sep 17 00:00:00 2001
From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Date: Mon, 4 Apr 2016 11:35:03 +0200
Subject: Reread partition table before wiping when creating new partitions
https://bugs.freedesktop.org/show_bug.cgi?id=85477
https://bugs.debian.org/767457
https://launchpad.net/bugs/1460602
diff --git a/src/udiskslinuxpartitiontable.c b/src/udiskslinuxpartitiontable.c
index 2692b31..7870ca8 100644
--- a/src/udiskslinuxpartitiontable.c
+++ b/src/udiskslinuxpartitiontable.c
@@ -343,6 +343,7 @@ handle_create_partition (UDisksPartitionTable *table,
uid_t caller_uid;
gid_t caller_gid;
gboolean do_wipe = TRUE;
+ gboolean was_partitioned = FALSE;
GError *error;
error = NULL;
@@ -589,6 +590,10 @@ handle_create_partition (UDisksPartitionTable *table,
/* this is sometimes needed because parted(8) does not generate the uevent itself */
udisks_linux_block_object_trigger_uevent (UDISKS_LINUX_BLOCK_OBJECT (object));
+ was_partitioned = (udisks_object_peek_partition_table (object) != NULL);
+ if (was_partitioned)
+ udisks_linux_block_object_reread_partition_table (UDISKS_LINUX_BLOCK_OBJECT (object));
+
/* sit and wait for the partition to show up */
g_warn_if_fail (wait_data->pos_to_wait_for > 0);
wait_data->partition_table_object = object;
@@ -644,6 +649,8 @@ handle_create_partition (UDisksPartitionTable *table,
/* this is sometimes needed because parted(8) does not generate the uevent itself */
udisks_linux_block_object_trigger_uevent (UDISKS_LINUX_BLOCK_OBJECT (partition_object));
+ if (was_partitioned)
+ udisks_linux_block_object_reread_partition_table (UDISKS_LINUX_BLOCK_OBJECT (object));
udisks_partition_table_complete_create_partition (table,
invocation,
--
cgit v0.10.2

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Dec 9 09:44:18 UTC 2016 - dimstar@opensuse.org
- Update to version 2.1.8:
+ Allow NTFS mount option "big_writes".
+ Don't coldplug uninitilized udev devices.
+ Detect old (non-Pro) MemoryStick cards.
+ Lock the partition table while creating a new partition.
+ exfat: Drop umask=0077 default.
+ udisks2.service: Add KillSignal=SIGINT.
+ btrfs: Add support for changing label.
+ Updated translations.
- Replace pkgconfig(libsystemd-login) BuildRequires with
pkgconfig(libsystemd): the two have been merged since
systemd 209.
- Drop udisks2-Reread-partition-table-before-wiping.patch: fixed
upstream.
-------------------------------------------------------------------
Fri Apr 15 14:43:34 UTC 2016 - zaitor@opensuse.org

View File

@ -18,7 +18,7 @@
%define _name udisks
Name: udisks2
Version: 2.1.7
Version: 2.1.8
Release: 0
Summary: Disk Management Service, version 2
License: GPL-2.0+
@ -27,8 +27,6 @@ Url: http://freedesktop.org/wiki/Software/udisks
Source: http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2
Source1: http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2.sign
Source2: %{name}.keyring
# PATCH-FIX-UPSTREAM udisks2-Reread-partition-table-before-wiping.patch fdo#85477 zaitor@opensuse.org -- Reread partition table before wiping when creating new partitions
Patch0: udisks2-Reread-partition-table-before-wiping.patch
# Needed to build the man pages.
BuildRequires: docbook-xsl-stylesheets
BuildRequires: intltool
@ -40,7 +38,7 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.36
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gudev-1.0) >= 165
BuildRequires: pkgconfig(libatasmart) >= 0.17
BuildRequires: pkgconfig(libsystemd-login) >= 44
BuildRequires: pkgconfig(libsystemd) >= 209
BuildRequires: pkgconfig(polkit-agent-1) >= 0.102
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.102
BuildRequires: pkgconfig(systemd)
@ -94,7 +92,6 @@ for managing disks and storage devices.
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%build
export V=1