Wind River Support Network

HomeDefectsLIN6-8571
Fixed

LIN6-8571 : rcpl-cl.sh can't print all patches in RCPL

Created: Oct 16, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 16, 2014
Previous ID: LIN4-31835
Found In Version: 6.0
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

customer found there is a patch '/layers/updates/RCPL-4.3-WRL.0026/wrll-userspace/graphics/poky/patch_history/0437-Security-Advisory-libpng-CVE-2013-6954.patch' in RCPL 26 and from the content of the patch, we know it is from defect 'LIN4-30962'. but './rcpl-cl.sh all' can't print all the patch and the defect,

Workaround

diff --git a/rcpl-cl.sh.old b/rcpl-cl.sh
index ece468c..2b6a299 100755
--- a/rcpl-cl.sh.old
+++ b/rcpl-cl.sh
@@ -83,7 +83,7 @@ filter_and_display () {
        # Filter
 
        if [ -n "$filter_defect" ] ; then
-               if [ -n "`echo "$patch_defect" | grep $filter_defect`" ] ; then
+               if [ -n "`echo "$patch_defect" | grep -E $filter_defect`" ] ; then
                        is_display=1
                fi
        fi
@@ -645,7 +645,7 @@ fi
 
 # support 'all' filter value
 if [ "all" = "$filter_defect" ] ; then
-       filter_defect="WIND"
+       filter_defect="WIND|LIN"
 fi
 if [ "all" = "$filter_keywords" ] ; then
        filter_keywords="."

Steps to Reproduce

1. rcpl-cl.sh all > rcpl-patches.txt
2. serch 'LIN4-30962' in rcpl-patches.txt

Other Downloads


Live chat
Online