mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
scripts: Update after addtion of parameter to bitbake -S
(From OE-Core rev: fe2692c1ad1fcdbcdbc0ba419db8ff9ddb390fa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -272,7 +272,7 @@ Note:
|
||||
try:
|
||||
# Generate the new stamps dir
|
||||
print("Generating the new stamps ... (need several minutes)")
|
||||
cmdline = "STAMPS_DIR=%s bitbake -S %s" % (new_stampsdir, recipe)
|
||||
cmdline = "STAMPS_DIR=%s bitbake -S none %s" % (new_stampsdir, recipe)
|
||||
# FIXME
|
||||
# The "bitbake -S" may fail, not fatal error, the stamps will still
|
||||
# be generated, this might be a bug of "bitbake -S".
|
||||
|
||||
@@ -98,7 +98,7 @@ OUTPUT=${tmpdir}/sstate-diff/`date "+%s"`
|
||||
for M in ${machines}; do
|
||||
find ${tmpdir}/stamps/ -name \*sigdata\* | xargs rm -f
|
||||
mkdir -p ${OUTPUT}/${M}
|
||||
export MACHINE=${M}; bitbake -S ${targets} | tee -a ${OUTPUT}/${M}/log;
|
||||
export MACHINE=${M}; bitbake -S none ${targets} | tee -a ${OUTPUT}/${M}/log;
|
||||
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'`
|
||||
|
||||
Reference in New Issue
Block a user