summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch b/meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch
index 738f8eb7b6..f9c5996ffb 100644
--- a/meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch
+++ b/meta/recipes-core/systemd/systemd/0004-rules-whitelist-hd-devices.patch
@@ -13,23 +13,22 @@ Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14[rebased for systemd 241] 14[rebased for systemd 241]
15Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 15Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
16[rebased for systemd 243]
17Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16--- 18---
17 rules/60-persistent-storage.rules | 2 +- 19 rules/60-persistent-storage.rules | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
19 21
20diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules 22diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
21index 1d8880e..e53c8ea 100644 23index 7802b1c94f..c0534ae26a 100644
22--- a/rules/60-persistent-storage.rules 24--- a/rules/60-persistent-storage.rules
23+++ b/rules/60-persistent-storage.rules 25+++ b/rules/60-persistent-storage.rules
24@@ -7,7 +7,7 @@ ACTION=="remove", GOTO="persistent_storage_end" 26@@ -7,7 +7,7 @@ ACTION=="remove", GOTO="persistent_storage_end"
25 ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", GOTO="persistent_storage_end" 27 ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", GOTO="persistent_storage_end"
26 28
27 SUBSYSTEM!="block", GOTO="persistent_storage_end" 29 SUBSYSTEM!="block", GOTO="persistent_storage_end"
28-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|scm*|pmem*|nbd*|zd*", GOTO="persistent_storage_end" 30-KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|ubi*|scm*|pmem*|nbd*|zd*", GOTO="persistent_storage_end"
29+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|scm*|pmem*|nbd*|zd*|hd*", GOTO="persistent_storage_end" 31+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|ubi*|scm*|pmem*|nbd*|zd*|hd*", GOTO="persistent_storage_end"
30 32
31 # ignore partitions that span the entire disk 33 # ignore partitions that span the entire disk
32 TEST=="whole_disk", GOTO="persistent_storage_end" 34 TEST=="whole_disk", GOTO="persistent_storage_end"
33--
342.7.4
35