[OE-core] [PATCH] scripts: Update after addtion of parameter to bitbake -S

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 26 13:48:06 UTC 2014


Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged
index 90ad2f8..e4497e0 100755
--- a/scripts/bitbake-whatchanged
+++ b/scripts/bitbake-whatchanged
@@ -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".
diff --git a/scripts/sstate-diff-machines.sh b/scripts/sstate-diff-machines.sh
index 931f9d7..860be73 100755
--- a/scripts/sstate-diff-machines.sh
+++ b/scripts/sstate-diff-machines.sh
@@ -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'`





More information about the Openembedded-core mailing list