Hello community,

here is the log from the commit of package udisks for openSUSE:Factory checked 
in at 2012-06-28 17:03:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/udisks (Old)
 and      /work/SRC/openSUSE:Factory/.udisks.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "udisks", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/udisks/udisks.changes    2012-02-22 
19:12:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.udisks.new/udisks.changes       2012-06-28 
17:03:31.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jun 26 18:08:21 UTC 2012 - g...@opensuse.org
+
+- Added udisks-hide-lvm-raid-partitions.patch in order to hide
+  partitions marked as containing LVM and RAID. This is only useful
+  for encrypted partitions (fixes fdo#51439 and bnc#737038).
+
+-------------------------------------------------------------------

New:
----
  udisks-hide-lvm-raid-partitions.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ udisks.spec ++++++
--- /var/tmp/diff_new_pack.wvGoEA/_old  2012-06-28 17:03:32.000000000 +0200
+++ /var/tmp/diff_new_pack.wvGoEA/_new  2012-06-28 17:03:32.000000000 +0200
@@ -26,6 +26,8 @@
 Source:         http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
 # Need this one until bnc#504064 has been resolved -- mbo...@suse.de
 Source2:        umount.udisks
+# PATCH-FIX-UPSTREAM udisks-hide-lvm-raid-partitions.patch fdo#51439 
bnc#737038 g...@opensuse.org -- Hide partitions marked as containing LVM and 
RAID. This is only useful for encrypted partitions.
+Patch0:         udisks-hide-lvm-raid-partitions.patch
 Obsoletes:      DeviceKit-disks <= 009
 Provides:       DeviceKit-disks = 009
 # avahi BuildRequires is solely for directory ownerships.
@@ -68,6 +70,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export V=1

++++++ udisks-hide-lvm-raid-partitions.patch ++++++
>From 82cbbadc7ce2c7f12fa49a769fc96565bf40a350 Mon Sep 17 00:00:00 2001
From: David Zeuthen <zeut...@gmail.com>
Date: Tue, 26 Jun 2012 17:57:41 +0000
Subject: Bug 51439 – udisks should hide lvm PVs

Hide partitions marked as containing LVM and RAID. This is only useful
for encrypted partitions.

https://bugs.freedesktop.org/show_bug.cgi?id=51439

Signed-off-by: David Zeuthen <zeut...@gmail.com>
---
diff --git a/data/80-udisks.rules b/data/80-udisks.rules
index 6ac526c..d1c8c5d 100644
--- a/data/80-udisks.rules
+++ b/data/80-udisks.rules
@@ -180,20 +180,24 @@ ENV{ID_VENDOR}=="*IOMEGA*", ENV{ID_MODEL}=="*ZIP*", 
ENV{ID_DRIVE_FLOPPY_ZIP}="1"
 
 # Partitions which desktops should not display
 #
+# (note that RAID/LVM members are not normally shown in an user
+# interface so setting UDISKS__PRESENTATION_HIDE at first does not
+# seem to achieve anything. However it helps for RAID/LVM members that
+# are encrypted using LUKS. See bug #51439.)
 
 # Apple Bootstrap partitions
 ENV{UDISKS_PARTITION_SCHEME}=="apm", 
ENV{UDISKS_PARTITION_TYPE}=="Apple_Bootstrap", ENV{UDISKS_PRESENTATION_HIDE}="1"
 
-# special MBR partition types (EFI, hidden, etc.)
+# special MBR partition types (EFI, hidden, etc.) and RAID/LVM
 # see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
 ENV{UDISKS_PARTITION_SCHEME}=="mbr", \
-  
ENV{UDISKS_PARTITION_TYPE}=="0x00|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef",
 \
+  
ENV{UDISKS_PARTITION_TYPE}=="0x00|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x8e|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef|0xfd",
 \
   ENV{UDISKS_PRESENTATION_HIDE}="1"
 
 # special GUID-identified partition types
 # see http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
 ENV{UDISKS_PARTITION_SCHEME}=="gpt", \
-  
ENV{UDISKS_PARTITION_TYPE}=="C12A7328-F81F-11D2-BA4B-00A0C93EC93B|21686148-6449-6E6F-744E-656564454649",
 \
+  
ENV{UDISKS_PARTITION_TYPE}=="C12A7328-F81F-11D2-BA4B-00A0C93EC93B|21686148-6449-6E6F-744E-656564454649|A19D880F-05FC-4D3B-A006-743F0F84911E|E6D6D379-F507-44C2-A23C-238F2A3DF928",
 \
   ENV{UDISKS_PRESENTATION_HIDE}="1"
 
 # APM recovery/tool partitions which are useless on Linux
--
cgit v0.9.0.2-2-gbebe
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to