[meta-freescale] [meta-freescale-layer master][PATCH] udev: remove eudev_%.bbappend and associated patch since it's no longer required

Bob Cochran yocto at mindchasers.com
Wed Mar 15 13:15:32 PDT 2017


Commit d2313434 already exists in eudev to prevent udev from managing an MMC Replay-protected memory block (RPMB)

Testing of an LS1021A-TWR & eMMC 4.51 with master branches of poky and meta-freescale minus the patch to 60-persistent-storage.rules confirmed that udev ignores mmcblk0rpmb on boot.

referenced upstream patch: https://github.com/gentoo/eudev/commit/d2313434acc1cf5387637e72f76c2ebe36d523e1

Signed-off-by: Bob Cochran <yocto at mindchasers.com>
---
 .../eudev/skip-rules-for-mmc-rpmb-partition.patch  | 30 ----------------------
 recipes-core/udev/eudev_%.bbappend                 |  6 -----
 2 files changed, 36 deletions(-)
 delete mode 100644 recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch
 delete mode 100644 recipes-core/udev/eudev_%.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
deleted file mode 100644
index 59a8edd..0000000
--- a/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-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 <ting.liu at nxp.com>
-Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
-
---- ./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_%.bbappend b/recipes-core/udev/eudev_%.bbappend
deleted file mode 100644
index 4eedfd8..0000000
--- a/recipes-core/udev/eudev_%.bbappend
+++ /dev/null
@@ -1,6 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
-
-SRC_URI_append_qoriq-ppc = " \
-    file://skip-rules-for-mmc-rpmb-partition.patch \
-"
-
-- 
2.7.4



More information about the meta-freescale mailing list