Wind River Support Network

HomeDefectsLIN6-7371
Fixed

LIN6-7371 : prebuiltck.sh should return non-zero if prebuilt binaries checksum error

Created: May 8, 2014    Updated: Dec 3, 2018
Resolved Date: May 11, 2014
Found In Version: 6.0.0.6
Fix Version: 6.0.0.7
Severity: Standard
Applicable for: Wind River Linux 6
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