mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
sstate-diff-machines.sh: Replace MACHINE_ARCH only at the beginning and separated with dash
* 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 (From OE-Core rev: d75c28fc0b4b16eb75e9c68d9d6224a0d782607e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5e8674104c
commit
3af875b26b
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user