aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-03-31 17:22:36 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2018-02-12 10:20:05 +0000
commit97cc8942bde079f71f759370561b55ae2b8a0a36 (patch)
treeb9a3788e1ad3c6be00f43d665a0573a72bab9354
parent044b13e6db4a1cdd722ce7bae99b19bb048a0d82 (diff)
downloadopenembedded-core-contrib-jansa/pyro.zip
openembedded-core-contrib-jansa/pyro.tar.gz
openembedded-core-contrib-jansa/pyro.tar.bz2
sstate-diff-machines.sh: Replace MACHINE_ARCH only at the beginning and separated with dashjansa/pyro
* I had some components where the MACHINE name was also included in PV of allarch recipe which was tripping the script into saying that they have different signatures (because for one MACHINE was the string in PV replaced with 'MACHINE' and not for other MACHINEs Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rwxr-xr-xscripts/sstate-diff-machines.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sstate-diff-machines.sh b/scripts/sstate-diff-machines.sh
index 056aa0a..27c6a33 100755
--- a/scripts/sstate-diff-machines.sh
+++ b/scripts/sstate-diff-machines.sh
@@ -118,7 +118,7 @@ for M in ${machines}; do
cp -ra ${tmpdir}/stamps/* ${OUTPUT}/${M}
find ${OUTPUT}/${M} -name \*sigdata\* | sed "s#${OUTPUT}/${M}/##g" | sort > ${OUTPUT}/${M}/list
M_UNDERSCORE=`echo ${M} | sed 's/-/_/g'`
- sed "s/${M_UNDERSCORE}/MACHINE/g; s/${M}/MACHINE/g" ${OUTPUT}/${M}/list | sort > ${OUTPUT}/${M}/list.M
+ sed "s/^${M_UNDERSCORE}-/MACHINE/g" ${OUTPUT}/${M}/list | sort > ${OUTPUT}/${M}/list.M
find ${tmpdir}/stamps/ -name \*sigdata\* | xargs rm -f
else
printf "ERROR: no sigdata files were generated for MACHINE $M in ${tmpdir}/stamps\n";