neil / rpms / udisks2

Forked from rpms/udisks2 a year ago
Clone

Blame udisks-2.10.0-Ignore-Extended-Boot-Loader-GPT-partition.patch

Tomas Bzatek dd2753
From 79eed9aa35fbf1c5131b44b50b407742f68e2f61 Mon Sep 17 00:00:00 2001
Tomas Bzatek dd2753
From: Florian Ziegler <florian.ziegler@posteo.de>
Tomas Bzatek dd2753
Date: Sat, 17 Apr 2021 13:31:31 +0200
Tomas Bzatek dd2753
Subject: [PATCH 8/8] Ignore "Extended Boot Loader" GPT partition
Tomas Bzatek dd2753
Tomas Bzatek dd2753
---
Tomas Bzatek dd2753
 data/80-udisks2.rules | 6 ++++++
Tomas Bzatek dd2753
 1 file changed, 6 insertions(+)
Tomas Bzatek dd2753
Tomas Bzatek dd2753
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
Tomas Bzatek dd2753
index fb50f48a..39bfa28b 100644
Tomas Bzatek dd2753
--- a/data/80-udisks2.rules
Tomas Bzatek dd2753
+++ b/data/80-udisks2.rules
Tomas Bzatek dd2753
@@ -135,6 +135,12 @@ ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
Tomas Bzatek dd2753
   ENV{ID_PART_ENTRY_TYPE}=="c12a7328-f81f-11d2-ba4b-00a0c93ec93b|21686148-6449-6e6f-744e-656564454649|a19d880f-05fc-4d3b-a006-743f0f84911e|e6d6d379-f507-44c2-a23c-238f2a3df928|e3c9e316-0b5c-4db8-817d-f92df00215ae|de94bba4-06d1-4d40-a16a-bfd50179d6ac", \
Tomas Bzatek dd2753
   ENV{UDISKS_IGNORE}="1"
Tomas Bzatek dd2753
 
Tomas Bzatek dd2753
+# special Extended Boot Loader partition (XBOOTLDR)
Tomas Bzatek dd2753
+# see https://systemd.io/BOOT_LOADER_SPECIFICATION/
Tomas Bzatek dd2753
+ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
Tomas Bzatek dd2753
+  ENV{ID_PART_ENTRY_TYPE}=="bc13c2ff-59e6-4262-a352-b275fd6f7172", \
Tomas Bzatek dd2753
+  ENV{UDISKS_IGNORE}="1"
Tomas Bzatek dd2753
+
Tomas Bzatek dd2753
 # ZFS member partitions
Tomas Bzatek dd2753
 ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
Tomas Bzatek dd2753
   ENV{ID_FS_TYPE}=="zfs_member", ENV{ID_PART_ENTRY_TYPE}=="6a898cc3-1dd2-11b2-99a6-080020736631", \
Tomas Bzatek dd2753
-- 
Tomas Bzatek dd2753
2.30.2
Tomas Bzatek dd2753