blob: 1ec79f457638f4e42eb458ec6b2729a266d4c212 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# signlibs.sh
#
# (c)2010 Wind River Systems, Inc.
#
# regenerates the .chk files for the NSS libraries that require it
# since the ones that are built have incorrect checksums that were
# calculated on the host where they really need to be done on the
# target
CHK_FILES=`find /lib* /usr/lib* -name "*.chk"`
SIGN_BINARY=`which shlibsign`
for I in $CHK_FILES
do
DN=`dirname $I`
BN=`basename $I .chk`
FN=$DN/$BN.so
$SIGN_BINARY -i $FN
done
|