Revert "eudev: sync rules with systemd"
PATCH 1/1 Revert "eudev: sync rules with systemd"
This is breaking input in qemu (and maybe more).
This reverts commit 915b99bb8faa29ce3d35c0d6a1e96fa9bcc5c6f1.
[ YOCTO #12403 ]
Signed-off-by Ross Burton <[email protected]>
--- .../eudev/0001-rules-whitelist-hd-devices.patch | 33 ---- .../udev/eudev/0002-rules-update.patch | 196 --------------------- ...les-watch-metadata-changes-in-ide-devices.patch | 43 ----- meta/recipes-core/udev/eudev_3.2.2.bb | 3 - 4 files changed, 275 deletions(-) delete mode 100644 meta/recipes-core/udev/eudev/0001-rules-whitelist-hd-devices.patch delete mode 100644 meta/recipes-core/udev/eudev/0002-rules-update.patch delete mode 100644 meta/recipes-core/udev/eudev/0003-rules-watch-metadata-changes-in-ide-devices.patch
meta/recipes-core/udev/eudev/0001-rules-whitelist-hd-devices.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 676864191d1855ce23a31026b74c7f64b15e5062 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 9 Nov 2016 19:41:13 -0800 -Subject: [PATCH 1/3] rules: whitelist hd* devices - -qemu by default emulates IDE and the linux-yocto kernel(s) use -CONFIG_IDE instead of the more modern libsata, so disks appear as -/dev/hd*. Patch rejected upstream because CONFIG_IDE is deprecated. - -Upstream-Status: Denied [https://github.com/systemd/systemd/pull/1276] - -Signed-off-by: Patrick Ohly <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - rules/60-persistent-storage.rules | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules -index 6f60ae9..bcd573a 100644 ---- a/rules/60-persistent-storage.rules -+++ b/rules/60-persistent-storage.rules -@@ -7,7 +7,7 @@ ACTION=="remove", GOTO="persistent_storage_end" - ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}=="1", GOTO="persistent_storage_end" - - SUBSYSTEM!="block", GOTO="persistent_storage_end" --KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|scm*|pmem*|nbd*", GOTO="persistent_storage_end" -+KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*|scm*|pmem*|nbd*|hd*", GOTO="persistent_storage_end" - - # ignore partitions that span the entire disk - TEST=="whole_disk", GOTO="persistent_storage_end" --- -1.8.3.1 -
meta/recipes-core/udev/eudev/0002-rules-update.patch deleted +0 -196
196 lines not on this page · raw message
meta/recipes-core/udev/eudev/0003-rules-watch-metadata-changes-in-ide-devices.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-core/udev/eudev_3.2.2.bb +0 -3
@@ -11,9 +11,6 @@ PROVIDES = "udev" SRC_URI = "http://dev.gentoo.org/~blueness/${BPN}/${BP}.tar.gz \ file://0014-Revert-rules-remove-firmware-loading-rules.patch \ file://Revert-udev-remove-userspace-firmware-loading-suppor.patch \ - file://0001-rules-whitelist-hd-devices.patch \ - file://0002-rules-update.patch \ - file://0003-rules-watch-metadata-changes-in-ide-devices.patch \ file://devfs-udev.rules \ file://init \ file://links.conf \
Signature · 1 line
2.11.0