Skip to contentSkip to conversation

apptrk: fix the QA issue of debug symbol check

PATCH New Zhenhua Luo 1 participant 2 messages Mar 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 apptrk: fix the QA issue of debug symbol check

Fix the following error:
| ERROR: apptrk-git-r0 do_package: QA Issue: File '/usr/bin/apptrk' from | apptrk was already stripped, this will prevent future debugging! [already-stripped]

---
 recipes-bsp/apptrk/apptrk_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/apptrk/apptrk_git.bb +2 -0
index 4cbb721..6a22bf9 100644
@@ -18,3 +18,5 @@ do_install() {
         install -d ${D}/usr/bin
         oe_runmake install DESTDIR=${D}
 }
+
+INSANE_SKIP_${PN} = "already-stripped"
Signature · 1 line
2.4.3
#1 lore raw

PATCH 2/2 rename udev to eudev to align with change in poky

---
 .../eudev/skip-rules-for-mmc-rpmb-partition.patch  | 30 ++++++++++++++++
 .../{udev_182.bbappend => eudev_3.1.5.bbappend}    |  0
 .../udev/skip-rules-for-mmc-rpmb-partition.patch   | 41 ----------------------
 3 files changed, 30 insertions(+), 41 deletions(-)
 create mode 100644 recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch
 rename recipes-core/udev/{udev_182.bbappend => eudev_3.1.5.bbappend} (100%)
 delete mode 100644 recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch
recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch new file +30 -0
new file mode 100644
index 0000000..59a8edd
@@ -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 <[email protected]>
+Signed-off-by: Zhenhua Luo <[email protected]>
+
+--- ./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
recipes-core/udev/eudev_3.1.5.bbappend renamed from recipes-core/udev/udev_182.bbappend +0 -0
similarity index 100%
rename from recipes-core/udev/udev_182.bbappend
rename to recipes-core/udev/eudev_3.1.5.bbappend
recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch deleted +0 -41

41 lines not on this page · raw message

Signature · 1 line
2.4.3