neil / rpms / udisks2

Forked from rpms/udisks2 a year ago
Clone
aebde2
From b9863c11601e199420a375e13505e2b795de77c5 Mon Sep 17 00:00:00 2001
aebde2
From: Frederick Grose <4335897+FGrose@users.noreply.github.com>
aebde2
Date: Tue, 9 Feb 2021 19:02:01 -0500
aebde2
Subject: [PATCH] 80-udisks2.rules: Ignore Apple boot partition from
aebde2
 livecd-tools
aebde2
aebde2
https://github.com/livecd-tools/livecd-tools/pull/176 creates a new boot
aebde2
partition with livecd-iso-to-disk from Fedora Live .iso files that UDISKS
aebde2
should ignore.
aebde2
---
aebde2
 data/80-udisks2.rules | 1 +
aebde2
 1 file changed, 1 insertion(+)
aebde2
aebde2
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
aebde2
index fb50f48a0..d6fa072fd 100644
aebde2
--- a/data/80-udisks2.rules
aebde2
+++ b/data/80-udisks2.rules
aebde2
@@ -122,6 +122,7 @@ ENV{ID_PART_ENTRY_SCHEME}=="mac", ENV{ID_PART_ENTRY_TYPE}=="Apple_Bootstrap", EN
aebde2
 
aebde2
 # Apple Boot partitions
aebde2
 ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_TYPE}=="426f6f74-0000-11aa-aa11-00306543ecac", ENV{UDISKS_IGNORE}="1"
aebde2
+ENV{ID_FS_LABEL}=="ANACONDA", ENV{ID_PART_ENTRY_TYPE}=="48465300-0000-11aa-aa11-00306543ecac|0xaf", ENV{UDISKS_IGNORE}="1"
aebde2
 
aebde2
 # special DOS partition types (EFI, hidden, etc.) and RAID/LVM
aebde2
 # see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html