Wind River Support Network

HomeDefectsLIN5-18735
Fixed

LIN5-18735 : prebuiltck.sh should return non-zero if prebuilt binaries checksum error

Created: May 11, 2014    Updated: Dec 19, 2017
Resolved Date: May 11, 2014
Previous ID: LIN6-7378
Found In Version: 5.0.1
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: RM/CM

Description

The prebuiltck.sh script is used to verify the checksum of prebuilt wrlinux binaries (the sstate files).
It always return zero whether the prebuilt binaries checksum passed or error.

:setup> tail -12 prebuiltck.sh 
md5sum -c $md5file 2>/dev/null | grep FAILED

if [ $? = 0 ]; then
	echo "prebuilt binaries checksum error!"
else
	echo "prebuilt binaries checksum passed."
fi

rm -rf $md5file

clean_exit 0

Steps to Reproduce

cd installdir/wrlinux-6/setup
./prebuiltck.sh

Other Downloads


Live chat
Online