Marcus Meissner
044bd6fcfd
- Add blkid-builtin.patch: use blkid built-in from udev (less fork, useful for dracut, please fwd for 12.2) OBS-URL: https://build.opensuse.org/request/show/129089 OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=67
14 lines
663 B
Diff
14 lines
663 B
Diff
Index: mdadm-3.2.5/udev-md-raid.rules
|
|
===================================================================
|
|
--- mdadm-3.2.5.orig/udev-md-raid.rules
|
|
+++ mdadm-3.2.5/udev-md-raid.rules
|
|
@@ -40,7 +40,7 @@ ENV{DEVTYPE}=="partition", ENV{MD_UUID}=
|
|
ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]", SYMLINK+="md/$env{MD_DEVNAME}%n"
|
|
ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]", SYMLINK+="md/$env{MD_DEVNAME}p%n"
|
|
|
|
-IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
|
|
+IMPORT{builtin}="blkid"
|
|
OPTIONS+="link_priority=100"
|
|
OPTIONS+="watch"
|
|
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
|