From 2642cf5e8a6f8d11603acf016b8c075ebce00ec0 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Wed, 2 Mar 2016 11:49:37 +0800 Subject: rename udev to eudev to align with change in poky Signed-off-by: Zhenhua Luo --- .../eudev/skip-rules-for-mmc-rpmb-partition.patch | 30 ++++++++++++++++ recipes-core/udev/eudev_3.1.5.bbappend | 6 ++++ .../udev/skip-rules-for-mmc-rpmb-partition.patch | 41 ---------------------- recipes-core/udev/udev_182.bbappend | 6 ---- 4 files changed, 36 insertions(+), 47 deletions(-) create mode 100644 recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch create mode 100644 recipes-core/udev/eudev_3.1.5.bbappend delete mode 100644 recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch delete mode 100644 recipes-core/udev/udev_182.bbappend diff --git a/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch b/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch new file mode 100644 index 0000000..59a8edd --- /dev/null +++ b/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch @@ -0,0 +1,30 @@ +skip rules for mmc rpmb partition + +Upstream-status: Pending + +In FSL SDK 1.6 Kernel, mmc driver has created a new partition +with "mmcblkXrpmb" if device expresses it support of RPMB. + +RPMB (Replay Protected Memory Block), A signed access to a Replay +Protected Memory Block is provided. This function provides means +for the system to store data to the specific memory area in an +authenticated and replay protected manner. + +In that case, any read/write access to this partition device will +report errors which will not impact any fuction. + +add rules to skip it. + +Signed-off-by: Ting Liu +Signed-off-by: Zhenhua Luo + +--- ./rules/60-persistent-storage.rules.orig 2016-03-01 21:07:13.304170363 -0600 ++++ ./rules/60-persistent-storage.rules 2016-03-01 21:07:32.784169668 -0600 +@@ -6,6 +6,7 @@ + ACTION=="remove", GOTO="persistent_storage_end" + + SUBSYSTEM!="block", GOTO="persistent_storage_end" ++KERNEL=="mmcblk*rpmb", GOTO="persistent_storage_end" + KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*", GOTO="persistent_storage_end" + + # ignore partitions that span the entire disk diff --git a/recipes-core/udev/eudev_3.1.5.bbappend b/recipes-core/udev/eudev_3.1.5.bbappend new file mode 100644 index 0000000..4eedfd8 --- /dev/null +++ b/recipes-core/udev/eudev_3.1.5.bbappend @@ -0,0 +1,6 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" + +SRC_URI_append_qoriq-ppc = " \ + file://skip-rules-for-mmc-rpmb-partition.patch \ +" + diff --git a/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch b/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch deleted file mode 100644 index edbc0b3..0000000 --- a/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 68a780f4cbba18c01d8409faafb1f7904afa86a9 Mon Sep 17 00:00:00 2001 -From: Ting Liu -Date: Thu, 31 Jul 2014 16:12:32 +0800 -Subject: [PATCH] skip rules for mmc rpmb partition - -Upstream-status: Pending - -In FSL SDK 1.6 Kernel, mmc driver has created a new partition -with "mmcblkXrpmb" if device expresses it support of RPMB. - -RPMB (Replay Protected Memory Block), A signed access to a Replay -Protected Memory Block is provided. This function provides means -for the system to store data to the specific memory area in an -authenticated and replay protected manner. - -In that case, any read/write access to this partition device will -report errors which will not impact any fuction. - -add rules to skip it. - -Signed-off-by: Ting Liu ---- - 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 fa687f2..bb3f8f9 100644 ---- a/rules/60-persistent-storage.rules -+++ b/rules/60-persistent-storage.rules -@@ -14,7 +14,7 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_ - SUBSYSTEM!="block", GOTO="persistent_storage_end" - - # skip rules for inappropriate block devices --KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end" -+KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*|mmcblk*rpmb", GOTO="persistent_storage_end" - - # ignore partitions that span the entire disk - TEST=="whole_disk", GOTO="persistent_storage_end" --- -1.8.3.2 - diff --git a/recipes-core/udev/udev_182.bbappend b/recipes-core/udev/udev_182.bbappend deleted file mode 100644 index 4eedfd8..0000000 --- a/recipes-core/udev/udev_182.bbappend +++ /dev/null @@ -1,6 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" - -SRC_URI_append_qoriq-ppc = " \ - file://skip-rules-for-mmc-rpmb-partition.patch \ -" - -- cgit v1.2.3-54-g00ecf